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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
[TABLE="width: 441"]
<colgroup><col span="7"></colgroup><tbody>[TR]
[TD]Current Level[/TD]
[TD="align: right"]SS Biology Paper 1[/TD]
[TD="align: right"]SS Biology Paper 2[/TD]
[TD="align: right"]SS Chemistry Paper 1[/TD]
[TD="align: right"]SS Chemistry Paper 2[/TD]
[TD="align: right"]SS Physics Paper 1[/TD]
[TD="align: right"]SS Physics Paper 2[/TD]
[/TR]
[TR]
[TD]U[/TD]
[TD="align: right"]0%[/TD]
[TD="align: right"]0%[/TD]
[TD="align: right"]0%[/TD]
[TD="align: right"]0%[/TD]
[TD="align: right"]0%[/TD]
[TD="align: right"]0%[/TD]
[/TR]
[TR]
[TD]1c[/TD]
[TD="align: right"]10%[/TD]
[TD="align: right"]10%[/TD]
[TD="align: right"]9%[/TD]
[TD="align: right"]9%[/TD]
[TD="align: right"]8%[/TD]
[TD="align: right"]8%[/TD]
[/TR]
[TR]
[TD]1b[/TD]
[TD="align: right"]14%[/TD]
[TD="align: right"]14%[/TD]
[TD="align: right"]13%[/TD]
[TD="align: right"]13%[/TD]
[TD="align: right"]12%[/TD]
[TD="align: right"]12%[/TD]
[/TR]
[TR]
[TD]1a[/TD]
[TD="align: right"]18%[/TD]
[TD="align: right"]18%[/TD]
[TD="align: right"]17%[/TD]
[TD="align: right"]17%[/TD]
[TD="align: right"]15%[/TD]
[TD="align: right"]15%[/TD]
[/TR]
[TR]
[TD]2c[/TD]
[TD="align: right"]23%[/TD]
[TD="align: right"]23%[/TD]
[TD="align: right"]21%[/TD]
[TD="align: right"]21%[/TD]
[TD="align: right"]18%[/TD]
[TD="align: right"]18%[/TD]
[/TR]
[TR]
[TD]2b[/TD]
[TD="align: right"]27%[/TD]
[TD="align: right"]27%[/TD]
[TD="align: right"]25%[/TD]
[TD="align: right"]25%[/TD]
[TD="align: right"]22%[/TD]
[TD="align: right"]22%[/TD]
[/TR]
[TR]
[TD]2a[/TD]
[TD="align: right"]31%[/TD]
[TD="align: right"]31%[/TD]
[TD="align: right"]28%[/TD]
[TD="align: right"]28%[/TD]
[TD="align: right"]25%[/TD]
[TD="align: right"]25%[/TD]
[/TR]
[TR]
[TD]3c[/TD]
[TD="align: right"]35%[/TD]
[TD="align: right"]35%[/TD]
[TD="align: right"]32%[/TD]
[TD="align: right"]32%[/TD]
[TD="align: right"]29%[/TD]
[TD="align: right"]29%[/TD]
[/TR]
[TR]
[TD]3b[/TD]
[TD="align: right"]39%[/TD]
[TD="align: right"]39%[/TD]
[TD="align: right"]36%[/TD]
[TD="align: right"]36%[/TD]
[TD="align: right"]33%[/TD]
[TD="align: right"]33%[/TD]
[/TR]
[TR]
[TD]3a[/TD]
[TD="align: right"]43%[/TD]
[TD="align: right"]43%[/TD]
[TD="align: right"]40%[/TD]
[TD="align: right"]40%[/TD]
[TD="align: right"]36%[/TD]
[TD="align: right"]36%[/TD]
[/TR]
[TR]
[TD]4c[/TD]
[TD="align: right"]48%[/TD]
[TD="align: right"]48%[/TD]
[TD="align: right"]44%[/TD]
[TD="align: right"]44%[/TD]
[TD="align: right"]39%[/TD]
[TD="align: right"]39%[/TD]
[/TR]
[TR]
[TD]4b[/TD]
[TD="align: right"]51%[/TD]
[TD="align: right"]51%[/TD]
[TD="align: right"]47%[/TD]
[TD="align: right"]47%[/TD]
[TD="align: right"]44%[/TD]
[TD="align: right"]44%[/TD]
[/TR]
[TR]
[TD]4a[/TD]
[TD="align: right"]55%[/TD]
[TD="align: right"]55%[/TD]
[TD="align: right"]51%[/TD]
[TD="align: right"]51%[/TD]
[TD="align: right"]48%[/TD]
[TD="align: right"]48%[/TD]
[/TR]
[TR]
[TD]5c[/TD]
[TD="align: right"]58%[/TD]
[TD="align: right"]58%[/TD]
[TD="align: right"]54%[/TD]
[TD="align: right"]54%[/TD]
[TD="align: right"]53%[/TD]
[TD="align: right"]53%[/TD]
[/TR]
[TR]
[TD]5b[/TD]
[TD="align: right"]73%[/TD]
[TD="align: right"]73%[/TD]
[TD="align: right"]70%[/TD]
[TD="align: right"]70%[/TD]
[TD="align: right"]68%[/TD]
[TD="align: right"]68%[/TD]
[/TR]
[TR]
[TD]5a[/TD]
[TD="align: right"]87%[/TD]
[TD="align: right"]87%[/TD]
[TD="align: right"]85%[/TD]
[TD="align: right"]85%[/TD]
[TD="align: right"]84%[/TD]
[TD="align: right"]84%[/TD]
[/TR]
</tbody>[/TABLE]


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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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