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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|