is there an easier way to format a cell to read blank if value is 0?
i have a large report with many countifs to calculated data over time. I want to change it so that instead of displaying the 0 when the formula calculates a 0 the cell is just left blank. I've been using If statements but the formula is so long i wonder if there is an easier way.
for example I might use =IF(COUNTIFS(condition, condition, condition)=0, " ", COUNTIFS(condition, condition, condition))
which works but it means typing the long countifs statements twice. is there a simpler way to achieve this or am i stuck with super long IF statements?
this way i can have a large table and the cells with actual data will have numbers instead of being lost in a sea of 0s
Best Answer
-
That's really the only way to do it. You can copy/paste the COUNTIFS portion though to avoid having to type it out twice.
Answers
-
That's really the only way to do it. You can copy/paste the COUNTIFS portion though to avoid having to type it out twice.
Help Article Resources
Categories
Check out the Formula Handbook template!