A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditional Sum?



 
 
Thread Tools Display Modes
  #1  
Old September 23rd, 2008, 09:16 PM posted to microsoft.public.excel.worksheet.functions
PaulinaDi
external usenet poster
 
Posts: 49
Default Conditional Sum?

I have a spreadsheet with different columns regarding all the invoices a
certain supplier has given to my company.
I have 15 columns and 3 of them are the ones I am trying to use to get a
specific SUM Total with different criteria.
One column contains the total amount of each invoice named MONTO. The second
column contanis the discount used for that invoice named DESC and the third
one contains the currency used for each invoice named MONEDA.
I have info from A12 to C400 and I want to get all those invoices that are
more than 0.00 pesos (as I have negative data), that has 2% on the DESC
column and has the MXN option on the MONEDA column.
What formula should I use? I have been trying the SUMIF, IF, AND and the
combination of them and I haven't get anything.
  #2  
Old September 23rd, 2008, 09:25 PM posted to microsoft.public.excel.worksheet.functions
Bob Umlas[_2_]
external usenet poster
 
Posts: 56
Default Conditional Sum?

If your pesos are in A, DESC is in B, and names are in C:
=SUMPRODUCT(N(A2:A4000),N(B2:B400=.02),N(C2:C400= "MONEDA"),A2:A400)
will add the pesos meeting the condition.
HTH
Bob Umlas
Excel MVP

"PaulinaDi" wrote in message
...
I have a spreadsheet with different columns regarding all the invoices a
certain supplier has given to my company.
I have 15 columns and 3 of them are the ones I am trying to use to get a
specific SUM Total with different criteria.
One column contains the total amount of each invoice named MONTO. The
second
column contanis the discount used for that invoice named DESC and the
third
one contains the currency used for each invoice named MONEDA.
I have info from A12 to C400 and I want to get all those invoices that are
more than 0.00 pesos (as I have negative data), that has 2% on the DESC
column and has the MXN option on the MONEDA column.
What formula should I use? I have been trying the SUMIF, IF, AND and the
combination of them and I haven't get anything.



  #3  
Old September 23rd, 2008, 09:57 PM posted to microsoft.public.excel.worksheet.functions
PaulinaDi
external usenet poster
 
Posts: 49
Default Conditional Sum?

Bob:

You are a genious. I just really want to thank you this very very fast
answer. It was just what I needed. WOW! I had been looking the correct
formula for more than 2 hours and now I've got it. Very thanks.

I just have a question in order to understand it: what does the "N" makes
with the values?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:54 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.