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
- Customer Resources
- 66.9K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 79 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!