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
- 62.5K Get Help
- 370 Global Discussions
- 202 Industry Talk
- 433 Announcements
- 4.5K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 129 Community Job Board
- 447 Show & Tell
- 29 Member Spotlight
- 1 SmartStories
- 281 Events
- 31 Webinars
- 7.3K Forum Archives