Skip to main content

How to auto update a chart after entering new data in Excel?

Author: Xiaoyang Last Modified: 2024-08-22

Supposing you have created a chart to track the daily sales based on a range of data in your workbook. But you need to change or edit the number of the data every day, in this case, you have to update the chart manually so it includes the new data. Are there any quick tricks to help you auto update a chart when you add new data to an existing chart range in Excel?

Auto update a chart after entering new data with creating a table

Auto update a chart after entering new data with dynamic formula


arrow blue right bubble Auto update a chart after entering new data with creating a table

If you have the following range of data and column chart, now you want the chart update automatically when you enter new information. In Excel 2007, 2010 or 2013, you can create a table to expand the data range, and the chart will update automatically. Please do as this:

sample data and chart

1. Select the data range and click Table under Insert tab, see screenshot:

click Table under Insert tab

2. In the Create Table dialog box, if your data has headers, please check My table has headers option, then click OK. See screenshot:

set options in the Create Table dialog box

3. And the data range is formatted as a table, see screenshot:

the data range is converted to table

4. Now, when you add values for June, and the chart will be updated automatically. See screenshot:

add values in the table, the chart will be updated automatically

Notes:

1. Your new entering data must be adjacent to the above data, it means there is no blank rows or columns between the new data and the existing data.

2. In the table, you are able to insert data between the existing values.

a screenshot of kutools for excel ai

Unlock Excel Magic with Kutools AI

  • Smart Execution: Perform cell operations, analyze data, and create charts—all driven by simple commands.
  • Custom Formulas: Generate tailored formulas to streamline your workflows.
  • VBA Coding: Write and implement VBA code effortlessly.
  • Formula Interpretation: Understand complex formulas with ease.
  • Text Translation: Break language barriers within your spreadsheets.
Enhance your Excel capabilities with AI-powered tools. Download Now and experience efficiency like never before!

arrow blue right bubble Auto update a chart after entering new data with dynamic formula

But sometimes, you don’t want to change the range to table, and the above method is not available in Excel 2003 or earlier version. Here I can introduce you a complex dynamic formula method. Take the following data and chart for example:

sample data and chart

1. First, you need to create a defined name and a dynamic formula for each column. Click Formulas > Define Name.

2. In the New Name dialog box, enter Date into the Name box, and choose current worksheet name from Scope drop down list, and then enter =OFFSET($A$2,0,0,COUNTA($A:$A)-1) formula into the Refers to box, see screenshot:

set options in the New Name dialog box

3. Click OK, and then repeat the above two steps, you can create a dynamic range for each series using the following range names and formulas:

  • Column B: Ruby: =OFFSET($B$2,0,0,COUNTA($B:$B)-1);
  • Column C: James: =OFFSET($C$2,0,0,COUNTA($C:$C)-1);
  • Column D: Freda: =OFFSET($D$2,0,0,COUNTA($D:$D)-1)

Note: In the above formulas, the OFFSET function refers to the first data point, and the COUNTA refers to the entire column of data.

4. After defining the names and formulas for each column data, then right click any column in your chart, and choose Select Data, see screenshot:

choose Select Data from right click menu

5. In the Select Data Source dialog box, from Legend Entries(Series) section, click Ruby and then click the Edit button, in the popped out Edit Series dialog, enter =Sheet3!Ruby under Series values section, see screenshots:

set options in the Select Data Source dialog box
arrow down
enter a formula into the Series values dialog

6. And then click OK to return to the Select Data Source dialog, repeat the step 5 to update the remaining series to reflect their dynamic ranges:

  • James: Series values: =Sheet3!James;
  • Freda: Series values: =Sheet3!Freda

7. After setting the left data, now you need to click Edit button under Horizontal (Category) Axis Labels to set this option, see screenshots:

click Edit button under Horizontal (Category) Axis Labels
arrow down
set Axis Labels range

8. Then click OK > OK to close the Select Data Source dialog, after finishing these steps, you'll find that the chart updates automatically when you add new data to the worksheet.

the chart updates automatically when typing new data

Notes:

  • 1. You must enter new data in a contiguous manner, if you skip rows, this method will not work as expected.
  • 2. If you enter new column data, this method will not take effect.

Related articles:

How to add a horizontal average line to chart in Excel?

How to create combination charts and add secondary axis for it in Excel?

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!