Inconsistent behavior of ranges in charts.

Getafix1066

Board Regular
Joined
May 15, 2016
Messages
57
Hi,

This is a follow on question from a previous posting of mine. Hopefully someone here can provide some insight.

I have created three different named ranges as follows.....
=Template!$H$85:$H$1005
=OFFSET(INDIRECT("$H"&Template!$C$23),0,0,Template!$C$29)
=OFFSET(INDIRECT("Template!$H"&Template!$C$23),0,0,Template!$C$29)

These three different ranges all refer to exactly the same set of cells. And as far as I can tell they all work. If I go into 'name manager' and highlight one of the named ranges and then click in the 'refers to' box then the expected set of cells are highlighted. At this stage I get no errors, and it's always the same set of cells that get highlighted - I take this to mean that all the named ranges are valid.

Here's the issue. If I then attempt to create a chart using these ranges then despite the fact they all refer to the same set of values only two of them will work! (the first and last one will work, the middle one won't)

Have I missed something here? To my thinking any object (i.e. a range) should either be valid, on invalid. An object that is valid only in some circumstances but not others is inevitably going to cause confusion. Or am I simply doing something wrong?
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,214,950
Messages
6,122,436
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