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

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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