Dependent drop down list

PurpleCat88

New Member
Joined
Oct 7, 2022
Messages
1
Office Version
  1. 2013
Platform
  1. Windows
Good morning!
I have a spreadsheet that is going to be used as a template for projects at my company. Because of this, a lot of the formulas and data are dynamic and can change a lot. Information is entered in sheets 1 and 2, and 3 will utilize drop downs to create a sequence of operations of motion parts. My issue is currently, the drop downs include all motions, which could range from a few hundred, to 1000+. The motions are specific to stations, where stations will be in column B and motions will be in column C. I have a separate data sheet where all my tables and formulas are to make things dynamic. I have made formulas to determine what row the motions start and finish between each station, and I am hoping to have drop downs where when 1 station is selected, only the motions for that station are listed in the second drop down. The layout of sheets 2 and 3 will be similar, but sheet 3 will have motions organized by sequence of operations. I'm sure there is a better way to do this, if it is possible, and would appreciate any help!

Book1.xlsx
BCDEF
1SectionStationDevices
212345-01 Section 1
3010_Station 1
4Motion 1
5Motion 2
6Motion 3
7020_Station 2
8Motion 4
9Motion 5
10Motion 6
1112345-02 Section 2
12010_Station 3
13Motion 7
14Motion 8
15020_Station 4
16Motion 9
Sheet1

Cell Formulas
RangeFormula
I2:I16I2=IF(Stations<>"",Stations,"")
J2:J16J2=IF(Stations<>"",ROW(),"")
K2:K16K2=IF(J2="","",MAX(K$1:K1)+1)
L2:L16L2=IFERROR(INDEX([StationRow],MATCH(ROW()-ROW($J$1),[StationsFound],0)),"")
M2:M16M2=IF($L2<>"",[StationRowOrder]+1,"")
N2:N16N2=IF(AND($L3<>"",[MotionsStart]<>""),$L3-1,"")
Named Ranges
NameRefers ToCells
Stations=Sheet1!$C$2:$C$16I3:I16, I2:J2
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,223,923
Messages
6,175,392
Members
452,640
Latest member
steveridge

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