Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Courreges
 
Posts: n/a
Default Selecting range in list of range names depending on a cell informa

I need a formula that selects in the list of range names the one related to
the information of a cell.
I have the following formula Index(GERVar, MATCH(Value A,Lookup ArrayA,0,
MATCH(Value B, Lookup ArrayB,0))
And when I have "Germany" in a certain cell, the formula will look for the
right value within the range "GERVar" previously created.
If now I have "France" in a certain cell, the array will not be GERVar
anymore but FRAVar in the Index formula as follows:
Index(FRAVar, MATCH(Value A,Lookup ArrayA,0, MATCH(Value B, Lookup ArrayB,0))
I know that this is maybe not as easy as that, maybe not feasable with such
the formula I wrote but the idea is there.
Please could you help me?

Anne de Courreges
  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Selecting range in list of range names depending on a cell informa

E1 contains name of range e.g GERVar, FRANVar ....

=INDEX(INDIRECT(E1),MATCH(E2,$A$2:$A$4,0),MATCH(E3 ,$B$1:$D$1,0))

HTH

"Courreges" wrote:

I need a formula that selects in the list of range names the one related to
the information of a cell.
I have the following formula Index(GERVar, MATCH(Value A,Lookup ArrayA,0,
MATCH(Value B, Lookup ArrayB,0))
And when I have "Germany" in a certain cell, the formula will look for the
right value within the range "GERVar" previously created.
If now I have "France" in a certain cell, the array will not be GERVar
anymore but FRAVar in the Index formula as follows:
Index(FRAVar, MATCH(Value A,Lookup ArrayA,0, MATCH(Value B, Lookup ArrayB,0))
I know that this is maybe not as easy as that, maybe not feasable with such
the formula I wrote but the idea is there.
Please could you help me?

Anne de Courreges

  #3   Report Post  
Posted to microsoft.public.excel.misc
Courreges
 
Posts: n/a
Default Selecting range in list of range names depending on a cell inf

Now I would like to mix 2 cells to get to the right range of cells. Is this
possible?

EX: I refer to Germany (Cell B2) and eSize (Cell A2) to match the data in a
range called GEReSize. Then if in cell B2 I have France, I would like it to
match with FRAesize, etc...

Is this possible? Or what should I change to make this possible?

Thanks for your help!

--
Anne de Courreges


"Toppers" wrote:

E1 contains name of range e.g GERVar, FRANVar ....

=INDEX(INDIRECT(E1),MATCH(E2,$A$2:$A$4,0),MATCH(E3 ,$B$1:$D$1,0))

HTH

"Courreges" wrote:

I need a formula that selects in the list of range names the one related to
the information of a cell.
I have the following formula Index(GERVar, MATCH(Value A,Lookup ArrayA,0,
MATCH(Value B, Lookup ArrayB,0))
And when I have "Germany" in a certain cell, the formula will look for the
right value within the range "GERVar" previously created.
If now I have "France" in a certain cell, the array will not be GERVar
anymore but FRAVar in the Index formula as follows:
Index(FRAVar, MATCH(Value A,Lookup ArrayA,0, MATCH(Value B, Lookup ArrayB,0))
I know that this is maybe not as easy as that, maybe not feasable with such
the formula I wrote but the idea is there.
Please could you help me?

Anne de Courreges

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamicly change spreadsheet tab names depending on cell value Mikus Excel Discussion (Misc queries) 4 July 24th 07 10:22 PM
How to rename references from range names to cell references Abbas Excel Discussion (Misc queries) 1 May 24th 06 06:18 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Lookup cell value using list of worksheet names amaranth Excel Worksheet Functions 5 August 8th 05 04:59 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 04:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"