Forum Discussion
sterndavies
Mar 18, 2021Copper Contributor
COUNTIF Not Working
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 ...
- Mar 18, 2021
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
tauqeeracma
Mar 18, 2021Iron Contributor
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
- sterndaviesMar 18, 2021Copper ContributorHello
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?- tauqeeracmaMar 18, 2021Iron Contributor
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
- sterndaviesMar 18, 2021Copper ContributorThanks so much