schielrn
Well-known Member
- Joined
- Apr 4, 2007
- Messages
- 6,941
I thought this may be a good place for this. I came across a co-workers spreadsheet and they had it set up where they were doing subtotals of a column, but for some reason were also using subtotals for the row totals, but were never hiding or unhiding the rows. BUT the weird thing I noticed is that the subtotal did not work on rows that had subtotals in them as well (See G1 for the total of that column?)
Can anyone explain why this phenomenon is happening? It seemed really strange to me.
Excel Workbook | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | 5212 | 7343 | 4426 | 4414 | 4734 | 0 | |||
2 | Location | Jan | Feb | March | April | May | YTD Total | ||
3 | 1 | 517 | 933 | 633 | 318 | 775 | 3176 | ||
4 | 2 | 622 | 879 | 763 | 222 | 731 | 3217 | ||
5 | 3 | 62 | 0 | 131 | 303 | 624 | 1120 | ||
6 | 4 | 840 | 611 | 606 | 99 | 219 | 2375 | ||
7 | 5 | 466 | 901 | 141 | 832 | 594 | 2934 | ||
8 | 1 | 111 | 956 | 147 | 571 | 456 | 2241 | ||
9 | 4 | 588 | 555 | 297 | 197 | 345 | 1982 | ||
10 | 5 | 607 | 971 | 944 | 574 | 32 | 3128 | ||
11 | 2 | 496 | 614 | 166 | 849 | 659 | 2784 | ||
12 | 6 | 903 | 923 | 598 | 449 | 299 | 3172 | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B1 | =SUBTOTAL(9,B3:B12) | |
C1 | =SUBTOTAL(9,C3:C12) | |
D1 | =SUBTOTAL(9,D3:D12) | |
E1 | =SUBTOTAL(9,E3:E12) | |
F1 | =SUBTOTAL(9,F3:F12) | |
G1 | =SUBTOTAL(9,G3:G12) | |
G3 | =SUBTOTAL(9,B3:F3) | |
G4 | =SUBTOTAL(9,B4:F4) | |
G5 | =SUBTOTAL(9,B5:F5) | |
G6 | =SUBTOTAL(9,B6:F6) | |
G7 | =SUBTOTAL(9,B7:F7) | |
G8 | =SUBTOTAL(9,B8:F8) | |
G9 | =SUBTOTAL(9,B9:F9) | |
G10 | =SUBTOTAL(9,B10:F10) | |
G11 | =SUBTOTAL(9,B11:F11) | |
G12 | =SUBTOTAL(9,B12:F12) |
Can anyone explain why this phenomenon is happening? It seemed really strange to me.