#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 68
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
Conditional Rank (or rather, Conditional Range) [email protected] Excel Worksheet Functions 6 April 16th 07 06:15 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


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

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

About Us

"It's about Microsoft Excel"