#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.
Smartsheet Community Champion and Ambassador
If my answer helped you, please be sure to mark it as Accepted to help future learners locate the information.
-
@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.
Smartsheet Community Champion and Ambassador
If my answer helped you, please be sure to mark it as Accepted to help future learners locate the information.
-
@Colleen Patterson THANK YOU, this worked!!
-
@Tristan D Happy to help!
Smartsheet Community Champion and Ambassador
If my answer helped you, please be sure to mark it as Accepted to help future learners locate the information.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!