Find value in multiple rows/columns

sharky12345

Well-known Member
Joined
Aug 5, 2010
Messages
3,404
Office Version
  1. 2016
Platform
  1. Windows
I'm trying to find a way I can identify a value where a column and row meet.

In this example, I am trying to find the value in the column where SHQ on the top row meets BP in the first column, the result I would expect to see is 24. Similarly, if I wanted to look for TT and HA I would expect the result to be 34.

My range currently looks like this (I have ExcelJeanie installed but for some reason it is not working so I've had to manually copy and paste);

HATABPSHQKWHTTSC
SC282634919100
TT343436921010
KWH1613181002119
SHQ26232401099
BP2120024183634
TA202023133426
HA022126163428

<tbody>
</tbody>

I have tried all sorts of VLOOKUP and HLOOKUP without success if someone can give me a pointer?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Excel Workbook
ABCDEFGHIJ
1HATABPSHQKWHTTSCSHQ
2SC282634919100BP
3TT34343692101024
4KWH1613181002119
5SHQ26232401099
6BP2120024183634
7TA202023133426
8HA022126163428
Index Match
 
Upvote 0
Assuming your data is in A1:H8. =INDEX(B2:H8,MATCH("SHQ",A2:A8,0),MATCH("BP",B1:H1,0))
 
Upvote 0
Guys, thanks so much - this has been driving me crazy all morning but it's now sorted!
 
Upvote 0

Forum statistics

Threads
1,215,052
Messages
6,122,878
Members
449,097
Latest member
dbomb1414

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