Microsoft Office Forums


Reply
Thread Tools Display Modes

Cell Value as Named Range Reference

 
 
stephen.h.dow@gmail.com
Guest
Posts: n/a

 
      07-28-2008, 03:34 PM
Little bit of a quirky question...

Trying to use a cell value as a reference in a formula, where that
cell value is the name of a named range.

So, assume A1:A3 is a named range: Rng1. And, B1:B3 is Rng2.

I want to get the correlation vale for A1:A3 and B1:B3

So, cell D1 contains "Rng1" and D2 has "Rng2"; and cell D3 has the
formula: =correl(D1,D2). But I get an error. Have also tried using
Indirect to no avail.

Any help would be hugely appreciated. Thank you.
 
Reply With Quote
 
 
 
 
Wigi
Guest
Posts: n/a

 
      07-28-2008, 05:58 PM
=CORREL(INDIRECT(D1),INDIRECT(D2))

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"(E-Mail Removed)" wrote:

> Little bit of a quirky question...
>
> Trying to use a cell value as a reference in a formula, where that
> cell value is the name of a named range.
>
> So, assume A1:A3 is a named range: Rng1. And, B1:B3 is Rng2.
>
> I want to get the correlation vale for A1:A3 and B1:B3
>
> So, cell D1 contains "Rng1" and D2 has "Rng2"; and cell D3 has the
> formula: =correl(D1,D2). But I get an error. Have also tried using
> Indirect to no avail.
>
> Any help would be hugely appreciated. Thank you.
>

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reference cells in named range Luca Brasi Excel Newsgroup 19 11-04-2007 07:25 PM
vlookup -- table_array as reference to named range Janet Panighetti Excel Newsgroup 3 09-14-2007 06:42 PM
Edit named range reference brian@intabanet.co.za Excel Newsgroup 2 10-04-2006 12:22 PM
use cell reference for named range elf21 Excel Newsgroup 5 02-20-2006 12:32 AM
use a formula to reference a named range ryanb. Excel Newsgroup 1 07-06-2004 09:51 PM



All times are GMT. The time now is 02:16 PM.