INDEX MATCH-MATCH Help

surkdidat

Well-known Member
Joined
Oct 1, 2011
Messages
597
Office Version
  1. 365
On may main data sheet I have a list of Employee Names, store IDs and Job Titles (the data goes over 5 job titles and 3000 stores that I need to extract this for)

Store IDEmployee NameJob Title
0001SteveAssistant
0001PeterCleaner
0001AndyManager
0002EllieAssistant
0002SophiaCleaner
0002AmeilaManager
What I am looking to return is

AssistantCleanerManager
0001StevePeterAndy
0002EllieSophiaAmeila

I am getting stuck with my INDEx-MATCH-MATCH, please can someone help!
 

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
Do you have headers in your second table and you are only looking to populate the blank table or is it something that is supposed to be returned as well (i.e. both headers and names)?
 
Upvote 0
Do you have headers in your second table and you are only looking to populate the blank table or is it something that is supposed to be returned as well (i.e. both headers and names)?
Its not in an "official Excel Table" (ie not converted into one), but the names are written in row A,
A1 - Store ID B1 - Employee NameC1 - Job Title
A2 - 0001B2 - SteveC2 - Assistant
A3 - 0001B3 - Peter C3 - Cleaner
A4 - 0001B4 - AndyC4 - Manager
A5 - 0002B5 - EllieC5 - Assistant
A6 - 0002B6 - SophiaC6 - Cleaner
A7 - 0002B7 - AmeilaC7 - Manager
 
Upvote 0
That is not what I meant by anyway please test this:

Excel Formula:
=XLOOKUP(A11:A12&B10:D10,A2:A7&C2:C7,B2:B7)

where A11:A12 represents 0001 and 0002 from the 2nd table and B10:D10 represents Assistant - Cleaner - Manager
 
Upvote 0
Try:
Book1
ABCD
1Store IDEmployee NameJob Title
20001SteveAssistant
30001PeterCleaner
40001AndyManager
50002EllieAssistant
60002SophiaCleaner
70002AmeilaManager
8
9AssistantCleanerManager
100001StevePeterAndy
110002EllieSophiaAmeila
Sheet1
Cell Formulas
RangeFormula
B9:D9B9=TOROW(UNIQUE(C2:C7))
A10:A11A10=UNIQUE(A2:A7)
B10:D11B10=INDEX($B$2:$B$7,XMATCH($A10&"|"&B$9,$A$2:$A$7&"|"&$C$2:$C$7))
Dynamic array formulas.
 
Upvote 0
Solution
Thank you Cubist and Hagia_sofia!
Try:
[XD=c:548235]=TOROW(UNIQUE(C2:C7))[/XD][/XR][XR][XD]A10:A11[/XD][XD=fw:b]A10[/XD][XD=c:548235]=UNIQUE(A2:A7)[/XD][/XR][XR][XD]B10:D11[/XD][XD=fw:b]B10[/XD][XD]=INDEX($B$2:$B$7,XMATCH($A10&"|"&B$9,$A$2:$A$7&"|"&$C$2:$C$7))[/XD][/XR][/RANGE]


That is not what I meant by anyway please test this:

Excel Formula:
=XLOOKUP(A11:A12&B10:D10,A2:A7&C2:C7,B2:B7)

where A11:A12 represents 0001 and 0002 from the 2nd table and B10:D10 represents Assistant - Cleaner - Manager
 
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