Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / July 2006

Tip: Looking for answers? Try searching our database.

Can't chart dynamic named range??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lew_Cousineau@yahoo.com - 20 Jul 2006 00:31 GMT
I have a named range call TMW with this gnarly formula
=OFFSET(INDIRECT(ADDRESS(MATCH("TMW",Clients,0)+1,1)),0,0,IF(COUNTIF(Clients,"TMW")>12,12,COUNTIF(Clients,"TMW")),1)
When I use GOTO and type TMW it selects the correct cells.

Then I have another named range called TMW_ACTIVE with this formula
=OFFSET(TMW,0,2,,)
It simply takes the same range just over two columns.  Again when I use
GOTO and type TMW_ACTIVE it selects the correct cells.

The issue is that I have charts that refer to TMW_ACTIVE and when the
named range was hardcoded with values the charts worked but now that I
use the offset formula the chart doesn't work.  Any ideas?
THANKS for your help!!
Greg Wilson - 20 Jul 2006 09:05 GMT
I couldn't get a chart to accept your formula but I did get it to accept a
convensional DNR using the Offset function. The chart doesn't seem to like
DNRs that use the INDIRECT and/or the ADDRESS function. However, with very
minimal testing, I think this may work in lieu of your function. If it's not
quite correct you should be able to fix it.  

=OFFSET(Clients,
MATCH("TMW",Clients,0)-1,0,IF(COUNTIF(Clients,"TMW")>12,12,COUNTIF(Clients,"TMW")),1)

Regards,
Greg

> I have a named range call TMW with this gnarly formula
> =OFFSET(INDIRECT(ADDRESS(MATCH("TMW",Clients,0)+1,1)),0,0,IF(COUNTIF(Clients,"TMW")>12,12,COUNTIF(Clients,"TMW")),1)
[quoted text clipped - 9 lines]
> use the offset formula the chart doesn't work.  Any ideas?
> THANKS for your help!!
Lew_Cousineau@yahoo.com - 20 Jul 2006 20:30 GMT
THANK YOU!!
If I create a named range (TMW) with the offset formula that Greg
suggested, then the second name range uses an offset that refers to
TMW,  I can now chart the second named range.
Like Greg said, for some reason it doesn't like the Indirect and
Address functions!!  Go figure!!!

> I couldn't get a chart to accept your formula but I did get it to accept a
> convensional DNR using the Offset function. The chart doesn't seem to like
[quoted text clipped - 21 lines]
> > use the offset formula the chart doesn't work.  Any ideas?
> > THANKS for your help!!
Don Guillett - 20 Jul 2006 13:03 GMT
how are you referencing the offset formula?

source
=yourworkbook.xls!namedrange

Signature

Don Guillett
SalesAid Software
dguillett1@austin.rr.com

>I have a named range call TMW with this gnarly formula
> =OFFSET(INDIRECT(ADDRESS(MATCH("TMW",Clients,0)+1,1)),0,0,IF(COUNTIF(Clients,"TMW")>12,12,COUNTIF(Clients,"TMW")),1)
[quoted text clipped - 9 lines]
> use the offset formula the chart doesn't work.  Any ideas?
> THANKS for your help!!
Lew_Cousineau@yahoo.com - 20 Jul 2006 20:21 GMT
Actually the chart already exists using a named range (but the named
range is simply hardcoded with a range).  So I go into the source data
and replace the named range with the new one and it won't chart.
I did a bunch of experiments last night and as long as the offset
formulas are simple, it works, but the minute I point the named range
to the named range with the complicated offset, it doesn't work.  I
haven't tried the offset formula that the second post suggested.  I
will give that a try and see if it works.
> how are you referencing the offset formula?
>
[quoted text clipped - 18 lines]
> > use the offset formula the chart doesn't work.  Any ideas?
> > THANKS for your help!!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.