Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
highball
 
Posts: n/a
Default how do i calculate time after midnite "01/12/05 13:00 to 01/13/05

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

problems with time
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

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

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"highball" wrote in message
...
Example 01/12/05 13:00 to 01/13/05 02:00 should = 13 hours

problems with time



  #3   Report Post  
RagDyeR
 
Posts: n/a
Default

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!
==============================================


"highball" wrote in message
...
Example 01/12/05 13:00 to 01/13/05 02:00 should = 13 hours

problems with time


  #4   Report Post  
highball
 
Posts: n/a
Default

Works great thank Ragdyer.

"RagDyeR" wrote:

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!
==============================================


"highball" wrote in message
...
Example 01/12/05 13:00 to 01/13/05 02:00 should = 13 hours

problems with time



  #5   Report Post  
RagDyeR
 
Posts: n/a
Default

Appreciate the feed-back.
--

Regards,

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

"highball" wrote in message
...
Works great thank Ragdyer.

"RagDyeR" wrote:

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!
==============================================


"highball" wrote in message
...
Example 01/12/05 13:00 to 01/13/05 02:00 should = 13 hours

problems with time





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate time difference to the half hour Ken Ivins Excel Worksheet Functions 6 July 17th 05 05:48 PM
calculate difference in time to hours Chris Excel Worksheet Functions 5 January 18th 05 06:07 PM
How do I set up a formula on a time sheet to calculate time in 1/. gschmid Excel Discussion (Misc queries) 2 January 18th 05 01:48 PM
formula to calculate a time sheet tintin103 Excel Worksheet Functions 1 January 17th 05 09:45 PM
calculate negative or positve difference in time kpmoore Excel Discussion (Misc queries) 2 January 5th 05 01:35 AM


All times are GMT +1. The time now is 08:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"