Function Problems

Use an Excel Dropdown to Reference Named Ranges Dynamically

Anum MushtaqAnum Mushtaq Dec 2, 2026 868 views

Question details

Use the named range selected in a dropdown as criteria for a SUMIFS formula.

Use an Excel Dropdown to Reference Named Ranges Dynamically
Product
Microsoft Excel
Device & OS
not provided
Scenario
A dropdown in cell F2 contains the name of a range used as SUMIFS criteria.
Observed behavior
The formula returns zero when it uses F2 directly because Excel reads the cell contents as text rather than as a named range reference.
Before you start

Check that F2 contains the exact name of an existing defined range. In Excel, open Formulas > Name Manager to verify the name and its scope.

Solution 1Recommended

Use INDIRECT to resolve the dropdown selection

Convert the name in F2 into a range reference that SUMIFS can use as its criteria.

1
Check the dropdown value

Select F2 and choose a defined name from the dropdown. Confirm that the name appears in Formulas > Name Manager and is accessible from the formula's worksheet.

2
Update the formula

In the result cell, enter =SUM(SUMIFS(DHM!$K:$K,DHM!$I:$I,INDIRECT($F$2))). INDIRECT converts the text in F2 into the named range reference.

3
Test the result

Change the selection in F2 and confirm that the total reflects the corresponding criteria values. The formula sums DHM column K where DHM column I matches those values.

Use INDIRECT to resolve the dropdown selection
Check array calculation support: When the named range contains multiple criteria values, SUMIFS returns multiple results for SUM to combine. Older Excel versions may require confirming the formula with Ctrl+Shift+Enter.
Work with named ranges in WPS

Use dropdown-selected named ranges in WPS Spreadsheet

Open your workbook in WPS Spreadsheet and use INDIRECT with SUMIFS to resolve a named range selected in a dropdown.

  1. 1. Open the workbook: Open WPS Spreadsheet and use File > Open to select your Excel workbook.
  2. 2. Verify the range name: Check the defined name in the Formulas tab and select that name from the dropdown in F2.
  3. 3. Enter the formula: Select the result cell and enter =SUM(SUMIFS(DHM!$K:$K,DHM!$I:$I,INDIRECT($F$2))).
  4. 4. Test the dropdown: Choose another name in F2 and check that the result updates for the selected criteria.
Use dropdown selections as named range criteriaOpen and edit Microsoft Excel XLSX and XLS filesWork with familiar spreadsheet formulas and menusUse WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

Why does SUMIFS return zero when I reference the dropdown cell?

A cell containing a defined name is treated as text when used directly. Use INDIRECT($F$2) to turn that text into a reference to the named range.

What if INDIRECT returns a reference error?

Check F2 for spelling or extra spaces, then open Formulas > Name Manager to confirm that the defined name exists and is accessible from the formula's worksheet.

Can the named range contain multiple criteria values?

Yes. SUM(SUMIFS(...,INDIRECT($F$2))) combines the results for the values in the named range. Older Excel versions may require Ctrl+Shift+Enter to confirm the array formula.

Why might the total be larger than expected?

If the named criteria range contains duplicate values, SUMIFS can calculate the same matching total more than once. Check the named range for duplicates.