Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Shaun Martin
 
Posts: n/a
Default Is Indexing the right option?

Hi,

Appreciate any responses in advance, for your time and help. I have the
following data but many more categories:

Consultant Manager VP
UK 100 150 200
Germany 125 175 225
France 90 140 190

In another worksheet, I have a cell with column A as a "list" and the next
cell with row 1 as a "list", giving for example UK Manager. How can I then
get the insection value (150) populated? I have tried indexing but it doesnt
work as I still need to defne the specific column and row, I need to get it
to look up the option choosen..

Apologises if the above question is not correctly phrased..

thanks again

Shaun :-)
England
  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

given your example in data range A1:D4
and
cell A6 holds the "country" data and cell B6 holds the "position"(vp,manager
etc)
=HLOOKUP(B6,$B$1:$D$4,MATCH(A6,$A$1:$A$4,0),0)
will pick up the intersection of country and the position

However if your data is just in a single cell separate by a space first
country then space and then postion the above formula can be modified to as
follow:-
=HLOOKUP(RIGHT(A6,LEN(A6)-SEARCH(" ",A6)),$B$1:$D$4,MATCH(LEFT(A6,SEARCH("
",A6)-1),$A$1:$A$4,0),0)


"Shaun Martin" <Shaun wrote in message
...
Hi,

Appreciate any responses in advance, for your time and help. I have the
following data but many more categories:

Consultant Manager VP
UK 100 150 200
Germany 125 175 225
France 90 140 190

In another worksheet, I have a cell with column A as a "list" and the next
cell with row 1 as a "list", giving for example UK Manager. How can I then
get the insection value (150) populated? I have tried indexing but it
doesnt
work as I still need to defne the specific column and row, I need to get
it
to look up the option choosen..

Apologises if the above question is not correctly phrased..

thanks again

Shaun :-)
England



  #4   Report Post  
Shaun Martin
 
Posts: n/a
Default

thank you for your time and effort :-)

"N Harkawat" wrote:

given your example in data range A1:D4
and
cell A6 holds the "country" data and cell B6 holds the "position"(vp,manager
etc)
=HLOOKUP(B6,$B$1:$D$4,MATCH(A6,$A$1:$A$4,0),0)
will pick up the intersection of country and the position

However if your data is just in a single cell separate by a space first
country then space and then postion the above formula can be modified to as
follow:-
=HLOOKUP(RIGHT(A6,LEN(A6)-SEARCH(" ",A6)),$B$1:$D$4,MATCH(LEFT(A6,SEARCH("
",A6)-1),$A$1:$A$4,0),0)


"Shaun Martin" <Shaun wrote in message
...
Hi,

Appreciate any responses in advance, for your time and help. I have the
following data but many more categories:

Consultant Manager VP
UK 100 150 200
Germany 125 175 225
France 90 140 190

In another worksheet, I have a cell with column A as a "list" and the next
cell with row 1 as a "list", giving for example UK Manager. How can I then
get the insection value (150) populated? I have tried indexing but it
doesnt
work as I still need to defne the specific column and row, I need to get
it
to look up the option choosen..

Apologises if the above question is not correctly phrased..

thanks again

Shaun :-)
England




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
Excel instance used with "Export to Microsoft Excel" option in Internet Explorer Karl Schweitzer Excel Discussion (Misc queries) 0 April 7th 05 06:17 PM
Second option button disappears when I make another column Monique Excel Worksheet Functions 0 March 9th 05 09:57 PM
Filter option vishu Excel Discussion (Misc queries) 1 February 28th 05 01:36 PM
No Save As option confuseduser Excel Discussion (Misc queries) 1 January 28th 05 01:06 AM
XML Data menu option -- not listed / available. How do you fix thi meingotham Excel Discussion (Misc queries) 1 January 27th 05 09:46 PM


All times are GMT +1. The time now is 05:23 PM.

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"