Using Formulas to Return a Range

P

Peter Bernadyne

Hello,

I am trying to define a range using a cell containing a formula whic
returns a concatenation of the range arguments I would like to use fo
a worksheet function.

For instance, in one cell, I have the formula:

="C"&TOP

and another I have

="D"&BOTTOM

where 'TOP' and 'BOTTOM' are names I have defined to equal values lik
3 and 200. I am trying to use a worksheet function, lik
CORREL(C3:D200) using these formulas but I can't seem to get it to wor
for some reason.

I am using these formulas because my range will vary, so it won'
always be C3:D200.

Does anybody have a clue as to how one could make this work?

Any help is much appreciated!!

Thanks,

-Pete
 
P

Peter Bernadyne

Actually, I just realized that I need to use arrays with a workshee
function such as CORREL, so this would be:

CORREL(C3:C200,D3:D200)

instead of what I had before. However, my problem remains the same.
Somehow, this doesn't work.

Thanks,

-Pet
 
Top