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
- 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!