how do i calculate time after midnite "01/12/05 13:00 to 01/13/05

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Example 01/12/05 13:00 to 01/13/05 02:00 should = 13 hours

problems with time
 
Hi

With Start date in A2 and end date in B2
=B2-A2+(B2<A2)
formatted as "hh:mm" or "h"

When you want the number of hours, then
=(B2-A2+(B2<A2))*24
 
Start time in A1,
End time in B1,
Enter this formula in a cell formatted as "General" or "Number":

=(B1-A1+(B1<A1))*24*AND(A1<>0,B1<>0)

Both A1 and B1 must have times entered for this to work.
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


Example 01/12/05 13:00 to 01/13/05 02:00 should = 13 hours

problems with time
 

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

Back
Top