logo
search
Function Problems

How to Use SUMIFS for Multiple Criteria in an Excel Table

Maira MehtabMaira Mehtab Sep 21, 2026 869 views

Question details

The user needs to calculate separate totals for different bills and a grand total using multiple criteria (month, name, and category), but the results fail to update when dropdown values are changed.

Product
Microsoft Excel
Device & OS
not provided
Scenario
Calculating dynamic conditional sums in an Excel worksheet based on multiple dropdown criteria selections.
Observed behavior
The SUMIFS formula either produces incorrect results or the totals do not refresh automatically when new criteria values are selected from the dropdowns.
Before you start

Ensure that your month criteria are formatted as real dates rather than text, and verify that the dropdown list values exactly match the spelling in your source data.

Solution 1Recommended

Construct the SUMIFS Formula with Date Ranges

Use SUMIFS combined with the EOMONTH function to calculate totals accurately based on specific date ranges, names, and categories.

To sum values over a specific month chosen via a dropdown, you must define the start and end of that month in the criteria. The EOMONTH function helps calculate these boundaries automatically.

1
Enter the SUMIFS formula

Select the cell for your first total (e.g., D2) and enter the following formula: =SUMIFS('Sheet A'!C2:C1000, 'Sheet A'!$A2:$A1000, ">"&EOMONTH($A2,-1), 'Sheet A'!$A2:$A1000, "<="&EOMONTH($A2,0), 'Sheet A'!$B2:$B1000, $B2, 'Sheet A'!$F2:$F1000, $C2)

2
Copy the formula across columns

Click and drag the fill handle from the bottom-right corner of cell D2 across the adjacent cells to apply the formula to the other bill columns.

3
Calculate the grand total

In the grand total cell (e.g., G2), type the formula =SUM(D2:F2) and press Enter to sum the calculated individual bills.

Formula Accuracy: Using exact absolute references (like $A2:$A1000) ensures the criteria ranges remain locked when copying the formula to other columns.

Easily Calculate Complex Formulas with WPS Spreadsheet

WPS Spreadsheet provides robust support for advanced logical functions like SUMIFS, making it easy to filter and sum data across multiple criteria. It handles Excel tables, dropdown lists, and dynamic calculations seamlessly.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your data tables and criteria sheets.
  2. 2. Insert the SUMIFS formula: Select the target cell, type =SUMIFS(, and use the intuitive formula helper to select your sum ranges and condition ranges without manually typing.
  3. 3. Set up dynamic dropdowns: Navigate to Data > Data Validation to quickly create and manage dropdown lists for your criteria.
  4. 4. Ensure automatic calculation: Go to the Formulas tab and click Calculation Options to verify that 'Automatic' is selected for instant updates.
100% compatible with Microsoft Excel formulas and .xlsx formatsFull support for advanced functions including SUMIFS, EOMONTH, and VLOOKUPBuilt-in dynamic tables and flexible Data Validation for dropdown menusFast, lightweight application for efficient data processing
microsoft office alternative - wps office

Frequently Asked Questions

Why does my SUMIFS formula return a #VALUE! error?

This typically occurs if the sum_range and the criteria_range arguments are not the same size. Ensure that all the ranges in your formula (for example, C2:C1000 and A2:A1000) cover the exact same number of rows and columns.

Can I use wildcard characters with SUMIFS in a dropdown list?

Yes, you can use wildcards like the asterisk (*) or question mark (?) within your criteria cells to match partial text strings, and the SUMIFS formula will interpret them correctly to calculate the sum.

How do I sum values based on a month without using the EOMONTH function?

You can create a helper column in your source data that extracts the month number using the MONTH() function. Then, you can simply use that helper column as your criteria range in the SUMIFS formula, pointing it to a month number criteria.