Use a Dynamic Less-Than-or-Equal-To Criterion in Excel SUMIFS
Question details
Use a cell reference as a dynamic less-than-or-equal-to criterion in a SUMIFS formula.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user wants to sum values whose corresponding criteria values are less than or equal to a threshold stored in another cell.
- Observed behavior
- A direct cell reference is treated as an exact-match criterion rather than a less-than-or-equal-to comparison.
Identify the sum range, the range to compare, and the cell containing the threshold. Make sure the sum range and criteria range have matching dimensions.
Combine the SUMIFS comparison operator with the threshold cell
Use this method when the upper limit is stored in a cell and should update automatically.
Select the cell containing your SUMIFS formula and click the formula bar to edit it.
Replace the direct threshold reference with "<="&'AVG Call-Day'!$AT$2. For example, use =SUMIFS(sum_range,criteria_range,"<="&'AVG Call-Day'!$AT$2), replacing the range placeholders with your actual ranges.
Press Enter, then change the value in 'AVG Call-Day'!AT2 to verify that the sum updates.

Use dynamic SUMIFS criteria in WPS Spreadsheet
In WPS Spreadsheet, combine the comparison operator with a threshold cell to sum values up to a limit that can change.
- 1. Open your workbook: Open WPS Spreadsheet and use Open to select your Excel workbook.
- 2. Select the formula cell: Click the cell where you want the SUMIFS result, or select an existing SUMIFS formula.
- 3. Enter the criterion: In the formula bar, enter =SUMIFS(sum_range,criteria_range,"<="&'AVG Call-Day'!$AT$2), replacing the range placeholders with your actual ranges.
- 4. Check the result: Press Enter, then edit 'AVG Call-Day'!AT2 to check that the sum responds to the new threshold.

Frequently Asked Questions
Why does SUMIFS need an ampersand before the cell reference?
The ampersand joins the quoted comparison operator to the cell value. For example, "<="&A1 tells SUMIFS to include values less than or equal to the value in A1.
Will the SUMIFS result change when the threshold cell changes?
Yes. A formula such as =SUMIFS(B2:B10,A2:A10,"<="&D1) uses the current value in D1 when the workbook recalculates.
Can I use this criterion with other SUMIFS conditions?
Yes. Add each condition as another criteria-range and criterion pair, such as =SUMIFS(B2:B10,A2:A10,"<="&D1,C2:C10,"North"). Values must meet all conditions to be included.
Why is the sheet name enclosed in single quotes?
The sheet name 'AVG Call-Day' contains a space, so Excel uses single quotes around it in the reference 'AVG Call-Day'!$AT$2.




