ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   how to add up days (https://www.excelbanter.com/charts-charting-excel/159110-how-add-up-days.html)

Nigel O'

how to add up days
 
Hi all wonder if you can help please.

I need a formula to add up the days between two dates,
for example.

20/04/2007 10/09/2007 then the 3rd cell works out the days between the
two dates.

May be easy but I dont know.

Thanks

Nigel



David Biddulph[_2_]

how to add up days
 
Yes, you are right. It is easy.
=B1-A1
Format the answer as General or Number, not as date.

If by the number of days *between* you mean excluding both the input dates,
so 19/9/07 to 21/9/07 would give one day between, then use =B1-A1-1
--
David Biddulph

"Nigel O'" wrote in message
k...
Hi all wonder if you can help please.

I need a formula to add up the days between two dates,
for example.

20/04/2007 10/09/2007 then the 3rd cell works out the days between
the two dates.

May be easy but I dont know.

Thanks

Nigel




Nigel O'

how to add up days
 
Great thanks but des this take into account some months have less / more
days in them ?


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Yes, you are right. It is easy.
=B1-A1
Format the answer as General or Number, not as date.

If by the number of days *between* you mean excluding both the input
dates, so 19/9/07 to 21/9/07 would give one day between, then use =B1-A1-1
--
David Biddulph

"Nigel O'" wrote in message
k...
Hi all wonder if you can help please.

I need a formula to add up the days between two dates,
for example.

20/04/2007 10/09/2007 then the 3rd cell works out the days between
the two dates.

May be easy but I dont know.

Thanks

Nigel






David Biddulph[_2_]

how to add up days
 
Yes, an Excel date is counted in number of days. The only problem is with
dates before 1st March 1900.
--
David Biddulph

"Nigel O'" wrote in message
. uk...
Great thanks but des this take into account some months have less / more
days in them ?


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Yes, you are right. It is easy.
=B1-A1
Format the answer as General or Number, not as date.

If by the number of days *between* you mean excluding both the input
dates, so 19/9/07 to 21/9/07 would give one day between, then use
=B1-A1-1
--
David Biddulph

"Nigel O'" wrote in message
k...
Hi all wonder if you can help please.

I need a formula to add up the days between two dates,
for example.

20/04/2007 10/09/2007 then the 3rd cell works out the days between
the two dates.

May be easy but I dont know.

Thanks

Nigel









All times are GMT +1. The time now is 04:46 PM.

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