BRUCE STUBBLEFIELD said:
Using Excel 2004 for Mac on OS 10.5.8.
I know nothing about the Mac and Excel 2004 for the Mac.
The following is written from the perspective of Excel and Windows on
non-Mac computers. I suspect that similar principles apply to the Mac.
BRUCE STUBBLEFIELD said:
I have a column of 61 entries, all formatted HH:MM:SS
(I checked the formatting). I have 3 totals for the column.
1: sum of all entries, =0:59:34
2: sum of "A" songs, =0:35:29
3: sum of "B" songs. =0:24:36
4: sum of "A" total + "B" total =1:00:05.
This is a check sum field that should match #1 above,
but doesn't. [....]
Some formatting or other obscure thing?
Formatting should make no difference, unless Excel 2004 for the Mac has the
"Precision as displayed" calculation option (PAD), and you enabled PAD. Did
you?
In any case, it is probably an issue with rounded v. unrounded sums, which I
will demonstrate below.
In order for us to know "for sure", we would need to see the Excel file.
Normally, we suggest that you upload an example Excel file to a file-sharing
website and post the URL (aka link;
http://...) of the "shared" file in a
response here. The following is a list of some free file-sharing websites;
or use your own.
Box.Net:
http://www.box.net/files
Windows Live Skydrive:
http://skydrive.live.com
MediaFire:
http://www.mediafire.com
FileFactory:
http://www.filefactory.com
FileSavr:
http://www.filesavr.com
FileDropper:
http://www.filedropper.com
RapidShare:
http://www.rapidshare.com
However, the fact that you are using Excel 2004 for the Mac will present
problems for the majority us, I believe. If you can save the Excel file in
a form that is compatible with non-Mac Excel versions, great! Otherwise, a
"csv" file would be useless for our purposes, I believe.
So you might need to work through the following on your own.
I suspect that the sums for #2 and #3 are rounded to the second, whereas the
sum for #1 is "exact" (within the precision of the way that Excel represents
time internally).
To demonstrate, I created an Excel file where column A contains a list of 31
times ("A" songs), and column B contains a list of 30 times ("B" songs).
The key thing to note is: the times are accurate to 1/10-second, even
though they might be formatted as hh:mm:ss. (Note: I do __not__ set PAD.)
The sums for #2 and #3 are created with formulas of the form
=SUMPRODUCT(--TEXT(A2:A32,"hh:mm:ss")). That computes a rounded sum. The
results are 00:35:29 and 00:24:36 respectively. And if we sum those totals
(#4), the result is 01:00:05.
However the sum for #1 is created with the formula =SUM(A2:B32). In my
case, the result is 0:59:34.600. In your case, the sum might be between
0:59:33.500 and 0:59:34.499. So my result differs by only 0.200 sec. (I
just got tired fiddling with the numbers.)
For this example, the values in column A are: 21 values 00:01:09.500, 9
values of 00:01:05.500, and 1 value of 00:01:04.600.
The values in column B are: 6 values of 00:00:45.500, 18 values of
00:00:46.500, and 6 values of 00:00:58.500.
Obviously, these are contrived values. Your data are probably very
different.
But my example demonstrates the circumstances that might lead to the results
that you see. That is: it is possible for the rounded and unround sums to
differ by so much.
The remedy depends on what you want for a result. Only you can answer that.
And the implementation of a solution will depend on details that you have
not revealed to us; for example the formulas used, the state of Excel
options (notably PAD), etc.