Dynamic Chart Range displaying only the first value

rituna

New Member
Joined
Jan 21, 2016
Messages
6
Hi,

I'm trying to make a dynamic chart that would only display data up to the current month, i.e. whenever data for a new month are entered, the chart range should update automatically based on named formulas. The data looks as follows:

monthstage
I.152.2%
II.151.9%
III.151.5%
IV.152.0%
V.152.0%
VI.151.9%
VII.152.1%
VIII.152.3%
IX.152.2%
X.152.2%
XI.152.4%
XII.152.7%
I.162.7%
II.16
III.16
IV.16
V.16
VI.16
VII.16
VIII.16
IX.16
X.16
XI.16
XII.16

<tbody>
</tbody>

and I created two named formulas such as
Code:
graph_range  =OFFSET(A2;0;0;COUNT(B2:B25))
Code:
graph_labels  =OFFSET(B2;0;0;COUNT(B2:B25))

COUNT(B2:B25) correctly resolves to 13 right now.

Then I entered =SERIES(customers!$D$1;customers.xlsx!graph_labels;customers.xlsx!graph_range;1)

The book is called customers.xlsx and the sheet is named "customers".

The problem is that instead of 13 values, only one value is displayed in each cell containing the named formulas (and therefore in the chart too). Even if I try to enter it as an array formula with ctrl+shift+click, it still displays only one value.

I have no idea what I'm missing, any help hugely appreciated!

r.
 

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.
You've defined graph_range as column A and graph_labels as column B. I think these should be reversed.

I don't know what this means:
"The problem is that instead of 13 values, only one value is displayed in each cell containing the named formulas (and therefore in the chart too). Even if I try to enter it as an array formula with ctrl+shift+click, it still displays only one value."
 
Upvote 0
You've defined graph_range as column A and graph_labels as column B. I think these should be reversed.

I don't know what this means:
"The problem is that instead of 13 values, only one value is displayed in each cell containing the named formulas (and therefore in the chart too). Even if I try to enter it as an array formula with ctrl+shift+click, it still displays only one value."

I already solved the problem. It turned out that I was naming a cell containing the function instead of creating the function with name manager.

Thanks for your reply anyway.

r.
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,454
Members
449,083
Latest member
Ava19

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