How to create a dynamic chart with sliding X axis

scottb80

New Member
Joined
Sep 21, 2009
Messages
2
I've been trying to create a dynamic line chart for a data series that consists of about 24 months of data. I've used Named Ranges with Offset/Counta, and a scroll bar to move the chart, but in all cases, the starting date of the chart is fixed, due to the Offset command requiring a cell reference in it's first variable. What I want to accomplish is a chart that displays six months of data at a time, and a scroll bar that will allow the user to scroll throught the 24 months of data, back and forth, one month at at time.

I tried using something like =OFFSET(ADDRESS(variable,variable), etc. but this wouldn't work.

Any help would be aprreciated.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,215,460
Messages
6,124,949
Members
449,198
Latest member
MhammadishaqKhan

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