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
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!