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
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives