Reverse Index Match to find row?

dobby1303

New Member
Joined
Feb 10, 2016
Messages
37
Hi all,

I have a grid with grades as the row headers and a series of different tests as the column headers, with the data in the grid as the % boundaries for the tests. I would like to have a lookup for the grade achieved based on the test name and % scored.

I've had a look at a few different things and think a reverse index match is probably the cleanest way to do it and I've found ways to look up the column based on the row header and value, but am struggling with flipping it around.

This is what I started with:
=INDEX(B3:G3,,MATCH(B10,INDEX(B4:G6,MATCH(B9,A4:A6,0),),0))
and this is what I'd changed it to:
=INDEX(A4:A6,MATCH(C10,INDEX(B4:G6,MATCH(C9,B3:G3,0),),0),)

Could someone please explain where I've gone wrong?
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Current LevelSS Biology Paper 1SS Biology Paper 2SS Chemistry Paper 1SS Chemistry Paper 2SS Physics Paper 1SS Physics Paper 2
U0%0%0%0%0%0%
1c10%10%9%9%8%8%
1b14%14%13%13%12%12%
1a18%18%17%17%15%15%
2c23%23%21%21%18%18%
2b27%27%25%25%22%22%
2a31%31%28%28%25%25%
3c35%35%32%32%29%29%
3b39%39%36%36%33%33%
3a43%43%40%40%36%36%
4c48%48%44%44%39%39%
4b51%51%47%47%44%44%
4a55%55%51%51%48%48%
5c58%58%54%54%53%53%
5b73%73%70%70%68%68%
5a87%87%85%85%84%84%

<colgroup><col span="7"></colgroup><tbody>
</tbody>


so the values given are the % on a test (which may not match exactly) and the test sat and I'm trying to find the level
 
Last edited:
Upvote 0
try this


Book1
ABCDEFG
1Current LevelFoundation (%)
2SS Biology Paper 1SS Biology Paper 2SS Chemistry Paper 1SS Chemistry Paper 2SS Physics Paper 1SS Physics Paper 2
3U0%0%0%0%0%0%
41c10%10%9%9%8%8%
51b14%14%13%13%12%12%
61a18%18%17%17%15%15%
72c23%23%21%21%18%18%
82b27%27%25%25%22%22%
92a31%31%28%28%25%25%
103c35%35%32%32%29%29%
113b39%39%36%36%33%33%
123a43%43%40%40%36%36%
134c48%48%44%44%39%39%
144b51%51%47%47%44%44%
154a55%55%51%51%48%48%
165c58%58%54%54%53%53%
175b73%73%70%70%68%68%
185a87%87%85%85%84%84%
19
20SS Physics Paper 140%4c
Sheet5
Cell Formulas
RangeFormula
C20=INDEX($A$3:$A$18,MATCH(B20,INDEX($B$3:$G$18,,MATCH(A20,$B$2:$G$2,0))),0)
 
Upvote 0
The table in A1:G17, the exam name in J1 and the % score in J2:

=LOOKUP(J2,INDEX($B$2:$G$17,,MATCH(J1,$B$1:$G$1,0)),$A$2:$A$17)
 
Upvote 0
Another option

=INDEX($B$4:$B$19,MATCH(B20,OFFSET(B4,,MATCH($A$20,$C$3:$H$3,0),16),1))
 
Upvote 0

Forum statistics

Threads
1,214,630
Messages
6,120,634
Members
448,973
Latest member
ChristineC

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