Hide Zeros
I have the following formula... =COUNTIF([Mar 31 @ 7:10]@row:[HOU 3 Sun]@row, ="1")
When the result is zero, I want the cell to be blank. How do I do it?
Answers

Hey @Terry L
IF(COUNTIF([Mar 31 @ 7:10]@row:[HOU 3 Sun]@row, 1)>0, COUNTIF([Mar 31 @ 7:10]@row:[HOU 3 Sun]@row, 1))
Please note that enclosing numbers in quotes can sometimes cause the numbers to behave as text and not numerical values.
Does the formula work for you?
Kelly

Thanks Kelly, I guess I used a bad example for a formula. In that one the number has to be exactly 1, none other.
To clarify, Here is another formula. =COUNTIF([Mar 31 @ 7:10]4:[HOU 3 Sun]4, ="Area 3")
I only wish that the result., when zero, is blank.
Sorry to admit, I'm not clear enough. Don't really know how to be clear.

Did you try the first formula, or try the approach on the formula just posted? You are asking for an IF statement.
Kelly

The first formla didn't work. It was the wrong example for the question I am asking.
Sorry

=IF(COUNTIF([Mar 31 @ 7:10]4:[HOU 3 Sun]4, ="Area 3")>0, COUNTIF([Mar 31 @ 7:10]4:[HOU 3 Sun]4, ="Area 3"))

Yes, that works. I'm just not bright enough yet to know why.
Thanks for you guidance.

Hey Terry
The IF says if the Count is greater than zero, then return whatever the count formula says. If the count is not greater than zero, the IF formula will do nothing, which leaves the cell blank.
cheers!
Kelly

Many thanks. Best wishes to you!!
Help Article Resources
Categories
Check out the Formula Handbook template!