The information in this article applies to:
SYMPTOMSThe SUBTOTAL worksheet function may include data from hidden rows when the subtotal is calculated. This behavior occurs even when the data is hidden when you filter the list. CAUSEThis behavior occurs when you use defined names instead of cell references to describe the range for the SUBTOTAL function. For example, in the following formulas =SUBTOTAL(9, mary:joe)-or- =SUBTOTAL(9, B2:Joe)"Joe" and "Mary" are defined names that each refer to a cell. NOTE: This problem will also occur if you use the INDRIECT function to refer to the starting point or ending point of a cell range. NOTE: When you use a defined name that references the entire range, the problem does not occur. For example, when you use a defined name called "Area" that references a cell range, such as B2:B8, the following formula =SUBTOTAL(9, "Area")does not exhibit the problem. This problem does not occur in earlier versions of Microsoft Excel. WORKAROUND
To work around this problem, do either of the following:
STATUSMicrosoft has confirmed this to be a problem in Microsoft Excel 97. REFERENCESFor more information about the SUBTOTAL worksheet function, click the Index tab in Microsoft Excel Help, type the following text SUBTOTAL worksheet functionand then double-click the selected text to go to the "SUBTOTAL" topic. Additional query words: XL97 wrong incorrect total exclude
Keywords : xlformula |
Last Reviewed: November 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |