Fetch multiple values based on criteria
Hi, I have this data below as example and underneath the expected data output.
What's needed is a drop down box menu which allows user to choose an Agency and then to automatically populate in separate cells its respective Centers from "CentersList" and its respective IDs from the "IDList".
Is this something that can be done just with regular excel or does it need VBA? This is for my work and have been trying for two days, the drop down box I have shows 4 times the Agency name and I have no idea how to make it only once and for the Centers & its ID's to show in other cells.
I'm not that advanced in excel, but eager to learn. I'd appreciate ANY help anyone can give me! Thank you!
AgencyList |
CentersList |
IDList |
ABC Agency |
ABC Center 1 |
1231 |
ABC Agency |
ABC Center 2 |
1232 |
ABC Agency |
ABC Center 2 |
1233 |
ABC Agency |
ABC Center 3 |
1234 |
BCC Agency |
BCC Center 1 |
1235 |
BCC Agency |
BCC Center 2 |
1236 |
BCC Agency |
BCC Center 2 |
1237 |
BCC Agency |
BCC Center 3 |
1238 |
BCC Agency |
BCC Center 3 |
1239 |
CDD Agency |
CDD Center 1 |
1240 |
CDD Agency |
CDD Center 1 |
1241 |
CDD Agency |
CDD Center 1 |
1242 |
CDD Agency |
CDD Center 1 |
1243 |
CDD Agency |
CDD Center 2 |
1244 |
CDD Agency |
CDD Center 2 |
1245 |
This is how it should look:
Agency Name: |
FROM DROP DOWN MENU
ABC Agency |
|
|
ID: |
Center Name: |
|
1231 |
ABC Center 1 |
|
1231 |
ABC Center 2 |
|
1233 |
ABC Center 3 |
|
1234 |
ABC Center 4 |
by the way "ABC Center 2" is twice because there are actually two but each have a different ID.