Calculation Issues

How to Limit a SUMIFS or SUM Total to a Maximum of 100 in Excel

Chanuka GeekiyanageChanuka Geekiyanage Nov 11, 2026 869 views

Question details

The user needs to cap the result of a SUM or SUMIFS calculation so that the final displayed total does not exceed a maximum value of 100.

How to Limit a SUMIFS Total to a Maximum of 100 in Excel
Product
Excel
Device & OS
not provided
Scenario
Calculating conditional totals where business rules or scoring systems dictate a strict upper limit.
Observed behavior
The formula should return the actual calculated sum unless it exceeds 100, in which case the cell must display exactly 100.
Before you start

Ensure that your current SUM or SUMIFS formula is returning the correct totals without the limit before you apply the capping function.

Solution 1Recommended

Use the MIN Function to Cap the Total

Wrapping your existing SUM or SUMIFS formula inside a MIN function is the most efficient and concise way to enforce a maximum limit.

The MIN function evaluates two or more values and returns the smallest one. By comparing your desired maximum limit (100) against the result of your SUM formula, Excel will automatically cap the output.

1
Select the target cell

Click on the cell where you want the limited total to appear.

2
Enter the MIN formula

Type =MIN(100, followed by your existing SUM or SUMIFS formula. For example, type =MIN(100, SUMIFS(B2:B50, A2:A50, "Completed")).

3
Apply the calculation

Press the Enter key to apply the formula. The cell will now display the calculated sum or 100, whichever value is lower.

Use the MIN Function to Cap the Total
Formula Logic: Because MIN returns the smaller of the two numbers, any sum over 100 will be ignored in favor of the hard limit of 100.
Spreadsheet Data Processing

Use WPS Spreadsheet to Cap Complex Formula Results

You can easily apply the MIN or IF functions to limit your SUMIFS totals in WPS Spreadsheet. It provides a robust formula engine that operates exactly like Excel, allowing you to manipulate data efficiently.

  1. 1. Open WPS Spreadsheet: Launch WPS Office and open your spreadsheet file containing the data.
  2. 2. Input the MIN formula: Click your target cell, type =MIN(100, SUMIFS(...)), and fill in your specific range criteria.
  3. 3. Press Enter: Press Enter to calculate the capped total instantly.
Fully compatible with Microsoft Excel formulas like SUMIFS, SUM, and MIN.Smart auto-complete suggestions for faster formula input and fewer syntax errors.Completely free to use for daily spreadsheet tasks and data analysis.Lightweight installation and fast processing of large datasets.
microsoft office alternative - wps office

Frequently Asked Questions

Can I limit a formula to a minimum value instead of a maximum?

Yes, to set a minimum threshold (a floor), use the MAX function instead. For example, =MAX(0, SUM(A1:A50)) ensures the result never drops below 0.

Does this capping method work with other Excel functions like AVERAGE or COUNTIF?

Absolutely. You can wrap any calculation inside a MIN formula. For instance, =MIN(100, AVERAGE(B2:B20)) will limit the calculated average to a maximum of 100.

What if I want to reference a cell for the maximum limit instead of hardcoding 100?

You can replace the number 100 in the formula with a cell reference, such as =MIN(C1, SUM(A1:A50)). This allows you to dynamically change the maximum limit by simply updating the value in cell C1.