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
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 464 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 60 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 40 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!