An example would be population records such that each
record has a state, county, and city identifier.
Each of the identifiers is numeric, i.e. state = 1 for
Alabama. County = 1 for Abraham, city = 1 for Altoona and
so on.
I have sorted the data on on column a, b, c for state,
county, city.
I first subtotal for changes in column 1 which works
correctly and gives me subtotals by state.
I next subtotal with the break on column 2 without
replacing subtotals and this works correctly giving me
subtotals by county within state.
I finally subtotal with the break on column 3 without
replacing subtotals. The results are now totally
inconsistent.
Some Column 3 cities now fall outside their counties and
break at a different level.
I do not understand why this is happening.
Any help would be appreciated.
If that's incorrect, then I don't have a second guess.
But I do have a suggestion. You may want to look at Data|pivottable.
You won't have to sort and you'll end up with just the summary.
If you don't like that, you might be able to find the problem by using a helper
column:
In new column A (A2 and drag down)
=B2&"-"&c2&"-"&d2
Then do one subtotal against that concatenated field.
--
Dave Peterson
ec3...@msn.com
"cmcfalls >" wrote:
> I am having the same problem. I work for a large company and they have
> released Office 2003 for distribution to everyone and we are all having
> this problem. If your data is sorted correctly and your subtotals
> worked before, I'd say its a bug in Excel 2003 that will have to be
> corrected with a service pack. Our IT people can not fix it either.
>
> At least you can get your level 2s to subtotal correctly, mine stops at
> 1s.
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>
>
I got in contact with Microsoft and there is a fix for this that
requires an update to the registry to tell Excel 2003 to use the Excel
97 subtotal method since the new code subtotals incorrectly. I updated
my registry and the subtotaling now works. The registry entry that
needs to be added is:
Add the following registry key to -
HKEY_CURRENT_USER\software\microsoft\office\11\excel\options
Dword = Excel97Subtotals
Value = 1
Be sure to backup the registry before updating.
Dogs 2
Cats 3
Birds 4
Animals 10
Frogs 1
=======
The problem may be corrected by installing this hotfix:
http://support.microsoft.com/default.aspx?id=833855
You can visit this page on the Microsoft site, to check which Office
updates should be installed:
http://office.microsoft.com/en-ca/officeupdate/default.aspx
--
Dave Peterson
ec3...@msn.com
His answer was:
It's mostly just people helping people (not saying that MS employees aren't
people <bg>).
But I'd read the KB article and double check that you did it correctly.
Multilevel subtotals are in the wrong position in Excel 2002 and in Excel 2003
http://support.microsoft.com/default.aspx?scid=kb;en-us;831824
GantryG wrote:
>
> Hmmm, we have this problem with a fully-patched Excel 2003 unit, and the
> registry fix below did not seem to help. Any one have any other suggestions
> (MS?)
>
> Thanks,
> -Gantry
--
Dave Peterson
Thanks,
-Gantry