Dynamic Drop-Down Lists Based on Another Cell's Value

emmanuelkatto

Spammer
Joined
Aug 13, 2024
Messages
1
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Hello Community Members,

My name is Emmanuel Katto, and I’m reaching out to seek your expertise regarding a challenge I’m facing with Excel drop-down lists.
I have a workbook where I am trying to create dynamic drop-down lists based on the selection of another cell. For example:
  1. Cell A1: Contains a category (e.g., "Fruits," "Vegetables").
  2. Cell B1: Should provide a drop-down list of items that correspond to the selected category in A1.
  • If "Fruits" is selected in A1, I want Cell B1 to list items like "Apple," "Banana," and "Orange."
  • If "Vegetables" is selected, I want it to show "Carrot," "Broccoli," and "Spinach."
I’ve done some research and attempted to use the INDIRECT function along with named ranges. Here’s what I did:
  1. Created a named range called "Fruits" that refers to the cells containing the fruit names.
  2. Created another named range called "Vegetables."
  3. In Cell B1, I set up Data Validation using a formula: =INDIRECT(A1)
Is the method I'm using correct to create dynamic drop-downs? If not, what adjustments should I make?

Please let me know.

Thanks in advance!
Emmanuel Katto
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Welcome to the forum. :)

Yes it is correct. Are you having problems with it?
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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