Reference a value in one column then to get a same-row value in a different column?

sinpeople

New Member
Joined
Dec 3, 2009
Messages
13
Hi folks,

Thank you guys for your support.
I have a table below. I need to find out a value "ONGZ7 C4.15" in the 2nd column, then to find out the same-row value in the 2nd last column, which is "1065".

Suppose the key "ONGZ7 C4.15" is a cell value in a different workbook, how should I do it?

Best Regards
David

AccountSymbolNet Pos$ Open P/L$ Options ValueExpiration Date$ Initial Margin$ Maintenance MarginDTE
E76912OCLX7 C57.5-2120-4010/17/171428129815
E76912OCLZ7 C59-5400-50011/15/173311301044
E76912OCLZ7 C615-35025011/15/170044
E76912OCLF8 C62.5-5450-60012/14/172354214073
E76912OCLF8 C64.55-40030012/14/170073
E76912OGCX7 C1440-1180-3010/26/1771364824
E76912OGCZ7 C1500-51200-20011/27/172453223056
E76912OGCZ7 C15255-100010011/27/170056
E76912ONGX7 C3.75-5550-10010/26/17106296524
E76912ONGX7 C3.955-3005010/26/170024
E76912ONGZ7 C4.15-5600-35011/27/171172106556
E76912ONGZ7 C4.355-45015011/27/170056
E76912OZCH8 C4.8-2376.25-62.502/23/18134122144
E76912OZSX7 C11.6-2925-2510/27/1724422225
E76912OZSH8 C13-2-300-30002/23/18339308144

<tbody>
</tbody>
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi folks,

Thank you guys for your support.
I have a table below. I need to find out a value "ONGZ7 C4.15" in the 2nd column, then to find out the same-row value in the 2nd last column, which is "1065".

Suppose the key "ONGZ7 C4.15" is a cell value in a different workbook, how should I do it?

=INDEX($A$1:$I$15,MATCH("ONGZ7 C4.15",$B$1:$B15,0),8,0)

Select the entire table for the area in your index, then use the MATCH formula to find the row with the key on. This needn't be the entire thing in quotes, as I used, it can be a reference to a cell anywhere else. Use 8 to show that it is the result in the eighth column in the index area and 0 to show that you need an exact match. This formula will bring the entry in the eighth column on the same row as the key.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,456
Messages
6,124,939
Members
449,197
Latest member
k_bs

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top