Number of days between 2 dates, if end date is blank assume todays

J

JulesM

I need an excel formula to calculated the number of days between 'Start Date'
and 'End Date'. IF the 'End Date' is null I want to use todays date.

Please Help
 
N

Niek Otten

=IF(B1="",TODAY(),B1)-A1
Format as number, not as date (which Excel will do automatically)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top