Excel Database and Dependant Lists

RyanH002

New Member
Joined
Mar 31, 2021
Messages
16
Office Version
  1. 2021
Platform
  1. Windows
I need some help please.

I have a workbook that I use for my job. In it I have multiple tabs for data input.

What I have is a database full of types of lighting fixtures all of which have different modes and cahnnel counts. The more advanced the mode the more channels they use. As these are made by multiple different manufacturers, they all have different attributes. For example one manufacturer will have modes labelled "Basic", "Extended", another may have "2Ch", "4Ch", "Standard", "Advanced" etc.

I have a database tab labelled "FIXTURES" where all this information is stored. Column A has the names of the fixtures and along row 1 I have put the names of modes. Then it's cross referenced so I put the channel count value in to the approiate cell against the fixture type and mode.

In the tab labelled "Patch" I have 2 drop down lists. The first in column E "Type" that has a list of all the fixtures, the second in column G "Mode" has a list of all the modes. From that column H "Chans" referneces these and produces the correct channel count.

I would like to create a database that when the mode is selected in column E, the drop down list in column G only gives me the modes for that fixture.

I have included my spreadsheet for reference. Happy and open to fully redesigning the database. Less so about other pages. I did not create this spreadsheet and there are lots of formulas that I don't know how they work but they do and I fundamentally want the bulk of the document to stay the same.


Document here: Lighting Workbook


Thanks
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Am I doing something wrong ? Your Google sheets are saying I need to request permission to view the file.
 
Upvote 0
Easiest way I can think of is creating a helper sheet with these formulas (only showing a few rows cols):

Lighting Workbook v2 - copia.xlsx
ABCDEFG
1
2
3 ~VariLite~ 
4VL4k SpotStandardExtended
5VL4k BeamWashStandardExtended
6VL35k WashStandard
7VL35k Wash FXStandard
8VL6000 BeamStandard
9VL5BStandard
10VL2600 ProfileStandardExtended
11VL2600 SpotStandardExtended
12 ~Clay Paky~
13SharpyStandardExtended
14Sharpy WashStandardExtended
15B-Eye K20StandardExtended
HelperSheet
Cell Formulas
RangeFormula
A3:A200A3=FIXTURE!A3:A200
D3:AR200D3=IF(FIXTURE!D3:AR200,FIXTURE!D1:AR1,"")
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
E7List=FixtureMode


(If you later on add more data to that list and excede row 200, you have to update these formulas.)

Then on sheet "Patch" with any cell on row 3 selected create named range

"FixtureMode"
Excel Formula:
=INDEX(HelperSheet!$D$3:$AR$200;MATCH(Patch!$E3;HelperSheet!$A$3:$A$200;0);0)

Finally in column G "Mode", set data validation to that named range:

1726230815252.png


Copy down to all cells in G.

You can hide the HelperSheet.

Let me know if this works for you.
 
Upvote 0
So this would be a completely seperate sheet? If this was the case, is there a way of me linking them so when I add to the FIXTURES database sheet it does the same on the helper sheet?
 
Upvote 0

Forum statistics

Threads
1,224,257
Messages
6,177,473
Members
452,781
Latest member
Latlonchy

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