M MARI Mar 22, 2004 #1 I need to have multiple condition for countif function, similar to sum wizard. is there any way to do this? thanks
I need to have multiple condition for countif function, similar to sum wizard. is there any way to do this? thanks
F Frank Kabel Mar 22, 2004 #2 Hi try (if you want to check column A and B for a condition) =SUMPRODUCT((A1:A100="cond_1")*(B1:B100="cond_2"))
Hi try (if you want to check column A and B for a condition) =SUMPRODUCT((A1:A100="cond_1")*(B1:B100="cond_2"))
A Aladin Akyurek Mar 22, 2004 #3 You need something different for multiconditional counting. For example: =SUMPRODUCT(--($A$2:$A$10="X"),--($B$2:$B$10="Y")) gives a count of co-occurrences of X and Y.
You need something different for multiconditional counting. For example: =SUMPRODUCT(--($A$2:$A$10="X"),--($B$2:$B$10="Y")) gives a count of co-occurrences of X and Y.
G Guest Mar 22, 2004 #4 HEY, worked GREAT! I seem to be able to do it for more than 2 conditions, too--YOU'VE MADE MY DAY! Thanks so much, you are awsome!
HEY, worked GREAT! I seem to be able to do it for more than 2 conditions, too--YOU'VE MADE MY DAY! Thanks so much, you are awsome!
G Guest Mar 22, 2004 #5 Frank, Thank you so much for responding so fast. Unfortunately, I can not figure it out. It is not working for me, but luckily another reply seems to work for me. Thanks again! mari
Frank, Thank you so much for responding so fast. Unfortunately, I can not figure it out. It is not working for me, but luckily another reply seems to work for me. Thanks again! mari