I'm trying to round to the nearest quarter hour but if the rounding is less than 1:15 I want the cell to just display 1:15
I've tried =IF(CEILING((B2-A2),"00:15")<"01:15","1:15",CEILING((B2-A2),"00:15")) and it just puts 1:15 is every cell no matter if it's above or below 1:15
Below is an example. I only want the second column of time to be displayed. I'm displaying the first column of time for reference of the actual time.
The rounding is correct except for I do not want 1:15 to round up to 1:30.
Any help would be appreciated.
[TABLE="width: 395"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD="align: right"]3/1/2019 10:40[/TD]
[TD="align: right"]3/1/2019 11:50[/TD]
[TD="align: right"]1:10[/TD]
[TD="align: right"]1:15[/TD]
[/TR]
[TR]
[TD="align: right"]3/1/2019 3:30[/TD]
[TD="align: right"]3/1/2019 5:20[/TD]
[TD="align: right"]1:50[/TD]
[TD="align: right"]2:00[/TD]
[/TR]
[TR]
[TD="align: right"]3/1/2019 13:05[/TD]
[TD="align: right"]3/1/2019 13:30[/TD]
[TD="align: right"]0:25[/TD]
[TD="align: right"]1:15[/TD]
[/TR]
[TR]
[TD="align: right"]3/2/2019 7:40[/TD]
[TD="align: right"]3/2/2019 8:55[/TD]
[TD="align: right"]1:15[/TD]
[TD="align: right"]1:30[/TD]
[/TR]
</tbody>[/TABLE]
I've tried =IF(CEILING((B2-A2),"00:15")<"01:15","1:15",CEILING((B2-A2),"00:15")) and it just puts 1:15 is every cell no matter if it's above or below 1:15
Below is an example. I only want the second column of time to be displayed. I'm displaying the first column of time for reference of the actual time.
The rounding is correct except for I do not want 1:15 to round up to 1:30.
Any help would be appreciated.
[TABLE="width: 395"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD="align: right"]3/1/2019 10:40[/TD]
[TD="align: right"]3/1/2019 11:50[/TD]
[TD="align: right"]1:10[/TD]
[TD="align: right"]1:15[/TD]
[/TR]
[TR]
[TD="align: right"]3/1/2019 3:30[/TD]
[TD="align: right"]3/1/2019 5:20[/TD]
[TD="align: right"]1:50[/TD]
[TD="align: right"]2:00[/TD]
[/TR]
[TR]
[TD="align: right"]3/1/2019 13:05[/TD]
[TD="align: right"]3/1/2019 13:30[/TD]
[TD="align: right"]0:25[/TD]
[TD="align: right"]1:15[/TD]
[/TR]
[TR]
[TD="align: right"]3/2/2019 7:40[/TD]
[TD="align: right"]3/2/2019 8:55[/TD]
[TD="align: right"]1:15[/TD]
[TD="align: right"]1:30[/TD]
[/TR]
</tbody>[/TABLE]