One diagram with different numbers of X-axes

mrmean

New Member
Joined
May 13, 2010
Messages
3
Hi I would like to create a diagram that should be able to change its content from a dropdown list. The dropdown should contain Days, Weeks, Month, and Quarters. My problem is that the number of entities on the X-axel is different from what I select in the drop dropdown list. Days have 31 different values on the X-axel, weeks have 13 values, Months have 12 values while quarters has only 4 values.

I would like to make the graph understand that if I select days from the dropdown list it should make room for all 31 different values, if I however select quarters the graph should adapt so that the piles are wider and there is only room for 4 piles and so on.

At the moment I have defined the graph to always look at row 2-32 regardless of what the dropdown states and hence the graph only looks good when I select days.

I may not use pivot tables to solve the problem

Anyone who know the solution for this or could give me a hint on how to continue?

Br
Martin
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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