Searching inside a table (help, probably INDEX, and MATCH)

cpis0002

Board Regular
Joined
Jul 28, 2007
Messages
96
Hi, I have a worksheet with the following data in column A5 down:

SR1
SR2
SR3
SR4
CS1
CS2
CS3
CS4
GP1
GP2
GP3
GP4

and row 3 with data 11, 12, 13, ..., 79

Then on another sheet on cells B4 and B5, you insert row code and column code respectively... so in cell B4 I would enter CS4 (example), and in cell B5 I would enter 17 (example)... I need a formula to look at cells B4 and B5 and find the data in the large table described above... any help would be useful
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Assuming your headers in row 3 start from B3, the following formula should suffice:

Code:
=INDEX(Sheet1!B5:BR16,MATCH(B4,Sheet1!A5:A16,0),MATCH(B5,Sheet1!B3:BR3,0))
 
Upvote 0

Forum statistics

Threads
1,214,785
Messages
6,121,543
Members
449,038
Latest member
Guest1337

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