Date Formula
Hi Brian Trust
I am needing a date formula that is a bit over my head
So IF Jan Due is a date then subtract Jan actual from Jan Due date (using Jan Variance column)
BUT if Jan Due date is blank report a blank
AND if Jan Actual Date is not a date then report "OVERDUE" in the Jan Variance Column
I have so far but is not working
=IF(ISBLANK([Jan Due Date]@row), "", IF(ISDATE([Jan Due Date]@row), IF(ISDATE([Jan Actual Date]@row), [Jan Due Date]@row - [Jan Actual Date]@row,) "", "OVERDUE")))))
Answers
-
You need an AND in the second IF statement and appear to have 3 outcomes. A formula like this should work for you:
=IF([Jan Due Date]@row = "", "", IF(AND(ISDATE([Jan Due Date]@row), ISDATE([Jan Actual Date]@row)), [Jan Due Date]@row - [Jan Actual Date]@row, "Overdue"))
Sample output:
Hope this helps, but if I've misunderstood something or you've any problems/questions then just let us know!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!