How do i show a large selection of data depending on a drop down list.

Luke1690

Board Regular
Joined
Jul 26, 2022
Messages
106
Office Version
  1. 2016
Platform
  1. Windows
Morning,

I'm creating an order sheet the top of the order form stays the same.

i have created a multi dependant drop down list (B16 is the final drop down list)

when a value is selected from B16 i want it to show a large part list corresponding to that value.
the cells i want it to show in are ( A18:G18) down

i have the list of parts on separate sheet in the same range of cells (A18:G18) The list ends at (A32:G32)

Please can someone help me i believe i need to use VLOOKUP But i don't mind using code if that's easier.

Thanks Guys
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Im not sure exactly what you want. but is this something that would work? (I'm not sure why the wrap in the formula text occured)
WorkBook1.xlsx
ABCDEFGHIJKLMNOP
10
11DropDownListJ18:J32
12Parts:K18:P32
13
14A18: =LET(a,Parts,b,$B$16,r,XMATCH(B16,DropDownLIst,0),c,COLUMNS(Parts), INDEX(Parts,r,N(SEQUENCE(1,c,1,1))))
15
16Part:VJP
17ListParts
18JPAICDSDGUCNEBNNQFGDNWEIALQMAXACKEVXSTP
19EEOSTBFOLKQWBMCGLFTLA
20VMODOLVXIQVDSSRGSMFZH
21ZMTMASWUTBFOEDSEGYOKU
22PSWIDUPNNXCMQGINKRUAO
23RNLBVNHQFAGQCJQSZLYVE
24WFKPWMXIPHOATPBNVJQOU
25NPWOPDCQLAPHNMIUAPSBE
26VJPJPAICDSDGUCNEBNNQF
27CAZLXPMOMYUACSGCWUBCY
28YCFIYAPABZXCUXIQGROQG
29HKIRMSCFDIUDPNCGQHLSS
30LJMPPJVITQMWVHEKWZIHP
31URMOIIGTCUKJHVFQFXZRM
32ZQCQRGZLOLYKSBNBQPWJU
Sheet1
Cell Formulas
RangeFormula
B14B14=FORMULATEXT(A18)
A18:F18A18=LET(a,Parts,b,$B$16,r,XMATCH(B16,DropDownLIst,0),c,COLUMNS(Parts), INDEX(Parts,r,N(SEQUENCE(1,c,1,1))))
Dynamic array formulas.
Named Ranges
NameRefers ToCells
DropDownLIst=Sheet1!$J$18:$J$32A18
Parts=Sheet1!$K$18:$P$32A18
Cells with Data Validation
CellAllowCriteria
B16List=DropDownLIst
 
Upvote 0
@awoohaw The OP's profile they are using 2016 & so do not have most of those functions.
 
Upvote 0

Forum statistics

Threads
1,214,817
Messages
6,121,717
Members
449,050
Latest member
MiguekHeka

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