Problem with multiple IF statements
I have 2 columns: one is the responsible party for the row and one is a checkbox that needs to be checked depending on the value in the responsible party column.
I have this and it works:
=IF(HAS([Responsible Party]@row, "Analyst"), 1, 0)
But I need to check for 2 values, so I tried this, and it doesn't work:
=IF(HAS([Responsible Party]@row, "Analyst"), 1, 0, IF(HAS([Responsible Party]@row, "Lead Analyst"), 1, 0))
I get: #incorrect argument set
Does anyone see the problem? Thanks!
Best Answer
-
@Donna Anderson Are you looking for something like this?
=IF(OR(HAS([Responsible Party]@row, "Analyst"), HAS([Responsible Party]@row, "Lead Analyst")), 1, 0)
If not, are you looking for it to validate both with an AND?
Answers
-
@Donna Anderson Are you looking for something like this?
=IF(OR(HAS([Responsible Party]@row, "Analyst"), HAS([Responsible Party]@row, "Lead Analyst")), 1, 0)
If not, are you looking for it to validate both with an AND?
-
That's exactly what I am looking for. Tried it and it worked. Thank you!
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives