Dynamic Graph Range

Nivvy

New Member
Joined
Dec 16, 2020
Messages
2
Office Version
  1. 2010
Platform
  1. Windows
I have a simple line graph of a column of data, something like: =Table!$C$1:$D$1500.

However, the data is added to regularly, so the upper limit needs to be dynamic (lower limit is fixed at C1).
I can use the COUNT function to calculate the upper limit, but have no idea how to use it for a dynamic range?
i.e. The count value, with any offset removed, I can put in say cell F3, so I need the graph range to be
something like:

=Table!$C$3:$D$(contents(F3)).

I've not found a way to do this, using a dynamic reference for the upper limit; any help very welcome.
 

Some videos you may like

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

GWteB

Well-known Member
Joined
Sep 10, 2010
Messages
1,295
Office Version
  1. 2013
Platform
  1. Windows
Hi Nivvy, welcome to MrExcel.

I would recommend to convert the data range on your worksheet to a table. Select your range (C1:D1500) > Ribbon > Home > Format as Table
The moment data is added in cell D1501 your graph will be updated automatically, ie the chart data range will change to =Table!$C$1:$D$1501.
 

Nivvy

New Member
Joined
Dec 16, 2020
Messages
2
Office Version
  1. 2010
Platform
  1. Windows
Hi Nivvy, welcome to MrExcel.

I would recommend to convert the data range on your worksheet to a table. Select your range (C1:D1500) > Ribbon > Home > Format as Table
The moment data is added in cell D1501 your graph will be updated automatically, ie the chart data range will change to =Table!$C$1:$D$1501.
Thany you. So simple!
 

GWteB

Well-known Member
Joined
Sep 10, 2010
Messages
1,295
Office Version
  1. 2013
Platform
  1. Windows
You are welcome!
 

Watch MrExcel Video

Forum statistics

Threads
1,123,253
Messages
5,600,544
Members
414,387
Latest member
Vincent88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top