Index match

carlidee

New Member
Joined
Sep 15, 2020
Messages
20
Office Version
  1. 2016
Platform
  1. Windows
Hi - I'm looking for help building an index match that will help me look up what ranking someone's assignment is (Tab 1) against their stated preferences (Tab 2). Example below:


Tab 1: List of assignments - DESIRED OUTCOME IN THIRD COLUMN
NameAssignmentPreference number
Joe SmithBaseball1st
Anne BrownFootball2nd
Lisa JonesSoccer1st

Tab 2: Preference submission (look up here)

Name1st2nd3rd
Joe SmithBaseballTennisSoccer
Anne BrownSoccerFootballTennis
Lisa JonesSoccerFootballBaseball
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Please put this formula in Cell C2 if the top table starts in cell A1

=INDEX($A$8:$D$8,1,MATCH($B2,OFFSET($A$8,MATCH(A2,$A$8:$A$11,0)-1,0,1,4),0))
 
Upvote 0

Forum statistics

Threads
1,215,301
Messages
6,124,146
Members
449,144
Latest member
Rayudo125

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