IF THEN statement
I created a column "Past Due" and I want to plug a formula in it to determine if a subtask is past due with a "Yes" or a "No".
My IF/THEN statement produces an "Invalid Data Type".
Here is the statement:
=IF(AND(Finish:Finish, <TODAY(), Status:Status, <>"Complete", Health:Health, <>""), "Yes", "No")
Finish is a date.
I only want the Yes or No to appear on subtasks. That is why I included Health:Health<>"". In the main task Health will always be blank.
I would like to make this a column formula.
Best Answers
-
Hi @PMOGal,
Try doing it at the row level and see if that gets what you want.
=IF(AND(Finish@row < TODAY(), Status@row <> "Complete", Health@row <> ""), "Yes", "No")
Hope this helps,
Dave
-
That works! Thank you.
Answers
-
Hi @PMOGal,
Try doing it at the row level and see if that gets what you want.
=IF(AND(Finish@row < TODAY(), Status@row <> "Complete", Health@row <> ""), "Yes", "No")
Hope this helps,
Dave
-
That works! Thank you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!