I would like a calculation that gives the number of days between 2 dates (start date & end date) but if end date is blank I would like it to use todays date. How can I set this formula up?

1 Answer 1


This should do the trick:

=IF(ISBLANK([EndDate]),DATEDIF([StartDate], Today(),"d"),DATEDIF([StartDate], [EndDate],"d"))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.