Debbie said:
Apparently that means 86 minutes. What would 101 minutes look like: 1.01,
1.41 (!) or 0.101 (!!)?
If 0.101, 100*SUM(D1
10)/1440 will not work.
I would suggest that you dispense with this unusual representation of time
and convert it to the well-understood form h:mm. Then you can compute
simply SUM(D1
10). (But if you use the 0.101 form (!!), that will
complicate the conversion.)
In any case, the sum of time values might yield suprising results because of
numerical abberations due to the way that Excel (and most applications)
represents numbers with decimal fractions.
To avoid that, you might consider
using --TEXT(100*SUM(D1
10)/1440,"[h]:mm") with the Custom format [h]:mm..
Alternatively, if you convert to the h:mm form,
use --TEXT(SUM(D1:10),"[h]:mm"). (Note: the double-minus "--" is not a
typo.)
That will ensure that the internal representation of the displayed result
matches exactly a constant or result from another formula that has the same
displayed appearance (assuming you use the same --TEXT() trick in other time
formulas.)
For example, consider 11 time values in D1
11, each of which is 0.01 (or
0:01). 100*SUM(D1
11)/1440 with the Custom format [h]:mm (or simply
SUM(D1
11)) in A1 does not exactly match 0:11 in A2, if you look at the
internal representation. (The displayed appearance will be the same.)
Consequently, 60*(A1-A2) results in "####" when using 0.01, and 60*(A2-A1)
results in "####" when using 0:11, which indicates negative time (!).
----- original message -----