Countifs with blank "0" Value
Hi
I am trying to put a formula together that will return blank if the value is zero based on 2 criterion.. example
=COUNTIFS({Range 4}, ="Food & Beverage", {Range 3}, ="Unqualified" > 0 "")
So basically if the value of unqualified is zero, I want the cell to be blank.. any tips?
Best Answer
-
Hi @Lisa B 2022
If I am understanding you correctly, if the countifs of unqualified returns a zero count you want the cell to return blank?
=IF(COUNTIFS({Range 4}, ="Food & Beverage", {Range 3}, ="Unqualified") = 0, "", COUNTIFS({Range 4}, ="Food & Beverage", {Range 3}, ="Unqualified"))
Or are you asking to return a blank if any value in {Range 3} has a zero in it?
=IF(COUNTIFS({Range 4}, ="Food & Beverage", {Range 3}, = 0) > 0, "", =COUNTIFS({Range 4}, ="Food & Beverage", {Range 3}, ="Unqualified"))
Hope this helps!
Answers
-
Hi @Lisa B 2022
If I am understanding you correctly, if the countifs of unqualified returns a zero count you want the cell to return blank?
=IF(COUNTIFS({Range 4}, ="Food & Beverage", {Range 3}, ="Unqualified") = 0, "", COUNTIFS({Range 4}, ="Food & Beverage", {Range 3}, ="Unqualified"))
Or are you asking to return a blank if any value in {Range 3} has a zero in it?
=IF(COUNTIFS({Range 4}, ="Food & Beverage", {Range 3}, = 0) > 0, "", =COUNTIFS({Range 4}, ="Food & Beverage", {Range 3}, ="Unqualified"))
Hope this helps!
-
@Christian Graf that worked, thanks a million!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!