COUNTIFS with OR
Hello,
I have spent hours trying to figure out what I am doing wrong, but I cannot seem to figure out what would get this formula to work. I am trying to count if my Simulation column says Phillips, the complete checkbox is checked and Type is Pilot OR Simulation. The formula works fine up until I add in the Type being Pilot or Simulation. I thought maybe it is because the logical expression is incomplete?
=COUNTIFS(Simulation:Simulation, "Phillips", Complete:Complete, 1, OR(Type:Type, "Pilot", Type:Type, "Simulation"))
Best Answer
-
Greetings Erin,
Here is the formula I think should resolve your problem:
=COUNTIFS(Simulation:Simulation, "Phillips", Complete:Complete, "1", Type:Type, OR(@cell = "Pilot", @cell = "Simulation"))
For the OR statement, you can reference the @cell for your comparisons.
Please let me know how this works.
Frank Smith, PMP
Assistant Director | IT Special Projects Mgr.
Oregon Parks & Recreation Department
If my response helps, please mark it as an accepted answer. 😎
Answers
-
I think it might be because you need parentheses around your first scenario...
=COUNTIFS((Simulation:Simulation, "Phillips", Complete:Complete, 1), OR(Type:Type, "Pilot", Type:Type, "Simulation"))
-
Greetings Erin,
Here is the formula I think should resolve your problem:
=COUNTIFS(Simulation:Simulation, "Phillips", Complete:Complete, "1", Type:Type, OR(@cell = "Pilot", @cell = "Simulation"))
For the OR statement, you can reference the @cell for your comparisons.
Please let me know how this works.
Frank Smith, PMP
Assistant Director | IT Special Projects Mgr.
Oregon Parks & Recreation Department
If my response helps, please mark it as an accepted answer. 😎
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
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!