Error Check - Combining multiple IF/AND statements for calculation based status.
Hello, hope you are having a great day, I have issues using IF/AND combinations in formulae. I am trying to get a status off the percentage calculated in a different field (percentage value) and keep getting this error that says - #INCORRECT ARGUMENT SET
This is my Formula- Details8 is the field where the percentage is calculated
=IF(Details8 = 0, "Not Started", IF(AND(Details8 >= 0.01, Details8 <= 0.59), "Below Expectations"), IF(AND(Details8 >= 0.6, Details8 <= 0.7), "Needs Improvement"), IF(AND(Details8 >= 0.8, Details8 <= 0.94), "Meeting Expectations"), IF(AND(Details8 >= 0.95, "Exceeding Expectations")))
Any and all assistance here would be appreciated. Thank you in advance!
Answers
-
Looks like your very last "AND statement is not necessary and may be the source of your error. Maybe try something like the following?
=IF(Details8 = 0, "Not Started", IF(AND(Details8 >= 0.01, Details8 <= 0.59), "Below Expectations"), IF(AND(Details8 >= 0.6, Details8 <= 0.7), "Needs Improvement"), IF(AND(Details8 >= 0.8, Details8 <= 0.94), "Meeting Expectations"), IF(Details8 >= 0.95, "Exceeding Expectations"))
-
Thank you, sir, I figured the AND was needed right after I posted this. Thank you so much it is working now.
-
To add - you're also closing your arguments off so it can't move on.
=IF(Details8 = 0, "Not Started", IF(AND(Details8 >= 0.01, Details8 <= 0.59), "Below Expectations", IF(AND(Details8 >= 0.6, Details8 <= 0.7), "Needs Improvement", IF(AND(Details8 >= 0.8, Details8 <= 0.94), "Meeting Expectations", IF(Details8 >= 0.95, "Exceeding Expectations"))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 464 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!