#INCORRECT ARGUMENT SET error
Good afternoon,
I have been getting #INCORRECT ARGUMENT SET error when using this formula:
=IF(AND(Category@row = "Demo account"; [Custumised timeframe]@row = "No"); Submission@row + 30; ""; IF(Category@row = "Content contributor"; [Estimated Editing end date]@row; IF(AND(Category@row = "External supplier"; [Custumised timeframe]@row = "No"); Submission@row + 244; ""; IF(Category@row = "Cambridge Endorsement Partner"; [Access end-date]@row; IF(Category@row = "IB Org User"; [Lifetime end date]@row))))))
Is there anything I am not noticing that should be changed or added? Is it too much for one cell/column?
Thank you in advance!
Answers
-
I'm not sure if this is the complete answer, but one thing to correct - I think you should be using commas inside your IF / AND functions, not semicolons:
-
Hi Courtney,
Thank you for your reply!
I tried to change them to comas and checked that all column names are correct, but I get the same error.
-
Courtney is correct with the commas versus semi-colons. Also, your IF statements are concluding twice before I think you mean them to. Shown below, the Yellow is your logic for two IF statements, the Green the true, and Red the false.
The formula technically ends at that first red highlight, that's where your #INCORRECT ARGUMENT SET is coming from. I imagine that maybe your false statements are supposed to just be the next IF statements? If that's the case, remove the two false values in red and you should be good to go.
=IF(AND(Category@row = "Demo account", [Custumised timeframe]@row = "No"), Submission@row + 30, IF(Category@row = "Content contributor", [Estimated Editing end date]@row, IF(AND(Category@row = "External supplier", [Custumised timeframe]@row = "No"), Submission@row + 244, IF(Category@row = "Cambridge Endorsement Partner", [Access end-date]@row, IF(Category@row = "IB Org User", [Lifetime end date]@row)))))
Jason Tarpinian - Sevan Technology
Smartsheet Aligned Partner
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 429 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!