How to extract multiple matches into separate columns in different sheet?

Vikranth

New Member
Joined
Nov 15, 2013
Messages
7
Hi All,

I am new to this forum & this is my first Q.

We have 2 sheets. Sheet1 has Column A & B. Column A has a unique area name from A2: A100 and column B has our executive names from B2: B100, Each executive can have multiple areas. We have 10 executives.

What I Need is...

In Sheet2 I have all the executive names in a horizontal way, Ie: A1 with first executive name, B1 with second executive name, C1 with third executive name and so on till J1 with the tenth executive name.
I want the area names assigned to then under each executive name.

Example - In the sheet2 cell, A1 will have First Executive Name and under them, all the 10 areas list need to appear from Sheet1 column A

Can someone please help me with the formula ASAP?
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Paste the following Sheet2 A1 and copy to right:

=INDEX(Sheet1!$A$2:$B$200,MATCH(E$1,Sheet1!$B$2:$B$200,0),1)
 
Last edited by a moderator:
Upvote 0
See if this smaller example is doing what you want.

Excel Workbook
AB
1AreaExec
2Area 1Exec 1
3Area 2Exec 2
4Area 3Exec 2
5Area 4Exec 3
6Area 5Exec 1
7Area 6Exec 2
8
Sheet1



Formula in A2 is copied across and down.

Excel Workbook
ABC
1Exec 1Exec 2Exec 3
2Area 1Area 2Area 4
3Area 5Area 3
4Area 6
5
Sheet2
 
Upvote 0
Paste the following Sheet2 A1 and copy to right:

=INDEX(Sheet1!$A$2:$B$200,MATCH(E$1,Sheet1!$B$2:$B$200,0),1)


Completely sorry for my formula. I misread the question, I also tought the executives are unique..
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,329
Members
452,635
Latest member
laura12345

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