Way to input chart data range through value in cell

Status
Not open for further replies.

chielvandijk

New Member
Joined
Dec 27, 2015
Messages
7
Hello,

I'll get straight to my problem.
I have a sheet filled with graphs and one dropdown menu (7 menu options).
Another sheet is filled with values per category (one graph per category in the other sheet) and also contains one dropdown menu (with the same link as the one in the other sheet).
Each of the menu options from the dropdown causes the values to change, which it also does in the graphs.
But because every menu options causes the amount of values along the x-axis to change, I need my chart's data range to change as well.
In a third sheet I have formulas (generated through the dropdown link number) which calculate the range.
I need a way (dynamic range, or VBA for instance) to get this range as my graph's data range, instead of the cell in which the range can be found becoming the range. And the range needs to change along with the formula's output change when the dropdown menu is changed.

I hope someone will be able to help me.


Michiel
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,216,114
Messages
6,128,913
Members
449,478
Latest member
Davenil

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