syntax to concatenate two named ranges?

K

ker_01

I need to graph two separate named ranges as a continuous data series. Example:

Series 1; "PastMonthActuals" = Sheet2("A1:A3")
Series 2; "Projections" = Sheet3("A4:A12")

I'm not trying to graph these as separate series, I want it to all be one
line.
In my real workbook these are dynamic ranges, but this simple example will
suffice.

What is the best way (syntax) to set up a new named range that concatenates
the values so that I can feed it into my graph as one series of 12 points?
I've tried the obvious, such as: "AllPts" = PastMonthActuals & Projections

Thank you,
Keith
 
L

Luke M

You don't need/want to concatenate, as you really need the array of values,
not text. With your chart, you can combine source data by seperating ranges
with commas.

E.g.,
Values: =('Book1.xls'!PastMonthActuals,'Book1.xls'!Projections)
 
K

ker_01

Awesome, thanks Luke!

Luke M said:
You don't need/want to concatenate, as you really need the array of values,
not text. With your chart, you can combine source data by seperating ranges
with commas.

E.g.,
Values: =('Book1.xls'!PastMonthActuals,'Book1.xls'!Projections)

--
Best Regards,

Luke M




.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top