ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Counting days between 2 dates (https://www.excelbanter.com/excel-discussion-misc-queries/203241-counting-days-between-2-dates.html)

cockatoo

Counting days between 2 dates
 
Is there a formula for calculating the number of days between two dates e.g.
1/1/09 and 1/31/09 = 31 days

Mike

Counting days between 2 dates
 
A1 B1 C1
1/1/09 1/31/09 =B1-A1+1


"cockatoo" wrote:

Is there a formula for calculating the number of days between two dates e.g.
1/1/09 and 1/31/09 = 31 days


Peo Sjoblom[_2_]

Counting days between 2 dates
 
Just subtract

=later-earlier

of course you need to add 1 to that formula to get 31


--


Regards,


Peo Sjoblom

"cockatoo" wrote in message
...
Is there a formula for calculating the number of days between two dates
e.g.
1/1/09 and 1/31/09 = 31 days





All times are GMT +1. The time now is 09:46 AM.

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