Round time to nearest 15min interval in Excel

前端 未结 11 2466
伪装坚强ぢ
伪装坚强ぢ 2020-12-30 03:20

I\'ve an excel spreadsheet with a column which has the date and time of a particular event. I would like to round this to the nearest 15 minute interval so that I can count

11条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-30 03:39

    This worked for me

    =CEILING(((MOD(D16-C16;1))*24);0,25)
    

    It calculates the time difference of two different times C16 and D16 in hours first. Then rounds up.

提交回复
热议问题