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
- Smartsheet Customer Resources
- 62.1K Get Help
- 348 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 282 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!