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.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!