How to Add Dependent Dropdown in Excel

How-to basics · Updated November 25, 2026

Dependent dropdowns (also called cascading dropdowns) let you choose a category in one cell, and then the dropdown in another cell shows only the options related to that category. For example, selecting “Fruit” in cell A1 makes cell B1 offer “Apple, Banana, Cherry,” while selecting “Vegetable” makes B1 offer “Carrot, Lettuce, Spinach.” This guide shows you how to set it up in Microsoft 365 Excel on Windows, with notes for Mac and Excel for the web.

What You’ll Need

  • A list of categories (e.g., Fruit, Vegetable) in a column or row.
  • A list of items for each category, arranged so each category’s items are in a separate column or row.
  • Excel’s Name Manager (available in all desktop versions) or the INDIRECT function (works in Excel for the web too).

Step-by-Step

  1. Prepare your data. Put your main categories in a single column. For example, in cells D1:D3, type: Fruit, Vegetable, Dairy. Then, in separate columns (or rows) to the right, list the items for each category. For instance, put Apple, Banana, Cherry in E1:E3, Carrot, Lettuce, Spinach in F1:F3, and Milk, Cheese, Yogurt in G1:G3. Make sure each column’s header (the first cell) matches the category name exactly—so E1 should be Fruit, F1 Vegetable, G1 Dairy.
  2. Create named ranges. Select the range E1:E3 (including the header). Go to the Formulas tab and click Define Name. In the dialog, type the name exactly as the category (e.g., Fruit) and click OK. Repeat for each category column (Vegetable, Dairy). Also, create a named range for the main category list: select D1:D3, go to Define Name, name it CategoryList (or any name without spaces).
  3. Add the first dropdown (category). Select the cell where you want the category (e.g., A1). Go to Data tab > Data Validation (on Mac, Data > Validation). In the dialog, under Allow, choose List. In the Source box, type =CategoryList (or whatever you named the category range). Click OK.
  4. Add the dependent dropdown. Select the cell for the dependent item (e.g., B1). Open Data Validation again. Choose List. In the Source box, type: =INDIRECT(A1). This tells Excel to look at the value in A1 and use that as the named range. Click OK.
  5. Test it. Click on A1 and pick a category from the dropdown. Then click on B1—the dropdown should now show only the items for that category. If you change A1, B1 will update its options.

Mac and Excel for the web: The steps are the same. On Mac, the Data Validation dialog is under Data > Validation. Excel for the web supports INDIRECT and named ranges, but the Define Name option is under Formulas > Name Manager (you may need to create named ranges on desktop first if the web version doesn’t allow defining names—but it does in most modern browsers).

Common Mistakes

  • Names with spaces or special characters. If your category names have spaces (e.g., “Dairy Products”), you must use underscores or remove spaces when naming ranges, because Excel doesn’t allow spaces in names. Then the INDIRECT formula must match the name exactly.
  • Mismatched header names. The named range name must exactly match the category value in the first dropdown. If A1 shows “Fruit” but the named range is “fruits”, INDIRECT will fail.
  • Including the header in the named range. If you include the header cell in the named range, the dependent dropdown will show the header as an option. Select only the data cells (e.g., E2:E3) for the named range, not E1:E3.
  • Using the wrong cell reference in INDIRECT. If your category dropdown is in A1, use =INDIRECT(A1). If it’s in C5, use =INDIRECT(C5). A common error is typing the cell reference as text (e.g., =INDIRECT("A1")), which will look for a range named “A1″—that won’t work.

Tips

  • Use Table references instead of named ranges for easier maintenance. Convert your data to an Excel Table (Ctrl+T), then use structured references like =INDIRECT("Table1["&A1&"]")—but this is more complex and requires exact table and column names.
  • To make the dropdown list dynamic (auto-expanding when you add items), define the named range using OFFSET or use an Excel Table. For example, name the range Fruit with the formula =OFFSET(Sheet1!$E$2,0,0,COUNTA(Sheet1!$E:$E)-1,1)—this will include all non-empty cells in column E below the header.
  • If you want to show a blank option in the dependent dropdown, leave a blank cell at the top of each item list.
  • Use Data Validation with Error Alert to show a friendly message when someone types an invalid entry.

Troubleshooting

  • Dropdown shows “#REF!” or an error. This usually means the named range doesn’t exist or the name doesn’t match. Check the Name Manager (Formulas tab > Name Manager) to see if the range exists and its name matches exactly (case-insensitive, but no spaces).
  • Dropdown is blank. If the dependent dropdown appears but is empty, the named range may be empty, or the category value in A1 doesn’t match any named range. Double-check the spelling and that the named range includes the correct cells.
  • Data Validation is greyed out. This can happen if the worksheet is protected. Unprotect the sheet (Review > Unprotect Sheet) or allow editing of the cells.
  • INDIRECT doesn’t work on Excel for the web. It does work, but if you’re using an older browser or a very large workbook, try refreshing. Also, ensure you’re using the web version’s latest update.
  • Drop-down arrow doesn’t appear. Make sure the cell has Data Validation applied and that the cell is not locked if the sheet is protected. Also, check that the cell is not in a merged cell—merged cells can cause issues.

Frequently Asked Questions

Q: Can I have more than two levels of dependent dropdowns?
A: Yes, but it gets complex. You can chain them by using multiple INDIRECT functions, but each level requires its own set of named ranges. For example, B1 depends on A1, and C1 depends on B1 using =INDIRECT(B1)—but you’d need named ranges for each subcategory.

Q: Why does my dependent dropdown show the header name as an option?
A: Because you included the header cell in the named range. When defining the range, select only the data cells (e.g., E2:E3), not the header (E1).

Q: Can I use this technique in Google Sheets?
A: Yes, but the setup differs. In Google Sheets, you use data validation with ranges and the INDIRECT function works too, but you don’t have a Name Manager—you reference ranges directly (e.g., =INDIRECT(A1) where A1 contains a range address like “E2:E3”).

Q: What if my category names have spaces?
A: Replace spaces with underscores in the named range (e.g., “Dairy_Products”), and then in the first dropdown, use that exact name (with underscore) as the category value. Or, use a different display name and map it to the named range with a lookup formula.

Q: How do I make the dropdown list automatically expand when I add new items?
A: Use an Excel Table for your item lists. Select your data and press Ctrl+T to create a table. Then, when defining the named range, reference the table column like =Table1[Fruit]. This will automatically include new rows added to the table.

Q: Can I copy the dependent dropdown to multiple cells?
A: Yes. Select the cell with the dependent dropdown, copy it (Ctrl+C), then select the range of cells where you want it and paste (Ctrl+V). The INDIRECT formula will adjust relative references—if you copy B1 to B2, it becomes =INDIRECT(A2).

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.