Kutty Member Dec 7, 2015 #1 Hai Friends! How to use count formula in different range and different criteria?
chirayu Well-Known Member Dec 7, 2015 #2 attached sample Attachments SAMPLE.xlsx SAMPLE.xlsx 11.2 KB · Views: 5
Khalid NGO Excel Ninja Dec 7, 2015 #3 Hi, @chirayu I think OP don't want to count if corresponding value is blank. this will work: =COUNTIFS($A$2:$A$22,D2,$B$2:$B$22,">"&0) or this {array} =SUM(SIGN(IF($A$2:$A$22=D2,$B$2:$B$22))) with CSE Regards,
Hi, @chirayu I think OP don't want to count if corresponding value is blank. this will work: =COUNTIFS($A$2:$A$22,D2,$B$2:$B$22,">"&0) or this {array} =SUM(SIGN(IF($A$2:$A$22=D2,$B$2:$B$22))) with CSE Regards,
Kutty Member Dec 7, 2015 #6 some excel files have only one criteria_range and some other excel file have more than one criteria_range. so I confused instead of that ...
some excel files have only one criteria_range and some other excel file have more than one criteria_range. so I confused instead of that ...
Khalid NGO Excel Ninja Dec 7, 2015 #7 Kutty said: some excel files have only one criteria_range and some other excel file have more than one criteria_range. so I confused instead of that ... View attachment 24831 Click to expand... Hi, Unnecessary confusion here. Just type =COUNTIFS( now press and hold Comma "," you will see the difference. criteria_range and criteria are separated by Comma. Regards,
Kutty said: some excel files have only one criteria_range and some other excel file have more than one criteria_range. so I confused instead of that ... View attachment 24831 Click to expand... Hi, Unnecessary confusion here. Just type =COUNTIFS( now press and hold Comma "," you will see the difference. criteria_range and criteria are separated by Comma. Regards,