How to format a duration as HH:mm in the new Google sheets

前端 未结 4 503
别那么骄傲
别那么骄傲 2021-01-03 17:46

In the new Google sheets there\'s a way of formatting a number as a duration. Format -> Number -> Duration.

  • 1 is formatted as 24:00:00
4条回答
  •  梦毁少年i
    2021-01-03 17:51

    The answer from Hot Licks and spex worked for me in Google sheets - enclosing the h in [] , as in TEXT(A2,"[h]:mm:ss"), allows a duration larger than 24 hours. Without the [], 28 hours shows up as 4, with the [h], 28 hours shows as 28.

提交回复
热议问题