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
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!