#Unparseable If Statement
Hello,
I am relatively new to Smartsheet and was trying to write what I thought was a very simple line of code but keep getting a #Unparseable error and uncertain why. Below are 2 If statements that I have tried with the same results. I verified header names to ensure accuracy but same result each time.
=IF(AND(Due Date@row < TODAY(), Status@row < > "Complete"), "Overdue", "")
=IF(Due Date@row < TODAY() AND Status@row <> "Complete", "Overdue", "")
Appreciate any assistance.
T
Answers
-
i would believe that your issue is not having brackets around [Due Date]
Column names that a) have a space b) have a special character or c) have a number at the end need to be wrapped in brackets when referencing.
If my answer helped you, please be sure to mark it as Accepted to help future learners locate the information.
Always happy to work through questions or concerns!
-
@Colleen Patterson Thank you for your help, this is good to know. A bit of a change from Excel so still learning.
I added the brackets around due date but now faced with a new error #Invalid Operation. Any ideas? Thank you again
-
=IF(AND([Due Date]@row < TODAY(), Status@row <> "Complete"), "Overdue", "")
There should be no space between the carrots in the status portion.
If my answer helped you, please be sure to mark it as Accepted to help future learners locate the information.
Always happy to work through questions or concerns!
-
@Colleen Patterson THANK YOU, this worked!!
-
@Tristan D Happy to help!
If my answer helped you, please be sure to mark it as Accepted to help future learners locate the information.
Always happy to work through questions or concerns!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!