Count days between start date and today
I want to count the days between the start date and today if the end date is blank.
Best Answer
-
If you want to count from start to end if there is an end but use today if there is no end, then it would look something like this...
=IF(ISDATE([End Date]@row), [End Date]@row, TODAY()) - [Start Date]@row
If you want to leave blank when an end date is present and only count when end date is blank...
=IF([End Date]@row = "", TODAY() - [Start Date]@row)
Answers
-
If you want to count from start to end if there is an end but use today if there is no end, then it would look something like this...
=IF(ISDATE([End Date]@row), [End Date]@row, TODAY()) - [Start Date]@row
If you want to leave blank when an end date is present and only count when end date is blank...
=IF([End Date]@row = "", TODAY() - [Start Date]@row)
-
I thought I tried the second one but I must have typed it wrong. Thanks, it worked.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!