Nested AND/OR statement with COUNTIF
Hello,
I'm trying to count the number of rows that fit this criteria:
This is the formula I came up with but am getting an error. I'm betting that the problem is the placement of the ANDs?
=COUNTIF(AND((OR({Retail Survey Launch Status} = "Operational", {Data Upload Status} = "Operational",(AND({Experiencia Rounding Status}@row<>"Operational", {Experiencia Rounding Status}@row<>"Needs Post Launch Review", {Experiencia Rounding Status}@row<>"Post Launch Review Scheduled", {Experiencia Rounding Status}@row<>"Adding a Service", {Experiencia Rounding Status}@row<>"Requested Cancellation), {Monthly DataCor Revenue}, ""."")
Thanks for your help!
Answers
-
Is the first argument supposed to be AND or OR?
-
It could be either one or both (but doesn't have to be both).
Thanks!
-
Because it is two different ranges, my suggestion would be to insert a hidden helper column on the source sheet and use a basic IF/OR formula to check a box on each row if either of them are checked and then reference this helper column in the COUNTIFS.
Since it is two different ranges and it is possible for either one or both to be checked, creating a formula without the helper column (while possible) is definitely more complex to avoid double counting rows.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!