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.
-
Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 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!