Countifs statement with OR function help needed
Hi there,
I'm trying to build a COUNTIFS statement that uses OR and I can't quite seem to get it to work. The first OR criteria is if the cell is blank, or says pending and I think that's where the problem lies. Any help would be appreciated! Thank you!
=COUNTIFS([VP Approval]:[VP Approval], "Approved", [HR Approval]:[HR Approval], OR(@cell = "Pending", @cell = "", Division:Division, OR(@cell = "WTC", @cell - "Can Roofing")))
Best Answer
-
Kelly,
Looks like you had some typos. Try the below:
=COUNTIFS([VP Approval]:[VP Approval], "Approved", [HR Approval]:[HR Approval], OR(@cell = "Pending", @cell = ""), Division:Division, OR(@cell = "WTC", @cell = "Can Roofing"))
Answers
-
Kelly,
Looks like you had some typos. Try the below:
=COUNTIFS([VP Approval]:[VP Approval], "Approved", [HR Approval]:[HR Approval], OR(@cell = "Pending", @cell = ""), Division:Division, OR(@cell = "WTC", @cell = "Can Roofing"))
-
That was it. Thank you for that prompt reply!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!