Excel Calculations for TIME

mimikat

New Member
Joined
Apr 18, 2015
Messages
18
Hello,

I am trying to keep track off time off for employees and I need the calculations on my spreadsheet to calculate only up to 59 and then once 60 is hit, I need it to calculate to 1 hour.

My current spreadsheet is calculating up to 99 before hitting the 1hour.

I hope this makes sense.

PLEASE HELP! :)
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
For example:

On my current spreadsheet if I enter 1.45hr for January and then .50min. for February the total calculates to: 1.95

However, I need it to calculate an hour once 60 is hit. Given this, for my above example I would need it to calculate to: 2.35hr.
 
Upvote 0
Enter the times as 1:45 and 0:50
 
Upvote 0
Alternatively (and more complicated-ly-ier), enter time as decimal (1.30 = 1 hour 30 minutes), create two helper rows (one for Hour, one for Minutes)
Hours =TRUNC(A1,0)
Minutes =MOD(A1,SIGN(A1))/0.6 <-- dividing by 0.6 converts the minutes to fractions of an hour.

Sum both columns, and the total is:
=TRUNC(SUM(both columns),0) + TRUNC(MOD(SUM(both columns),1), 2) and it's in the same format you started with.

How's that for complicated?? shg's way is mo' betta!
 
Upvote 0
Thank you! This works but when the numbers calculate to 24:00 it turns to 0:00

Any idea how to avoid this?

I need it to be able to calculate to 24:00 without turning to 0:00 and continue calculating the hours 25:00, 26:00. etc.,
 
Upvote 0
Format the result as [h]:mm
 
Last edited:
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top