Function Problems

Use Multiple Source Ranges in an Excel Form Control Combo Box

Chanuka GeekiyanageChanuka Geekiyanage Nov 25, 2026 870 views

Question details

The user wants a Form Control combo box to display a source range selected by another combo box while retaining a numeric cell link.

Use Multiple Source Ranges in an Excel Form Control Combo Box
Product
Microsoft Excel
Device & OS
not provided
Scenario
A primary combo box selects which list a secondary combo box should display.
Observed behavior
The Form Control input range does not readily retain formulas such as CHOOSE or INDIRECT, making it difficult to switch source ranges directly.
Before you start

Make sure the Developer tab is available in Excel and identify the primary combo box's linked cell and the ranges that contain the secondary lists. The examples below use Sheet1!B1 for the linked cell and lists on a sheet named Lists.

Solution 1Recommended

Use a helper range to switch the combo box list

Use this formula-based approach when the source lists are similar in size and you want to avoid VBA.

The secondary combo box keeps one fixed input range. Formulas in that range change the displayed values according to the numeric selection in the primary combo box's linked cell.

1
Link the primary combo box

Right-click the primary Form Control combo box, select Format Control, and set Cell link to Sheet1!$B$1. Its first item returns 1, its second item returns 2, and so on.

2
Create the helper list

For example, put two four-item source lists in Lists!A2:A5 and Lists!B2:B5. In Lists!D2, enter =IF(Sheet1!$B$1=1,A2,IF(Sheet1!$B$1=2,B2,"")), then fill the formula down through D5.

3
Name the helper range

Select Lists!D2:D5, open Formulas > Define Name, and name the range ComboItems.

4
Set the secondary input range

Right-click the secondary Form Control combo box, select Format Control, and enter =ComboItems in Input range. Set its Cell link to a different cell if you also need its numeric selection.

5
Test both selections

Use the primary combo box to select each list, then open the secondary combo box and select an item from the updated list.

Use a helper range to switch the combo box list
Check list sizes and selections: Extend the helper range and formula for longer lists. Shorter lists may show blank entries, and you should reselect the secondary item after changing the primary selection.
Free Microsoft Office alternative

Work with Excel spreadsheets in WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files and move between office tasks easily; Excel-specific Form Control behavior and VBA solutions should be tested in Microsoft Excel.

Edit spreadsheet data and formulas in WPS SpreadsheetsCompatible with Microsoft Excel XLSX filesUse a familiar interface to navigate worksheets and rangesA free, lightweight office suite for everyday documents
microsoft office alternative - wps office

Frequently Asked Questions

Why does the primary combo box return a number instead of the selected text?

A Form Control combo box writes the selected item's position to its linked cell: 1 for the first item, 2 for the second, and so on. Set the linked cell under Format Control.

Can I enter CHOOSE or INDIRECT directly in the Form Control input range?

Form Control input ranges may not retain those formulas reliably. Instead, put formulas in worksheet helper cells and point the control to that range, or use VBA to change its ListFillRange.

Why are there blank items in my secondary combo box?

A fixed helper range can include empty results when the selected source list is shorter than the range. Check the formulas and range under Formulas > Name Manager, and adjust the list sizes if appropriate.

Can an ActiveX combo box replace the Form Control?

An ActiveX combo box offers properties and event handling that can make dependent lists more flexible. Availability and security settings vary by Excel version and platform, so check Developer > Insert and your organization's ActiveX settings.

What file type should I use for the VBA solution?

Choose File > Save As and save as an Excel Macro-Enabled Workbook (*.xlsm). The macro must be permitted to run for the primary selection to update the secondary input range.