• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to use Count formula?

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,
 
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 ...
Count.png
 
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
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,
 
Back
Top