How do I use Range Names listed in a VLookup table in a formula?

E

Essbasedvlpr32

I currently have set up an array formula using the OFFSET function. As my
reference section in the formula, I want to be able to look up a range name
from a VLookup table based on what a user enters in a specific cell. For
instance, if the text "Gross Losses" corresponds to a range name titled
losses, I want the formula to return the range of cells defined as losses.
The problem is the formula does not recognize losses as the range name, but
only as the text "losses". Therefore the only thing returned in my array is
the text "losses" repeated.
This formula works as desired when I edit the formula and manually type in
the word losses, but I don't want the users to have to do that.

Any ideas?
 
D

Dave R.

See Excel help for INDIRECT which should help you since it covers named
ranges; like =indirect(A1) where A1 contains "losses". Breaking up "gross
losses" would be tougher - do you need to search for only one part of the
input (gross or losses)?
 
F

Frank Kabel

Hi
not really sure (sounds like INDIRECT). Could you post your non-working
formula
 
E

Essbasedvlpr32

Thank you Dave R. and Frank Kabel. The INDIRECT function accomplished what I
needed. This is one piece of a bigger project so I might be posting again if
I run into more problems. I've used Excel for quite a while, but I am new to
the array formulas and the OFFSET function.

Thanks again,

Essbasedvlpr32
 

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