Solution (was Re: Named ranges- how do I "combine" several into a larger named range?)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Keith R (nospam_at_nospam.com)
Date: 03/02/04


Date: Tue, 2 Mar 2004 12:56:29 -0500

Thank you all for your various replies. Having a break in my range(s) was
necessary, so I wasn't able to use the offset function, but Bob's post got
me thinking about how I was doing the union. I think the issue was that I
was including the workbook name in the union, where all I needed was:
[NamedRange1Total] = NamedRange1a,NamedRange1b,NamedRange1c
I also added a new named range [Z] = B1 (a blank cell)

I then took and referenced some cells to find my final range;
[NamedRange1Total] =
if(D1=1,NamedRange1a,Z),if(E1=1,NamedRange1b,Z),if(F1=1,NamedRange1c,Z)

replicated this logic for my X axis labels, and everything works great!
Thanks again for the replies,
Keith

"Keith R" <nospam@nospam.com> wrote in message
news:u6qrYU8$DHA.2316@TK2MSFTNGP10.phx.gbl...
> I started with a large range (1x300 cells) that represented 3 sections of
> data that is graphed- but I've since found out that my (internal) customer
> sometimes needs to suppress one or two of the sections, so the graph
doesn't
> show large empty sections when there is no data.
>
> I'm having trouble with the named range(s);
> Instead of
> NamedRange1 = MySheet!A1:A30
>
> I now have
> NamedRange1a = MySheet!A1:A100
> NamedRange1b = MySheet!A101:A200
> NamedRange1c = MySheet!A201:A300
>
> Now I need a statement that puts all three of these together into one
range
> to feed to the graph, like: (watch for wrap)
>
> NamedRange1Total =
>
MyWorkbook.xls!NamedRange1a,MyWorkbook.xls!NamedRange1b,MyWorkbook.xls!Named
> Range1c
>
> but that doesn't seem to be working- Help!
>
> (after I get the ranges "merged", I can put in if/then logic to control
> whether or not each range is added....)
>
> Many, many thanks in advance!
> Keith
>
>



Relevant Pages

  • Re: Cantor Confusion
    ... But these streams are *not* present in all paths of the union of all ... Consider a graph ... It is quite similar with your tree. ... a culture that has no idea about abstract entities. ...
    (sci.math)
  • Need help: Is Quick-Union-Find the right solution to this problem (Now I dont think so and I
    ... >I studied Quick Union Find algorithms a bit and if I understood them ... is a DAG or Quick Union Find the way to go? ... >My only concern about Quick Union Find is that it constructs a graph ... Topological sorting on a DAG graph in which the user input can be ...
    (comp.lang.c)
  • Re: Help needed: Is Quick-Union-Find the right solution to this problem ?
    ... >I studied Quick Union Find algorithms a bit and if I understood them ... is a DAG or Quick Union Find the way to go? ... >My only concern about Quick Union Find is that it constructs a graph ... Topological sorting on a DAG graph in which the user input can be ...
    (comp.programming)
  • Re: Help needed: Is Quick-Union-Find the right solution to this problem ?
    ... >I studied Quick Union Find algorithms a bit and if I understood them ... is a DAG or Quick Union Find the way to go? ... >My only concern about Quick Union Find is that it constructs a graph ... Topological sorting on a DAG graph in which the user input can be ...
    (comp.lang.c)
  • Re: Having extreme difficulty with something that seems easy . . .
    ... Thank you for your replies. ... just a graph that had the design I wanted to ... I am getting close to the point where I will cross-stitch the pattern ... by following a graph and changing colors with single crochet. ...
    (rec.crafts.textiles.yarn)