Recent chats
ASKGEEZ Q&A GUIDETechnology & devices

How can I make a dropdown list that updates when I add new inventory categories?

Quick answer

Keep inventory categories in a dedicated Excel table and use its category column as the dropdown source. A dropdown associated with a table column updates when you add or remove table items. [S1] Test the dropdown after changing the list. If you rename or remove a category, review existing inventory entries separately rather than assuming they have been corrected.

LET’S WORK THROUGH IT

The question, the details, the next step.

Question

I’m making an inventory sheet in Excel. I want staff to choose a category from a dropdown, but I don’t want to rebuild it every time we add a category. What should I base the dropdown on?

Geez

Use a dedicated category list formatted as an Excel table, and set the dropdown’s source to the table’s category column. Excel supports table-column sources, and a dropdown associated with that table updates when you add or remove items in it. [S1]

For example, put one category per row in a separate list: “Office supplies,” “Packaging,” and “Tools.” Give the column a clear heading such as “Category.” Keep the inventory rows elsewhere, so the source list is easy to maintain.

After setting up the source, open an inventory cell’s dropdown and check the choices. The important distinction is that the source should be the table column, rather than a fixed set of cells that stops at the categories you had on setup day.

Follow-up question

Can you show me what the source list and a test would look like? I’m worried I’ll accidentally include a blank row or a heading as a choice.

Geez

A simple layout could be:

Category table:

  • Category
  • Office supplies
  • Packaging
  • Tools

Inventory table:

  • Item
  • Category
  • [example item]
  • [choose from dropdown]

Treat “Category” as the table heading, not as a choice. Keep only intended choices in the category rows. Then open a dropdown in an inventory row and confirm that it shows the categories you expect, rather than a heading or an unintended blank.

To test expansion, add a temporary row such as “Test category” to the category table and open the dropdown again. If it appears, remove the temporary row and check that it is no longer offered. This practical check helps confirm that your workbook is using the source you intended.

Follow-up question

What about inventory rows that already have a category? If I rename or delete a category from the list, will those old entries be corrected too?

Geez

Check the dropdown list and existing inventory values separately. The table-backed dropdown updates when table items are added or removed, but that does not establish that existing inventory entries are automatically changed or flagged. [S1]

Before renaming or removing a category, find rows that use it and decide what should replace it. For a rename, update the affected entries to the new label and check a few rows. For a removal, assign affected items to an appropriate remaining category, or keep the category if it is still needed for your records. Don’t assume that changing the source list has also cleaned up the inventory data.

Follow-up question

Can you give me a short setup checklist I can follow before other people start using the sheet?

Geez

Use this checklist:

  1. Create a separate category list with one intended choice per row and a clear heading.
  2. Format the list as an Excel table and use its category column as the dropdown source. [S1]
  3. Add a temporary category and check that it appears; remove it and check again.
  4. Review existing inventory entries before renaming or removing a category.
  5. Check the dropdown in the Excel version or mode your team will use, and make sure the cell is wide enough to show entries. Excel for the web has editing limitations. [S1]

Excel also supports cell ranges and named ranges as dropdown sources, but a named range may need its definition updated as the list changes. [S1] If you choose one of those alternatives, include its range definition in your maintenance checks.

A practical checklist

  • Keep one intended category per row in a dedicated list.

  • Use the category table column as the dropdown source.

  • Test the dropdown after adding and removing a temporary category.

  • Review existing inventory values before renaming or removing a category.

  • Check the dropdown in the Excel version or mode your team will use.

A few more useful answers

Can I use a fixed cell range instead of a table?

Excel supports cell ranges and named ranges as dropdown sources. A named range may need its definition updated as the list changes; a table-backed dropdown updates when table items are added or removed. [S1]

Does removing a category from the dropdown fix old inventory rows?

The table’s dropdown choices update, but the source does not establish that existing inventory values are automatically cleaned up. Review affected rows separately. [S1]

Sources

References used for this guide.

  1. [S1] Add or remove items from a drop-down list
    support.microsoft.com · Checked

YOUR QUESTION. YOUR DETAILS.

Let’s work through your situation.

Get a tailored answer or help with your next task. Starts at $1, with a quote before you pay.

Ask your own question
← Back to Geez at Work