You are on page 1of 2

DD.Fruit DD.Veg DD.

Equip noDD

Data List DropDown Lists

Idx Fruit Vegetable Farm Equip Farmer DD.Fruit DD.Veg


1 Apple Turnip Tractor John Apple Carrot
2 Banana Gourd Hoe Bill Banana Gourd
3 Orange Turnip Rake Mike Orange Turnip
4 Melon Tomato Ladder George Melon Tomato
5

Implementation Notes
1 There are 3 named ranges for the dropdown lis
Validation Formula using RELATIVE reference 2 The range "noDD" contains a single blank cell,
Source: =INDIRECT(C$2) 3 All cells in the range for data entry (blue shade)
Note that the column number is relative, but the row number is fixed 4 The (hideable) row 2 contains the name of the v
5 For this example, I do not use the "Error Alert"
6 The names in [J6:M6] are used when selecting

Possible Enhancements
1 Cell F2 could be left blank, so the entries benea
Currently, the cells could still show a dropdown
Add a VBA routine to remove the [InCellDropdo
DD.Equip noDD
Tractor
Hoe
Rake
Ladder

3 named ranges for the dropdown lists named [DD.Fruit], [DD.Veg], and [DD.Equip]
e "noDD" contains a single blank cell, so any value will be allowed when that range is used
n the range for data entry (blue shade) have the same validation formula, as shown at left
able) row 2 contains the name of the validation list range appropriate to the column below it
xample, I do not use the "Error Alert" or "Input Message" configuration of Data Validation, this can be used if required
es in [J6:M6] are used when selecting a dropdown list in range [C2:F2]

Enhancements
ould be left blank, so the entries beneath the "Farmer" column would have no valid dropdown values
the cells could still show a dropdown arrow when selected, but no list would appear.
A routine to remove the [InCellDropdown] feature of the validation, although this can be a finicky bit of code.

You might also like