Rounding UP to the nearest 6 minutes - The difference between two times

gchopperp

New Member
Joined
Jan 13, 2020
Messages
8
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi all.
I use Excel for aviation time calculations and we work our times in 6 minute slops. For example 08:00-08:30 equals 0,5 whilst 08:00 to 08:32 equals 0,6.
I cant seem to find a formula that calculates this difference correctly and displays it correctly.


10:0010:300,50
11:0011:300,60
12:0012:300,60
13:0013:300,60
14:0014:300,50

the formula I've come up with that works some of the time is =(CEILING((I13-H13);"00:06"))*(1440)/60 first column is I and second column is H.

HELP!!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Is that an example of what you want, or an example of wrong results? Because it looks like they should all be 0,50.

This formula should give you want you want.
Excel Formula:
=CEILING.MATH((I3-H3)*24*60;6)/60
Examples: (U.S. style format)

$scratch.xlsm
ABC
110:0010:030.1
210:0010:060.1
310:0010:090.2
410:0010:120.2
510:0010:150.3
610:0010:180.3
710:0010:210.4
810:0010:240.4
910:0010:270.5
1010:0010:300.5
Round to 6 mins
Cell Formulas
RangeFormula
B1B1=A1+"00:03:00"
C1:C10C1=CEILING.MATH((B1-A1)*24*60,6)/60
B2:B10B2=B1+"00:03:00"
 
Upvote 1
Is that an example of what you want, or an example of wrong results? Because it looks like they should all be 0,50.

This formula should give you want you want.
Excel Formula:
=CEILING.MATH((I3-H3)*24*60;6)/60

Works well except 11:00- 11:30 still records as 0,6 not 0,5.  Other solution worked.  Thanks 6String

[/QUOTE]
 
Upvote 0
Works well except 11:00- 11:30 still records as 0,6 not 0,5. Other solution worked. Thanks 6String
Works for me.

$scratch.xlsm
ABC
1011:0011:300.5
Round to 6 mins
Cell Formulas
RangeFormula
C10C10=CEILING.MATH((B10-A10)*24*60,6)/60
 
Upvote 0
@6StringJazzer Evaluation steps if interested

1695730446419.png

1695730495090.png

1695730540357.png

1695730579059.png
 
Upvote 0
that's why i added in the round to 6th digit (could've prolly been 2 or 3 honestly...)
1695730982462.png
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,069
Members
449,090
Latest member
fragment

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