Lookups and dropdown population

JannetteChristie

Board Regular
Joined
Dec 14, 2015
Messages
119
Hi, hoping someone can help with this.

I have the following sample pump data.


Book1
ABCDE
1ControlPipework Compatability CategoryFree StandingGuiderailID Name
20M2011310M-65X.251.V89.230/10 (MC)
21M2011310M-65X.251.V87.230/10 (MC)
22M2011310M-65X.251.V85.230/10 (MC)
23M2011310L-65-80X.451.V84.230/10 (MC)
24M2011310L-65-80X.451.V83.230/10 (MC)
25M2011310L-65-80X.451.V82.230/10 (MC)
39M2011310M-65X.253.V89.400/10 (T)
40M2011310M-65X.253.V87.400/10 (T)
41M2011310M-65X.253.V85.400/10 (T)
42M2011315H-65X.253.V94.400/10 (T)
43M2011315H-65X.253.V93.400/10 (T)
44M2011315H-65X.253.V91.400/10 (T)
45M2011310L-65-80X.453.V82.400/10 (T)
46M2011310L-65-80X.453.V83.400/10 (T)
47M2011310L-65-80X.453.V84.400/10 (T)
48M2011310L-65-80X.453.V81.400/10 (T)
49M2011310L-65-80X.453.V80.400/10 (T)
74M2011310S-65X.251.S64.230/10 (MC)
75M2011310S-65X.251.S62.230/10 (MC)
76M2011310S-65X.251.S60.230/10 (MC)
92M2011310S-65X.253.S64.400/10 (T)
93M2011310S-65X.253.S62.400/10 (T)
94M2011310S-65W.253.S60.400/10 (T)
95M2011315S-65X.253.S63.400/10 (T)
96M2011315S-65X.253.S62.400/10 (T)
97M2011315S-65X.253.S61.400/10 (T)
133A201Ama-Porter 601 SE (M) (A)
134M201Ama-Porter 601 NE (M)
135M201Ama-Porter 601 ND (T)
136M201Ama-Porter 601 ND (T)
137A201Ama-Porter 602 SE (M) (A)
138M201Ama-Porter 602 NE (M)
139M201Ama-Porter 602 ND (T)
140M201Ama-Porter 602 ND (T)
141A201Ama-Porter 603 SE (M) (A)
142M201Ama-Porter 603 NE (M)
143M201Ama-Porter 603 ND (T)
144M201Ama-Porter 603 ND (T)
Pump Data


The user will have input 1 of the pump selection categories:


Book1
BCDEF
3Pump Data Selection
4Pump Selection CategoryCol A - 'Control'Col B - 'Pipework Cat'Col C - 'Free Standing'Col D - 'Guiderail'
5A1FIgnore (return both A and M)11Ignore
6M1FM11Ignore
7A1GIgnore (return both A and M)1Ignore1
8M1GM1Ignore1
9A2GIgnore (return both A and M)2Ignore1
10M2GM2Ignore1
11M3GM3Ignore1
12M4GM4Ignore1
13M5GM5Ignore1
14
15
16Input Selection Category ExampleM2G
Selection Data


What I am trying to achieve is for the dropdown to be populated with the correct pumps frp,m column 'E' of the pump data.


Book1
BC
17Dropdown1310S-65X.251.S64.230/10 (MC)
181310S-65X.251.S62.230/10 (MC)
191310S-65X.251.S60.230/10 (MC)
201310S-65X.253.S64.400/10 (T)
211310S-65X.253.S62.400/10 (T)
221310S-65W.253.S60.400/10 (T)
231315S-65X.253.S63.400/10 (T)
241315S-65X.253.S62.400/10 (T)
251315S-65X.253.S61.400/10 (T)
26Ama-Porter 601 NE (M)
27Ama-Porter 601 ND (T)
28Ama-Porter 601 ND (T)
29Ama-Porter 602 NE (M)
30Ama-Porter 602 ND (T)
31Ama-Porter 602 ND (T)
32Ama-Porter 603 NE (M)
33Ama-Porter 603 ND (T)
34Ama-Porter 603 ND (T)
Selection Data
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,214,827
Messages
6,121,821
Members
449,049
Latest member
cybersurfer5000

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