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
- 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
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!