Truly Dynamic Dropdown Lists?

BrianGGG

Board Regular
Joined
Mar 5, 2016
Messages
62
Hello,

I have been scouring the internet and these forums to see if I can find a truly dynamic scheme for dropdowns. I have seen lots of solutions that depend on many named ranges, but I am hoping for more of a tabular approach.

Here is the situation:

I have a single table that has a group and an item similar to:

Group Item
Ggp1 Item1
Ggp1 Item2
Ggp1 Item3
Ggp2 Item4
Ggp2 Item5
etc.

(there could be 10 groups and 8-10 items per group)


Then, I have a data entry table with two fields: Group and Item.
What I would like to do is:


  • First choose the Group name from a dropdown. This would be the distinct groups from the codelist.
  • In the field to the right of the group (the item) dropdown only the items that match the chosen group.
  • I would like to avoid using a separate named range for every group because I would like to add new groups into the codelist above without having to create new named ranges
  • I tried deriving a range in the table by figuring out the first and last instance of each group and then doing INDEXES. No good with Data Validation, it kept saying invalid formula.
  • I tried INDIRECT and OFFSET to the best of my abilities, that doesn't seem to work either
  • I CAN sort the codelist, I could use helper columns/tables with the codelist or the data table, I CANNOT use VBA

Anyone have any ideas about whether this can be done truly dynamically without any pre-defined named ranges?




thanks
BrianGGG
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,223,220
Messages
6,170,807
Members
452,354
Latest member
yuzha

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