1The accepted answer works for formatting a whole cell, but I wanted to
2format only a part of the contents of a cell. I had tried using
3TEXT(A2,"hh:mm:ss") but this is a date format and so does not work for
4negative durations. However, TEXT(A2,"[hh]:mm:ss") does work for negative
5durations.