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
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!