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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!