![]() |
|
|
|
#1
|
|||
|
|||
|
I need a formula that will calculate the total time in Whole Hours & Percent of Hour.
It also needs to calculate over Midnight - 20:00 hrs to 01:30 hrs which should equal 5.5 hrs total time. I have read through some similar issues but cannot find anything to covers the over midnight part. I am using Office 2008 for MAC. Thanks in advance. |
|
#2
|
||||
|
||||
|
The over midnight calculation can be obtained using =MOD(end_time-start_time,1)
Quote:
What do you mean by "Whole hours and % of an hour". What should the result look like?
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
#3
|
|||
|
|||
|
So if the time on site is equal to 5 hours and 30 minutes, the answer I am needing is 5.5 hours or 3 hours and 15 minutes would be 3.25 hours.
Thanks. |
|
#4
|
|||
|
|||
|
Also forgot to add that the time format is in 24 hrs using 0":"00
|
|
#5
|
||||
|
||||
|
To change sexagesimal to decimal, multiply by 24 and format as number
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
#6
|
|||
|
|||
|
An alternative to what has already been mentioned is to use (in C1):
=((B1<A1)+B1-A1)*24 where A1 holds start_time and B1 end_time, and where C1 is formatted General. |
|
#7
|
||||
|
||||
|
Xor, I like your unpersonalized approach....
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
| Tags |
| time calculation |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calculate time from midnight on (Weekend hours, Fri-Sat night shift problem) | stormrider2230 | Excel | 1 | 01-20-2016 01:41 PM |
Calculate Average Time Elapsed in Days, hours and minutes
|
Nina46 | Excel | 9 | 09-11-2015 02:09 AM |
Need a formula to calculate turnaround time in hours
|
ram_cl1981 | Excel | 5 | 09-29-2014 02:20 PM |
Calculate difference by days and hours
|
alysolyman | Excel | 6 | 05-13-2013 02:19 AM |
How to get cells to calculate time?
|
jrasche2003@yahoo.com | Excel | 2 | 02-09-2007 07:10 AM |