One (dynamic?) chart for several data sheets

flightjock

New Member
Joined
Mar 18, 2002
Messages
48
I have a quite large number of sheets e.g. sheets A, B, C,.... in one workbook. Each sheet contains data in a number of columns where the sheet layout is identical for all sheets. Several not necessarily adjacent columns are used to produce a chart for each sheet.
The end result is a large number of identically formatted charts each one reflecting the data in one of the worksheets.
What I would really like is one chart that can be dynamically linked to all worksheets with some kind of method to select the desired data from one of them.
Is this possible?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
You could do it a few ways:
1. With code.
2. You could have an additional sheet that the chart is linked to, and use formulas on that sheet using the INDIRECT function combined with a sheet name stored in a cell to retrieve the data from that sheet. When you change the sheet name, the data would update to reflect the new sheet name and the chart would update too.
3. You can do step 2 using defined names referencing the cell containing the sheet name - same effect, but you wouldn't need the additional worksheet (though having the additional sheet can be useful for printing the data with the chart)
HTH
 
Upvote 0

Forum statistics

Threads
1,214,563
Messages
6,120,248
Members
448,952
Latest member
kjurney

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