Cell reference for sheet name in chart data source

bradams

New Member
Joined
Oct 23, 2012
Messages
40
Goal: Create a set of charts on Excel worksheet, copy the worksheet, change the country name, have the charts' data sources update automatically.

I'm fairly confident this can be done. I've tried searching (both here and the broader general) but I keep finding answers about using table names or range names so a chart will update to include any new data. That's not what I am after. I need to create the same set of 10 charts for 10 different countries. I have identically-formatted data sheets for each country (the sheet name is simply the country name). I am trying to avoid having to manually update the data source information 100 times. Instead, I would like to find a way to use a cell reference with the country name. Then I can create a sheet with the charts for the first country, copy that sheet, update the cell to a new country name, and have all the charts update using the new country's data. Possible? I know that you cannot use INDIRECT in the chart data source.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,223,237
Messages
6,170,924
Members
452,366
Latest member
TePunaBloke

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