Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default looking up cell value based off of row and column information

I have a chart with unit codes in the far left column and exchange codes in
the top row. each unit code has a corresponding price based on the exchange
code at the top of the column:
A B C D E
1 C07c C07B A13G A14B
2 ABC1 $1.25 $1.26 $1.27 $1.30
3 ABC2 $1.32 $1.25 $1.30 $1.31
4 XYZ3 $13.50 $15.21 $16.20 $15.49
5 ZXY4 $6.25 $6.20 $6.50 $6.55

What I am looking for is a formula that will allow me to enter a value for
X= (a value in column A) and y= (a value in row 1) that will result in the
cell that matches the intersection of the row and the column the meets the
two criteria, such as when I enter x=ABC2 and y=A14B the result is the
corresponding value $1.31.

Any Ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default looking up cell value based off of row and column information

where your x and y values are in G1 and H1

=INDEX(B2:E5,MATCH(G1,A2:A5,0),MATCH(H1,B1:E1,0))


"rsetzer" wrote:

I have a chart with unit codes in the far left column and exchange codes in
the top row. each unit code has a corresponding price based on the exchange
code at the top of the column:
A B C D E
1 C07c C07B A13G A14B
2 ABC1 $1.25 $1.26 $1.27 $1.30
3 ABC2 $1.32 $1.25 $1.30 $1.31
4 XYZ3 $13.50 $15.21 $16.20 $15.49
5 ZXY4 $6.25 $6.20 $6.50 $6.55

What I am looking for is a formula that will allow me to enter a value for
X= (a value in column A) and y= (a value in row 1) that will result in the
cell that matches the intersection of the row and the column the meets the
two criteria, such as when I enter x=ABC2 and y=A14B the result is the
corresponding value $1.31.

Any Ideas?

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
Sum column information based on multiple criteria GHawkins Excel Worksheet Functions 8 August 24th 06 01:57 PM
Auto-fill cell based on adjacent cell information.. sans Excel Worksheet Functions 1 October 17th 05 11:38 PM
HOW DO I HAVE A CELL DISPLAY INFORMATION BASED ON 2 OTHER CELLS CC Excel Worksheet Functions 1 August 12th 05 05:34 AM
increment a column based on information in another column dhemlinger New Users to Excel 2 May 25th 05 09:47 PM
Can you conditional format based on information in cell comments? Jflyer Excel Worksheet Functions 1 January 15th 05 01:52 AM


All times are GMT +1. The time now is 05:50 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"