converting minutes since midnight into time format and rounding to the nearest quarter hour

abberyfarm

Well-known Member
Joined
Aug 14, 2011
Messages
733
Hi there,

I have minutes since midnight in a column. How could I convert this to time values and round the minutes to the nearest quarter of an hour?

Here is an example
Excel Workbook
IJ
749708:30:00
852208:45:00
936506:00
Sheet2


Many thanks for you sugggestions
 

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.
497 to the nearest quarter of an hour will be 8:15, not 8:30 (as it is actually 8:17)

=ROUND(A1/24/60/"00:15:00",--"00:15:00")*"00:15:00"

If you want to round up:

=CEILING(A1/24/60,--"00:15:00")
 
Last edited:
Upvote 0
Hi there,

I have minutes since midnight in a column. How could I convert this to time values and round the minutes to the nearest quarter of an hour?

Here is an example
Excel Workbook
IJ
749708:30:00
852208:45:00
936506:00
Sheet2


Many thanks for you sugggestions
Like this...

=ROUND(I7/1440*96,0)/96

Format as [h]:mm

I think 8:30 should actually be 8:15.
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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