Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9831

How to format time duration in a mixed string/number cell?

$
0
0

I have a cell that I would like to format as follows (and with the desired values):

3:15 / 48:00 (-44:45)

Here is what I have tried (attempting to the use the TEXT function):

=text(sum(B4:4)*24,"hh:mm")&" / "&text(sum(B1:1),"hh:mm")&" ("&text( (sum(B4:4)*24)-sum(B1:1),"hh:mm" )&")"

However that gives an output of:

06:00 / 00:00 (06:00)—the numbers are quizically wrong!

Please see my reference sheet here.


Viewing all articles
Browse latest Browse all 9831

Latest Images

Trending Articles



Latest Images