Are you asking seriously or are you joking ?
In this thread, on 21 août 2008 21:58
you posted a screenshot giving the response.
Here it is one more time with a complementary formula.
In column D the duration is calculated (in decimal days) with the quick and dirty formula
=C-B
in D9 a quick and dirty formula calculates the sum of these durations(always in decimal days)
=SUM(D2:D5)
in E9, a quick and dirty formula calculates the part of the total duration fitting in the range 00:00:0 … 23:59:59
=TIME(0,0,ROUND(MOD(D,1)
24*6060,0))
in F9 is one kind of formula displaying the total sum:
=IF(D>=1,INT(D)&" day ","")&E
I don't like it because it is language specific.
in G9 is an other kind of formula displaying the total sum:
=IF(D<1,E,INT(D)*60+LEFT(E,2)&RIGHT(E,LEN(E)-2))
in H9 is the new one used to display the total sum:
=IF(D<1,E,INT(D)*60+HOUR(E)&":" &RIGHT("00"&MINUTE(E),2))
It's my preferred one
It's your task to use the one which fits your needs.
Some users accept perfectly a duration displayed in decimal days as in D9
Others wish to display a more conventional way. This is what are doing the formulas in F9, G9 and H9.
Of course, for those running Numbers inEnglish but using the decimal comma, replace the commas by semi-colons in the given formulas.
Yvan KOENIG (from FRANCE samedi 23 août 2008 15:24:16)