Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
SUMIF
hello,
i want make sum, if A_col=CAT B_col=RAT A_col B_col C_col CAT RAT 200 APPEL MILK 100 Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
SUMIF
Hi
Don't quite know why this is in programming, but here goes: =SUMPRODUCT((A2:A50="CAT")*(B2:B50="RAT")*(C2:C50) ) Hope this helps. Andy. "Tufail" wrote in message ... hello, i want make sum, if A_col=CAT B_col=RAT A_col B_col C_col CAT RAT 200 APPEL MILK 100 Thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
SUMIF
"Tufail" wrote in message
... hello, i want make sum, if A_col=CAT B_col=RAT A_col B_col C_col CAT RAT 200 APPEL MILK 100 Thanks Use =SUMPRODUCT for multi-criteria. See http://www.xldynamic.com/source/xld.SUMPRODUCT.html. Your formula will be something like =SUMPRODUCT((A_col="CAT")*(B_col="RAT")*C_col) where A_col, B_col etc are range names for the data ranges in cols A, B etc. They can be the entire column, if you want. However, these column ranges MUST refer to the same rows, otherwise SUMPRODUCT will throw up an error. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
SUMIF
yes now working, really thank you very much.
"Andy" wrote: Hi Don't quite know why this is in programming, but here goes: =SUMPRODUCT((A2:A50="CAT")*(B2:B50="RAT")*(C2:C50) ) Hope this helps. Andy. "Tufail" wrote in message ... hello, i want make sum, if A_col=CAT B_col=RAT A_col B_col C_col CAT RAT 200 APPEL MILK 100 Thanks |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
SUMIF
Hi Tufail
Try this, please. =SUMPRODUCT((A2:A7="Cat")*(B2:B7="Rat")*(C2:C7)) -- Best Regards Joergen Bondesen "Tufail" wrote in message ... hello, i want make sum, if A_col=CAT B_col=RAT A_col B_col C_col CAT RAT 200 APPEL MILK 100 Thanks |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
SUMIF
Thanks for the feedback!
Andy. "Tufail" wrote in message ... yes now working, really thank you very much. "Andy" wrote: Hi Don't quite know why this is in programming, but here goes: =SUMPRODUCT((A2:A50="CAT")*(B2:B50="RAT")*(C2:C50) ) Hope this helps. Andy. "Tufail" wrote in message ... hello, i want make sum, if A_col=CAT B_col=RAT A_col B_col C_col CAT RAT 200 APPEL MILK 100 Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" | Excel Worksheet Functions | |||
SUMIF ? | Excel Worksheet Functions | |||
Embedding a Sumif in a sumif | Excel Worksheet Functions | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |