Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

google sheets format number as duration formula

The accepted answer works for formatting a whole cell, but I wanted to
format only a part of the contents of a cell. I had tried using
TEXT(A2,"hh:mm:ss") but this is a date format and so does not work for
negative durations. However, TEXT(A2,"[hh]:mm:ss") does work for negative
durations.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #google #sheets #format #number #duration #formula
ADD COMMENT
Topic
Name
8+7 =