How to make a Dynamic bar chart

PortoMarco

New Member
Joined
Jul 10, 2014
Messages
21
Thanks everyone for helping me so much on this site. My excel knowledge is growing leaps and bounds every day.

I have another question.

First; here is the structure of my file.

Four tabs

1) Analysis
2) Data Group 1
3) Data Group 2
4) Inputs

In the analysis tab in cell B48 I have a dropdown box with all the months (Jan through to August)

In the input tab I have in J9:V9 a row of all the months (Jan through to Dec, J9 is blank, K9 is where Jan starts)
In the input tab from J10 to J30 I have my data range from -1 to +1 in increments of 0.1.
In the input tab from K10:V30 I have the following countif function: =COUNTIFS('Data Group 1'!$A$3:$A$261;Analysis!$B$2;'Data Group 1'!H$3:H$261;">"&$J10;'Data Group 1'!H$3:H$261;"<"&$J11) The countif returns to me all the observations from the Data Group 1 tab between (hypothetically) 0.2 and 0.3, like below:

[TABLE="width: 146"]
<colgroup><col span="2"></colgroup><tbody>[TR]
[TD] [/TD]
[TD="align: right"]janv-14[/TD]
[/TR]
[TR]
[TD="align: right"]-1[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]-0,9[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]-0,8[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]-0,7[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]-0,6[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]-0,5[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]-0,4[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]-0,3[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]-0,2[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]-0,1[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]0,1[/TD]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD="align: right"]0,2[/TD]
[TD="align: right"]29[/TD]
[/TR]
[TR]
[TD="align: right"]0,3[/TD]
[TD="align: right"]32[/TD]
[/TR]
[TR]
[TD="align: right"]0,4[/TD]
[TD="align: right"]34[/TD]
[/TR]
[TR]
[TD="align: right"]0,5[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]0,6[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]0,7[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]0,8[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]0,9[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]

The problem is that my bar chart on the analysis tab has that range "hard coded" meaning to see Februarys data I have to manually go into the chart and select the next data range. What I would like is for the chart to automatically refresh when I select a new date from B48 in the analysis tab.

Thanks
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,222,437
Messages
6,166,022
Members
452,008
Latest member
Customlogoflipflops

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