Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DP01
 
Posts: n/a
Default Formula for finding the differance between two times

I'm trying to find a formula that gives me the hh:mm between a start and
finish time of any shift, regardless of if it crosses over midnight, eg:
20:00 to 02:00. I have found formula's that give an answer of 20:00 to 02:00
= 20:00, but I need a result like 20:00 to 02:00 = 6:00. Any Suggestions?
  #2   Report Post  
Ragdyer
 
Posts: n/a
Default

Start time in A1
End time in B1

=((B1-A1)+(A1B1))*24
Format the cell as "General"
--
HTH,

RD

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

"DP01" wrote in message
...
I'm trying to find a formula that gives me the hh:mm between a start and
finish time of any shift, regardless of if it crosses over midnight, eg:
20:00 to 02:00. I have found formula's that give an answer of 20:00 to

02:00
= 20:00, but I need a result like 20:00 to 02:00 = 6:00. Any Suggestions?


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
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 04:35 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 05:37 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 05:16 AM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 02:27 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 04:13 PM


All times are GMT +1. The time now is 06:02 PM.

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"