Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

Two top easiest ways to create a dynamic range in Excel chart

In Excel, you may insert a chart to more directly display the data for others. But in general, the data in the chart cannot be updated while new data added in the data range. In this article, it will provide two easiest ways to create a dynamic chart which will automatically change with the data range in Excel.

Create a dynamic chart data range with the Table

Create a dynamic chart data range with the Named Ranges and formula

Sample file


Create a dynamic chart data range with the Table

1. Select the data range you will use to create a chart, then click Insert > Table.
doc dynamic range 1

2. In the popping dialog, check My table has headers option as you need, and click OK..
doc dynamic range 2

Now keep the table selected, click Insert tab, and select a chart type to create a chart.

From now on, the data in chart will be updated automatically while data changed or added in the table.
dynamic chart range


Create a dynamic chart data range with the Named Ranges and formula

1. Click Formulas > Define Name.
doc dynamic range 3

2. In the popping New Name dialog, type a name into the Name textbox, supposing chartmonth, then type below formula to the Refers to textbox. Then click OK.

=OFFSET('named range'!$A$2,0,0,COUNTA('named range'!$A:$A)-1)

In the formula, named range is the sheet that you place the source data for the chart, A2 is the first cell of the first column in data range.
doc dynamic range 4

3. Repeat step 1 and step 2 to create a new named range with formula. In the New Name dialog, give a name, supposing chartsales, then use below formula.

=OFFSET('named range'!$B$2,0,0,COUNTA('named range'!$B:$B)-1)

In the formula, named range is the sheet that you place the source data for the chart, B2 is the first cell of the second column in data range.
doc dynamic range 5

4. Then select the data range and click Insert tab, then choose one chart type as you need in the Chart group.
doc dynamic range 6

5. Then right click at the series in the created chart, in the context menu, click Select Data.
doc dynamic range 7

6. In the Select Data Source dialog, click Edit in the Legend Entries (Series) section, then in the popping dialog, use below formula to the Series value textbox to replace the original values, click OK.

='dynamic chart range.xlsx'!chartsales

dynamic chart range is the active workbook name, chartsales is the named range you created before, which contains the values.
doc dynamic range 8doc dynamic range 9

7. Back to Select Data Source dialog, then click Edit in the Horizontal (Category) Axis Labels section. And in the Axis Labels dialog, use below formula to the Axis label range textbox, then click OK.

='dynamic chart range.xlsx'!chartmonth

dynamic chart range is the active workbook name, chartmonth is the named range you created before, which contains the labels.
doc dynamic range 10doc dynamic range 11

From Now on, the chart data range can be updated automatically when you add, delete, or edit data in the two defined named ranges.
dynamic chart range 2


Sample file

Click to download sample file


Other Operations (Articles)

Quickly and automatically insert date and timestamp in Excel
In Excel, inserting date and timestamp is a normal operation. Here in this tutorial, I will introduce multiple methods on manually or automatically inserting date and timestamp in Excel cells by providing different cases.

7 easy ways to insert delta symbol in Excel
Sometimes, you may want to insert the delta symbol Δ while you are stating data in Excel. But how can you quickly insert the delta symbol in an Excel cell? In this tutorial, it provides 7 easy ways for inserting the delta symbol.

Quickly insert space between each row in Excel
In Excel,you can use the right click menu to select a row above active row, but do you know how to insert blank rows in each row as below screenshot shown? Here I introduce some tricks on solving this job quickly.

Insert tick mark or tick box in Excel cell
In this article, I introduce some different ways to insert trick marks or trick boxes in Excel worksheet.



  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns and Keeping Data; Split Cells Content; Combine Duplicate Rows and Sum/Average... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Favorite and Quickly Insert Formulas, Ranges, Charts and Pictures; Encrypt Cells with password; Create Mailing List and send emails...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • Pivot Table Grouping by week number, day of week and more... Show Unlocked, Locked Cells by different colors; Highlight Cells That Have Formula/Name...
kte tab 201905
  • 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!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.