XL: Consolidated Labels Use Name of Workbook Instead of SheetID: Q126100
|
In Microsoft Excel, when you use the Consolidate dialog box to consolidate data on worksheets that are contained in the same workbook, if you choose to display the left column labels, and you click the "Create Links To Source Data" check box, summary labels in the left column display the name of the workbook instead of the sheet name.
This behavior occurs because the Consolidate dialog box does not determine
that the consolidated data is contained on worksheets in the same workbook
and that the workbook name does not distinguish where the data is located.
For example, if you consolidate data from Sheet1 and Sheet2 in BOOK1, and
you click the Left Column check box (under Use Labels In) and the Create
Links To Source Data check box, the consolidated data may appear as
follows:
A1: B1: BOOK1 C1: 1000
A2: B2: BOOK1 C2: 1000
A3: sales B3: C3: 2000
To work around this behavior, on each of the worksheets that you are
consolidating, create a local defined name called sheet_title that refers
to a cell that contains the worksheet name or the title that you want to
appear in the consolidated data. To do this, follow these steps:
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
When you use the Consolidate dialog box, the Use Labels In check box
allows you to choose whether to use labels from the top row of the source
areas, from the left column, both, or neither. These check boxes are
meaningful only when you consolidate data by category. Multiple source
areas must be laid out and labeled identically for this option to work
accurately. When you consolidate data by category, be sure to include the
category labels in the source areas you select for your consolidation.
Microsoft Excel transfers these labels to the destination area for you.
The "Create Links To Source Data" check box creates links from the
destination area to the source areas when you consolidate data so that the
destination area will be automatically updated whenever the source data
changes. Microsoft Excel creates a linking formula for every cell and
inserts rows or columns into the destination area to hold the linking
formulas for each piece of source data. The destination area is then
grouped with linking formulas placed in hidden rows or columns subordinate
to positions or categories in the destination area.
consolidating data
consolidating data
Additional query words: 5.00c
Keywords : kbdta xlformula
Version : WINDOWS:5.0,5.0c,7.0,97; MACINTOSH:5.0,5.0a
Platform : MACINTOSH WINDOWS
Issue type : kbbug
Last Reviewed: July 23, 1999