ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Number of days between 2 dates, if end date is blank assume todays (https://www.excelbanter.com/new-users-excel/74567-number-days-between-2-dates-if-end-date-blank-assume-todays.html)

JulesM

Number of days between 2 dates, if end date is blank assume todays
 
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

Niek Otten

Number of days between 2 dates, if end date is blank assume todays
 
=IF(B1="",TODAY(),B1)-A1
Format as number, not as date (which Excel will do automatically)

--
Kind regards,

Niek Otten

"JulesM" wrote in message
...
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





All times are GMT +1. The time now is 04:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com