how to add up days

N

Nigel O'

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
 
D

David Biddulph

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
 
N

Nigel O'

Great thanks but des this take into account some months have less / more
days in them ?
 
D

David Biddulph

Yes, an Excel date is counted in number of days. The only problem is with
dates before 1st March 1900.
 

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