Use an Excel Dropdown to Reference Named Ranges Dynamically
Question details
Use the named range selected in a dropdown as criteria for a SUMIFS formula.

- 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.
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.
Use INDIRECT to resolve the dropdown selection
Convert the name in F2 into a range reference that SUMIFS can use as its criteria.
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.
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.
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 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. Open the workbook: Open WPS Spreadsheet and use File > Open to select your Excel workbook.
- 2. Verify the range name: Check the defined name in the Formulas tab and select that name from the dropdown in F2.
- 3. Enter the formula: Select the result cell and enter =SUM(SUMIFS(DHM!$K:$K,DHM!$I:$I,INDIRECT($F$2))).
- 4. Test the dropdown: Choose another name in F2 and check that the result updates for the selected criteria.

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.




