ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to calculate # of days (https://www.excelbanter.com/excel-worksheet-functions/223069-how-calculate-days.html)

Jonathan

How to calculate # of days
 
If I have an admission date and a discharge date, how can I write a formula
to calculate the number of days between the two dates?

Jonathan

How to calculate # of days
 
weird, i should have just tried discharge - admission date. works fine.

"Jonathan" wrote:

If I have an admission date and a discharge date, how can I write a formula
to calculate the number of days between the two dates?


Lars-Åke Aspelin[_2_]

How to calculate # of days
 
On Wed, 4 Mar 2009 11:06:05 -0800, Jonathan
wrote:

If I have an admission date and a discharge date, how can I write a formula
to calculate the number of days between the two dates?


With your two dates in cells A1 and B1 the following formula gives the
number of days:

=B1-A1

Hope this helps / Lars-Åke

Gord Dibben

How to calculate # of days
 
Not weird at all.

Serial number of Discharge date is greater than serial number of Admission
date.

March 4, 2009 serial is 39876

February 4, 2009 serial is 39848


Gord Dibben MS Excel MVP

On Wed, 4 Mar 2009 11:09:03 -0800, Jonathan
wrote:

weird, i should have just tried discharge - admission date. works fine.

"Jonathan" wrote:

If I have an admission date and a discharge date, how can I write a formula
to calculate the number of days between the two dates?




All times are GMT +1. The time now is 12:43 PM.

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