How/which formula can be used to lookup a value in a table and return multiple matches in table format In Excel?

ajesh27

New Member
Joined
Mar 5, 2021
Messages
12
Office Version
  1. 365
Platform
  1. Windows
I have a dataset like below

Capture1.PNG


when I select Department from the Dropdown

Capture 2.PNG


I need to return multiple matches in atable format like below

Capture3.PNG


Which Formula can i use to get these multiple matches in a table format....Thanks in advance
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Try this:
Book1
ABCDEFGHI
1NameDepartmentGrade
2Candidate1ECADepartmentCE
3Candidate2MEB
4Candidate3EEBNameDepartmentGrade
5Candidate4CEACandidate4CEA
6Candidate5ECCCandidate8CEC
7Candidate6MEDCandidate12CED
8Candidate7EEB   
9Candidate8CEC   
10Candidate9ECD   
11Candidate10MEA   
12Candidate11EEC   
13Candidate12CED   
14Candidate13ECA
15
16
Sheet1
Cell Formulas
RangeFormula
E5:G13E5=IFERROR(INDEX($A$2:$C$14,SMALL(IF($F$2=$B$2:$B$14,ROW($B$2:$B$14)-ROW($B$2)+1),ROWS($E$1:$E1)),COLUMNS($E$1:E$1)),"")
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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