Excel: Chart Changes When Inserting or Deleting Columns/Rows

Last reviewed: November 2, 1994
Article ID: Q61831

SUMMARY

In Microsoft Excel, charts use absolute references to the worksheet to obtain charting information. When a row or column is deleted or inserted, the information on the spreadsheet is moved. Thus, the links on the chart are not updated and point to the wrong cells.

To allow insertion and deletion of rows or columns, use defined names when referencing the cells on the worksheet. When rows or columns move due to an insertion or deletion, the defined names are adjusted along with the charts.

Note: When the chart is reopened independently, you are asked about updating links to a closed document. If there were no changes to the worksheet, then you can click No. If the worksheet was changed, it must also be open for the links to be properly accessed. This is due to the complex nature of the links.

Example

If a chart series resembles

   =SERIES(,,$A$1:$A$20,1)

select the range A1:A20 on the supporting worksheet and choose Define Name from the Formula menu. Name the range (for example, "Series1").

Then change the range in the SERIES() formula to be the following:

   =SERIES(,,Series1,1)

When rows or columns are inserted or deleted, the charts are also updated if both the worksheet and chart are open.


KBCategory: kbother
KBSubcategory:

Additional reference words: noupd


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.