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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!