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.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
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.
 
Upvote 0
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!
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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
Back
Top