Formating dates

P

pcor

I have dates and times in 2 cells(a1 and b1). How do I format an other
cell(c1) to tell me hiow many days there is between cells (a1 and B1).
Thanks
Ian
 
P

pcor

I guess I did not explain well enough
In A1 I have Wed 12 Apr 2006 01:46:pM
In B1 I have Tue 11 Apr 2006 04:41:pMTThat give me an answer of 21 hrs 4
min and a few seconds.
What I really wnat is the number of days(in this case it wouod ab e about
..8(point 8)
How can I do that
Thanks
 
B

Biff

As long as these dates are true Excel dates then just subtract:

=A1-B1

Format the cell as GENERAL

Result = 0.878472222218988

Biff
 
P

pcor

Worked Great Thanks


Biff said:
As long as these dates are true Excel dates then just subtract:

=A1-B1

Format the cell as GENERAL

Result = 0.878472222218988

Biff
 

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