Are multiple COUNTIFs possible?
Posted by Wayne on March 17, 2001 11:16 PM
Is it possible to compair two (or more) ranges and if both cell values are true then perform a count (not a sum)? This is a simplified version of what I want to do. If range A1:A9 is "red" while the same row number in range B1:B9 is "blu" then perform a count. The answer here should be 3. I've been trying COUNTIFs, SUMIFS and IF(ANDs but I havn't gotten this to work. I've even tried the CSE (Ctrl-Shift-Enter) but I'm not sure if I've tried all the combinations yet.
A B
1 red blu
2 grn red
3 blu grn
4 red blu
5 grn red
6 blu grn
7 red blu
8 grn red
9 blu grn