Skip to main content

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

Author: Xiaoyang Last Modified: 2020-04-26

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:

doc-update-chart1

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

doc-update-chart2

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

doc-update-chart3

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

doc-update-chart4

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

doc-update-chart5

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.


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:

doc-update-chart6

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:

doc-update-chart7

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:

doc-update-chart8

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:

doc-update-chart9
-1
doc-update-chart10

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:

doc-update-chart11
-1
doc-update-chart12

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.

doc-update-chart13

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.

Tip.If you want to quickly export range contents from sheet to a graphic, please try to use the Kutools for Excel’s Export Range as Graphic as shown in the following screenshot. It’s full function without limitation in [module 745} days, please download and have a free trial now.

Export graphics (Pictures/Charts/Shapes/All Types) from workbook to a folder as Gif/Tif/PNG/JPEG

If there are multiple type of graphics in a workbook, and you just want to export all charts across worksheet to a folder as gif of other type of picture, you can use Kutools for Excel's Export Graphics utilty, which only need 3 steps to handle this job . Click for full-featured 30 days free trial!
doc export graphics
 
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

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

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...

Description


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!
Comments (21)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Good afternoon, I have a table for calculating points, on another sheet. is needed on another sheet so that there is an automatic sorting of commands by place
This comment was minimized by the moderator on the site
What if the months were in the columns and you had data series in the rows, how would you do the formula then?
This comment was minimized by the moderator on the site
Doesnt work or not applicable. My chart already refers to the correct data automatically... data is directed to table columns. The problem is the GRAPH wont update.
This comment was minimized by the moderator on the site
HI,
This trick doesnt work if you want to add new columns. This trick is for fixed columns. What if there is a data yearwise in columns and every year a new year column is added so how will it get added to the chart ??

Any idea you can suggest ??

Cheers,

Mufaddal
This comment was minimized by the moderator on the site
when I type in cell any no. like - 210 it reflect as = 2.10 , no formula is taking place why? any no. shows devide by 100 as I mentioned , decimal comes automatically how to resolve this ?
There are no comments posted here yet
Load More
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations