rounding hours and minutes to the nearest hour

rochandac

New Member
Joined
May 8, 2006
Messages
2
I need to convert hours and minutes to the nearest hour. For example 3:22 would become 3 hours. Is there a way to do this in excel?

Is it possible for me to convert hours and minutes to the nearest decimal? For example 3:22 would become 3.67.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I'm not sure how 3:22 would become 3.67

If you want to show a time in decimal and round to the nearest hour then you could use this formula

=round(A1*24,0)

format as general

where your time is in A1
 
Upvote 0
That does round to the nearest hour in that if A1 contains 3:22 it will return 3, if you just want to return the hours in time format 3:00 then you can use

=ROUND(A1*24,0)/24

or using MROUND function from Analysis ToolPak

=MROUND(A1,"01:00")

in both cases format as time
 
Upvote 0

Forum statistics

Threads
1,216,098
Messages
6,128,812
Members
449,468
Latest member
AGreen17

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