How to round time to the next hour

Bugas

New Member
Joined
Sep 17, 2012
Messages
42
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 :)

ABC
1Employee nameEnd time workingRound up Time
2Alan05:0005:00
3Bruce09:0110:00
4Charlie06:3007:00
5Danny07:4508:00

<tbody>
</tbody>
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

My Aswer Is This

Well-known Member
Joined
Jul 5, 2014
Messages
19,343
Office Version
  1. 2021
Platform
  1. Windows
Try this:
Code:
[/SIZE][SIZE=6][SIZE=1]=ROUNDUP( B2*24, 0) / 24[/SIZE]
[/SIZE][SIZE=1]
 
Upvote 0

shg

MrExcel MVP
Joined
May 7, 2008
Messages
21,836
Office Version
  1. 2010
Platform
  1. Windows
Or

=CEILING(B2, "1:00")
 
Upvote 0

Forum statistics

Threads
1,191,584
Messages
5,987,493
Members
440,097
Latest member
Wint

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
Top