dropdown when lookup returns multiple values

NaughtyPopz

New Member
Joined
Jun 27, 2023
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello,

i'm working on an employee excel file. I need to lookup a name and return it's ID number. But when i have 2 or more employee with the same name, i want the ID to return as a dropdown list.

Let's use this example.
1688966721279.png


I know how to use the index match formula, but can't seem to figure this one out.
Can anyone help me with that?

Thanks.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Something like this:
Book1
ABCDEF
1IDNameNameID
21JamesJames1
32Frank7
43John
54Mohammed
65Mathilda
76Amelia
87James
98Thomas
109Eva
1110Franco
Sheet1
Cell Formulas
RangeFormula
F2:F3F2=FILTER(A2:A11,B2:B11=E2)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,101
Messages
6,123,096
Members
449,096
Latest member
provoking

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