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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives