IF formula with AND and NOT
Hi,
I'm trying to get a "yes" or "no" answered based on the conditions below. I'm receiving the "incorrect argument set" error; however, I am unable to determine where the error is found. Thank you in advance!
- If date is today or in the past
- the status is: anything but complete
=IF(AND([Target Start Date]@row < TODAY(), IF(NOT(Status@row = "Complete"), "Yes", "No")))
Best Answer
-
Instead of using not, you can have the second statement be not equal to complete. The following should work:
=IF(AND([Target Start Date]@row < TODAY(), Status@row <> "Complete"), "Yes", "No")
Answers
-
Instead of using not, you can have the second statement be not equal to complete. The following should work:
=IF(AND([Target Start Date]@row < TODAY(), Status@row <> "Complete"), "Yes", "No")
-
Hi Daryl! Thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!