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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
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,606
Messages
6,120,479
Members
448,967
Latest member
visheshkotha

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