#INCORRECT ARGUMENT SET in Nested IF statement
Hey All,
I think I have all my ducks in a row here, but I continue to get a #INCORRECT ARGUMENT SET Error. Trying to dynamically set a status indicator. Can someone assist?
For more info:
[Assigned To] is a Contact List
[Resolved] is a checkbox
=IF(AND(NOT(ISBLANK([Assigned To]@row)), Resolved@row = 0), "In Progress", (IF(AND(NOT(ISBLANK([Assigned To]@row))), Resolved@row = 1)), "Completed", "Open")
Best Answer
-
Just need some adjustments to your parenthesis.
=IF(AND(NOT(ISBLANK([Assigned To]@row)), Resolved@row = 0), "In Progress", IF(AND(NOT(ISBLANK([Assigned To]@row)), Resolved@row = 1), "Completed", "Open"))
You could also shorten this a touch like so:
=IF([Assigned To]@row <> "", IF(Resolved@row = 1, "Completed", "In Progress"), "Open")
Answers
-
Just need some adjustments to your parenthesis.
=IF(AND(NOT(ISBLANK([Assigned To]@row)), Resolved@row = 0), "In Progress", IF(AND(NOT(ISBLANK([Assigned To]@row)), Resolved@row = 1), "Completed", "Open"))
You could also shorten this a touch like so:
=IF([Assigned To]@row <> "", IF(Resolved@row = 1, "Completed", "In Progress"), "Open")
-
@Paul Newcome You rock! That was perfect!
-
Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!