Using IF, OR Formula to Return a Value
I have a sheet that I want to return a value of 1 or 0 if EITHER of two possible drop-down menu items are selected. This formula I tried is returning an Incorrect Argument Set:
=IF([Safety Plan Status]2 = "Accepted", 1, 0, IF(OR([Safety Plan Status]2 = "N/A - No Onsite Labor", 1, 0)))
I am sure it is in my syntax somewhere, but I am stumped. Thanks
Best Answer
-
Disregard, please
Figured it out with this:
=IF(OR([Safety Plan Status]2 = "Accepted", [Safety Plan Status]2 = "N/A - No Onsite Labor"), 1, 0)
Answers
-
To clarify, I want the cell to return a 1 if EITHER of these two items are selected, and a 0 if not.
-
Disregard, please
Figured it out with this:
=IF(OR([Safety Plan Status]2 = "Accepted", [Safety Plan Status]2 = "N/A - No Onsite Labor"), 1, 0)
-
Hi @JO Ross
I'm glad you figured it out! Thanks for posting your solution.
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 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!