• 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.

Countif function for names

Countif


  • Total voters
    1

vamsi

New Member
Hi,
Kindly help me with the countif function where I am using Count if for calculating the country name and the count of status as Open, Close, Ongoing.
I am using two countif function for getting the count however it is showing negative number.

Attached is the test case.

Regards,
Vamsi
 

Attachments

Hi,
Another option:
=SUMPRODUCT(($A$11:$A$16=B$2)*($B$11:$B$16=$A3))

you need to make status entries = site entries
e.g: "Close" in both

Regards,
 
Just scooted through the responses given above...just want to highlight that you should always choose countifs over sumproduct....countifs or sumifs are faster compared to sumproduct...
 
countif does not work here, you need to use =COUNTIFS(...

like this

=COUNTIFS($A$11:$A$16, B$2, $B$11:$B$16, $A$3)

also check the file from Gangadhar,
 
also you have put the same formula "countif" for vote above,

i think you are trying to put Countif and Countifs, any way hope you found your answer here
 
Back
Top