How to round time to the next hour

Bugas

New Member
Joined
Sep 17, 2012
Messages
44
Office Version
  1. 2007
Platform
  1. Windows
I'm trying to identify the time that employees stoped the work, rounding up the time. Without using VBA is there any formula in excel to this?

In this example I show in Column C the final result. If they stop at 05:00, the result should be 05:00. If they stop at 09:01, the result is 10:00. I want to round up time.

Thanks :)

[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Employee name[/TD]
[TD="align: center"]End time working[/TD]
[TD="align: center"]Round up Time[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]Alan[/TD]
[TD="align: center"]05:00[/TD]
[TD="align: center"]05:00[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]Bruce[/TD]
[TD="align: center"]09:01[/TD]
[TD="align: center"]10:00[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]Charlie[/TD]
[TD="align: center"]06:30[/TD]
[TD="align: center"]07:00[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]Danny[/TD]
[TD="align: center"]07:45[/TD]
[TD="align: center"]08:00[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Try this:
Code:
[/SIZE][SIZE=6][SIZE=1]=ROUNDUP( B2*24, 0) / 24[/SIZE]
[/SIZE][SIZE=1]
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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