Round time to nearest 15min interval in Excel

前端 未结 11 2473
伪装坚强ぢ
伪装坚强ぢ 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

    Simpler ??

    =B2-MOD(B2,15/24/60)

    Knowing that for Excel 1 day = 24 hrs = 1,
    15/24/60 (= 0.0104166666666667) is the numeric equivalent equivalent of 15 min.

提交回复
热议问题