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

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
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,945
Messages
6,127,861
Members
449,411
Latest member
adunn_23

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