SOLVED

COUNTIF Not Working

Copper Contributor

If anyone could help me i'd appreciate it so much.  For whatever reason, this formula is not picking up the "number" formatted numbers in the column with this spreadsheet.  The formula is suppose to tell how many have the "1" and "2" value in the column.  However, it's showing 0 for both but there should be values being picked up.

 

Thank you!

5 Replies

Hi 

 

All of the data in column B has decimal places wheras you are comparing rounded numbers that is why no data is being picked up.

You may use '>' or '<' sign as per your requirement. for example 

=COUNTIF(B2:B65,">=2")

 

Thanks

Tauqeer

Hello

If i do >= this will count everything higher than 2 as well which is not what i am looking for. I am looking for a function that will count everything that is =2 or =1 only if that makes sense.

is there a way to do countif >= .5 and <=1.49 as one formula? Since the rounded numbers aren't being picked up?
best response confirmed by sterndavies (Copper Contributor)
Solution

Instead of countif() you may use countifs() function that allows to give multiple creteria as mentions below:

 

=COUNTIFS(D6:D15,">.5",D6:D15,"<1.49")

 

Thanks

Thanks so much
Your're welcome
1 best response

Accepted Solutions
best response confirmed by sterndavies (Copper Contributor)
Solution

Instead of countif() you may use countifs() function that allows to give multiple creteria as mentions below:

 

=COUNTIFS(D6:D15,">.5",D6:D15,"<1.49")

 

Thanks

View solution in original post