Checking a box using an IF statement with AND and OR
Hi,
I'm trying to check a box if the Rounding status is any of (4 options) but EHR status is not "Operational."
This formula works before I add the "AND EHR status is not operational" part of the statement:
=IF([Experiencia Rounding Status]@row = "Operational", 1, IF([Experiencia Rounding Status]@row = "Needs Post Launch Review", 1, IF([Experiencia Rounding Status]@row = "Post Launch Call Scheduled", 1, IF([Experiencia Rounding Status]@row = "Adding a Service", 1))))
When I try to add the AND statement, I'm getting an error:
=IF(OR(AND(EHR Integration Status@row <>"Operational"),([Experiencia Rounding Status]@row = "Operational", [Experiencia Rounding Status]@row = "Needs Post Launch Review", [Experiencia Rounding Status]@row = "Post Launch Call Scheduled", [Experiencia Rounding Status]@row = "Adding a Service", 1, ))))
Thanks for your help!!
Answers
-
=IF(AND([Experiencia Rounding Status]@row = "Operational", [EHR Integration Status]@row <> "Operational"), 1, IF(AND([Experiencia Rounding Status]@row = "Needs Post Launch Review", [EHR Integration Status]@row <> "Operational"), 1, IF(AND([Experiencia Rounding Status]@row = "Post Launch Call Scheduled", [EHR Integration Status]@row <> "Operational"), 1, IF(AND([Experiencia Rounding Status]@row = "Adding a Service", [EHR Integration Status]@row <> "Operational"), 1))))
-
That worked. Thanks!
-
Hi Again,
Rather than checking a box, I'm thinking of doing a COUNTIF instead. I modified the formula you gave me above but it is giving me an error:
=COUNTIFS(AND([Experiencia Rounding Status]@row = "Operational", [EHR Integration Status]@row <> "Operational"), 1, IF(AND([Experiencia Rounding Status]@row = "Needs Post Launch Review", [EHR Integration Status]@row <> "Operational"), 1, IF(AND([Experiencia Rounding Status]@row = "Post Launch Call Scheduled", [EHR Integration Status]@row <> "Operational"), 1, IF(AND([Experiencia Rounding Status]@row = "Adding a Service", [EHR Integration Status]@row <> "Operational")))))
Thanks for your help!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.5K Get Help
- 367 Global Discussions
- 202 Industry Talk
- 432 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 286 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!