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

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,713
Office Version
  1. 365
Platform
  1. Windows
Could you provide the table. Just copy and paste it here.
 

dobby1303

New Member
Joined
Feb 10, 2016
Messages
37
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:

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
4,342
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
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)
 

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,713
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

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)
 

gaz_chops

Well-known Member
Joined
Apr 29, 2003
Messages
6,485
Platform
  1. MacOS
Another option

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

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,008
Messages
5,834,860
Members
430,324
Latest member
bosphoruskid

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
Top