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.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!