Dependant Drop Down Lists that Dynamically Change

NWPhotoExplorer

New Member
Joined
Jan 19, 2021
Messages
34
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi! I am new to designing forms in Excel.

I am working on trying to make a form where the user can select the drop-down and select the item (shirt, jacket, etc), then the next drop-down will pull up the various options (color, etc), and the next drop-down will pull up sizes (S, M, L, XL, XXL, etc). Once these 3 drop-downs are selected, it will use vlookup to pull the rest of the data and fill out the rest of the fields on the sheet.

Right now, I can't figure out how to create the drop-down lists to filter out the values and only show the correct items. I don't want to see multiple rows of the same item. I thought I had the first drop down correct, but I can't get it to show anything.

I've tried googling this, but I can't figure out what I am doing wrong. I would appreciate any help I can get.

Thanks!

Book2
ABCDEFGHIJK
1ITEMCOLORSIZE
2ITEMCOLORSIZEPRICEMANUFACTURE
3T-SHIRTBLUESMALL
4T-SHIRTBLUEMEDIUM
5T-SHIRTBLUELARGE
6T-SHIRTBLUEX-LARGE
7PRICEMANUFACTURET-SHIRTBLUEXX-LARGE
8T-SHIRTREDSMALL
9T-SHIRTREDMEDIUM
10T-SHIRTREDLARGE
11T-SHIRTREDX-LARGE
12T-SHIRTREDXX-LARGE
13BUTTON SHIRTBLUESMALL
14BUTTON SHIRTBLUEMEDIUM
15BUTTON SHIRTBLUELARGE
16BUTTON SHIRTBLUEX-LARGE
17BUTTON SHIRTBLUEXX-LARGE
18BUTTON SHIRTREDSMALL
19BUTTON SHIRTREDMEDIUM
20BUTTON SHIRTREDLARGE
21BUTTON SHIRTREDX-LARGE
22BUTTON SHIRTREDXX-LARGE
23JACKETBLACKSMALL
24JACKETBLACKMEDIUM
25JACKETBLACKLARGE
26JACKETBLACKX-LARGE
27JACKETBLACKXX-LARGE
Sheet1
Cells with Data Validation
CellAllowCriteria
A2List=UNIQUE(ITEM,FALSE,FALSE)
B2List=INDIRECT($A$2)
C2List=INDIRECT($B$2)
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
With 3 helper columns
+Fluff v2.xlsm
ABCDEFGHIJKLMNO
1ITEMCOLORSIZE
2JACKETBLACKSMALLITEMCOLORSIZEPRICEMANUFACTURET-SHIRTBLACKSMALL
3T-SHIRTBLUESMALL1ABUTTON SHIRTMEDIUM
4T-SHIRTBLUEMEDIUM2BJACKETLARGE
5T-SHIRTBLUELARGE3CX-LARGE
6T-SHIRTBLUEX-LARGE4DXX-LARGE
7PRICEMANUFACTURET-SHIRTBLUEXX-LARGE5E
821UT-SHIRTREDSMALL6F
9T-SHIRTREDMEDIUM7G
10T-SHIRTREDLARGE8H
11T-SHIRTREDX-LARGE9I
12T-SHIRTREDXX-LARGE10J
13BUTTON SHIRTBLUESMALL11K
14BUTTON SHIRTBLUEMEDIUM12L
15BUTTON SHIRTBLUELARGE13M
16BUTTON SHIRTBLUEX-LARGE14N
17BUTTON SHIRTBLUEXX-LARGE15O
18BUTTON SHIRTREDSMALL16P
19BUTTON SHIRTREDMEDIUM17Q
20BUTTON SHIRTREDLARGE18R
21BUTTON SHIRTREDX-LARGE19S
22BUTTON SHIRTREDXX-LARGE20T
23JACKETBLACKSMALL21U
24JACKETBLACKMEDIUM22V
25JACKETBLACKLARGE23W
26JACKETBLACKX-LARGE24X
27JACKETBLACKXX-LARGE25Y
28
Master
Cell Formulas
RangeFormula
M2:M4M2=UNIQUE(G3:G27)
N2N2=UNIQUE(FILTER(H3:H27,G3:G27=A2))
O2:O6O2=UNIQUE(FILTER(I3:I27,(G3:G27=A2)*(H3:H27=B2)))
A8:B8A8=FILTER(J3:K27,(G3:G27=A2)*(H3:H27=B2)*(I3:I27=C2),"")
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
A2:C2List=M2#
 
Upvote 0
Solution
With 3 helper columns
+Fluff v2.xlsm
ABCDEFGHIJKLMNO
1ITEMCOLORSIZE
2JACKETBLACKSMALLITEMCOLORSIZEPRICEMANUFACTURET-SHIRTBLACKSMALL
3T-SHIRTBLUESMALL1ABUTTON SHIRTMEDIUM
4T-SHIRTBLUEMEDIUM2BJACKETLARGE
5T-SHIRTBLUELARGE3CX-LARGE
6T-SHIRTBLUEX-LARGE4DXX-LARGE
7PRICEMANUFACTURET-SHIRTBLUEXX-LARGE5E
821UT-SHIRTREDSMALL6F
9T-SHIRTREDMEDIUM7G
10T-SHIRTREDLARGE8H
11T-SHIRTREDX-LARGE9I
12T-SHIRTREDXX-LARGE10J
13BUTTON SHIRTBLUESMALL11K
14BUTTON SHIRTBLUEMEDIUM12L
15BUTTON SHIRTBLUELARGE13M
16BUTTON SHIRTBLUEX-LARGE14N
17BUTTON SHIRTBLUEXX-LARGE15O
18BUTTON SHIRTREDSMALL16P
19BUTTON SHIRTREDMEDIUM17Q
20BUTTON SHIRTREDLARGE18R
21BUTTON SHIRTREDX-LARGE19S
22BUTTON SHIRTREDXX-LARGE20T
23JACKETBLACKSMALL21U
24JACKETBLACKMEDIUM22V
25JACKETBLACKLARGE23W
26JACKETBLACKX-LARGE24X
27JACKETBLACKXX-LARGE25Y
28
Master
Cell Formulas
RangeFormula
M2:M4M2=UNIQUE(G3:G27)
N2N2=UNIQUE(FILTER(H3:H27,G3:G27=A2))
O2:O6O2=UNIQUE(FILTER(I3:I27,(G3:G27=A2)*(H3:H27=B2)))
A8:B8A8=FILTER(J3:K27,(G3:G27=A2)*(H3:H27=B2)*(I3:I27=C2),"")
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
A2:C2List=M2#
I added those formulas and I have the drop downs built. For the VLOOKUP, how do I use 3 values to find the right row? It seems like I can only use 1 value and it takes the first matching record.
 
Upvote 0

Forum statistics

Threads
1,224,829
Messages
6,181,224
Members
453,025
Latest member
Hannah_Pham93

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