Trouble with a Dynamic Clustered Stacked Column Graph in Excel 2007

DaveBre

New Member
Joined
May 4, 2013
Messages
11
Hi All,

I'm looking for some help with a dynamic clustered stacked column graph. I've been using the fantastic guide provided by Jon Peltier http://peltiertech.com/WordPress/clu...mn-bar-charts/ which has gotten me 1/2 way to my goal, but I can't get the chart to work dynamically (it's missing out some of the series in the later fortnights..

I'm designing the spreadsheet for use by people not particularly proficient in excel, so it's important that they can simply key in the data and the chart then works dynamically to change (InputData tab).

I've currently got 10 series (of which 6 are displayed below due to space) which shouldn't change over time, but each passing fortnight new data will need to be entered for the 10 series. The chart needs to display the previous 6 or 12 fortnights worth of data which I'm using the ChtLen1 named range. The other named ranges use OFFSET formulas

Any help you could offer would be appreciated, I've got a number of other charts to work dynamically but only where there is one entry for the dates on the left hand side i.e 21/2011 them 23/2011 on the following row

Thanks

David


Input Data Tab

Length 40
Bought and Sold

Week Type A Bought Type A Sold Type B Bought Type B Sold Type C Bought Type C Sold
21/2011 10 16
21/2011 23 8
21/2011 4 8

22/2011 10 15
22/2011 10 9
22/2011 5 9

23/2011 10 9
23/2011 5 9
23/2011 5 9

I'm using dynamic named ranges for the the series along the top (Type A Bought week 21/2011 =OFFSET(chtCats1,0,1)

The formula for ChCats1 is
=OFFSET(InputData!$A$7,COUNTA(InputData!$A:$A)-2,0,-MIN(chtLen1,COUNTA(InputData!$A:$A)-2),1)

And the formula =InputData!$B$4 for ChLen1





 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
WeekType A BoughtType A SoldType B BoughtType B SoldType C BoughtType C Sold
21/20111016
21/2011238
21/201148
22/20111018
22/20112015
22/2011610
23/20111218
23/20112318
23/2011108

<TBODY>
</TBODY>


Just realised that the table didn't insert properly, this is how the input sheet looks.

Thanks
 
Upvote 0

Forum statistics

Threads
1,212,927
Messages
6,110,703
Members
448,293
Latest member
jin kazuya

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