Is it Possible for Excel to select Column Chart Data Source Dynamically??

Kingkoopa

Board Regular
Joined
Aug 7, 2014
Messages
94
Hey Guys,

Currently using windows 10 and Excel 2010.

Is there a way for excel to select the data source for Column Charts Dynamically?

Example :

AustraliaVietnamIndonesiaMexico
Quarter 110572
Variance 18350
Quarter 211486
Variance 27042
Quarter 2 vs Quarter 1-3-5-30

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>

If I have a drop down list. That has Quarter 1, Quarter 2 and Summary.

1) If I chose Quarter 1 then graph would select Quarter 1 & Variance 1 data.
2) If I chose Quarter 2 then graph would select Quarter 2 & Variance 2 data.
3) If I chose Summary then graph would select Quarter 1 & Quarter 2 & Quarter 2 vs Quarter 1 data.

Currrently I can do 1) & 2) no issues by using vlookup to change the data output when different drop down list is selected. Problem arises when I try to include 3) as now I need to select 3 different rows of data.

Any idea guys, how I can incorporate them into a single dynamic graph? . Sorry if it sounds confusing. :(

Thank you
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
If you're doing this how I think you are then you could add another data source that resolves to NA() unless your drop down box is equal to Q1 vs Q2?

Code:
=IF([DropDown]<>Q1vQ2,NA(),VLOOKUP(Etc. Etc.)

The #NA values would simply not be plotted on your Graph until the VLOOKUP populates?
 
Upvote 0

Forum statistics

Threads
1,215,227
Messages
6,123,745
Members
449,116
Latest member
alexlomt

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