Table of Contents
The SUMIF function in Excel stands out as an exceptionally powerful and essential tool for data analysis and reporting. This function enables users to perform conditional summation, meaning it calculates the total sum of values in a specific range only if corresponding cells meet a defined criterion. This capability moves beyond simple aggregation, allowing for nuanced filtering and precise analysis based on numerical or textual conditions. Understanding the mechanics of the SUMIF function is fundamental for anyone looking to efficiently process large datasets, particularly when dealing with performance metrics, budget tracking, or sales figures that require selective summation. The core efficiency of this function lies in its ability to consolidate two steps—filtering and summing—into a single, compact formula, drastically simplifying spreadsheet management and improving overall calculation speed.
While the SUMIF function is versatile, one of its most common and practical applications involves using relational operators to define numerical constraints. Specifically, calculating the sum of values that are strictly less than a specified threshold is a frequent requirement in business intelligence. For instance, a finance analyst might need to sum all transactions below $500, or a logistics manager might need to total inventory counts that are less than the minimum required stock level. The inherent flexibility of Excel allows us to embed these quantitative requirements directly into the formula’s criterion argument, providing immediate and dynamic results without the need for manual sorting and filtering of data. This specialized use case is what distinguishes the power of conditional functions from standard summation tools.
To successfully implement conditional summation, the user must correctly identify three necessary components: the range to check against the condition (Range), the specific condition itself (Criteria), and the range containing the values to be summed (Sum_range). When the goal is to sum values that are less than a threshold, the criteria argument requires careful formatting, typically incorporating quotation marks around the operator and the value. This structure ensures that Excel interprets the argument as a logical test rather than a simple numerical input. By mastering this syntax, users can unlock sophisticated data manipulation capabilities, quickly isolating and aggregating data points that satisfy the ‘less than’ requirement, thereby streamlining complex analytical workflows and providing immediate insights into data distributions.
Understanding the SUMIF Function Syntax
The standard syntax for the SUMIF function is meticulously designed to handle conditional logic efficiently. It follows the structure: =SUMIF(range, criteria, [sum_range]). The first argument, range, specifies the set of cells where the condition will be evaluated. The second argument, criteria, defines the condition itself, which is the focus of determining whether a cell should be included in the sum. Crucially, the third argument, sum_range, is optional; if omitted, Excel will calculate the sum based on the cells specified in the first argument (range). When applying numerical criteria such as ‘less than’, the range and criteria are essential components that dictate the function’s output, allowing users to precisely control which numerical figures contribute to the final tally.
To specifically address the requirement of summing values less than a certain number, the criteria argument must include the appropriate relational operator, which in this case is the less than symbol (<). This operator must be enclosed within double quotation marks along with the numerical threshold. For instance, to sum all values in a given range that fall below 100, the complete criterion is represented as "<100". This precise formatting is critical because it signals to Excel that the criteria argument is a complex text string containing both a logical operator and a numerical comparison value, ensuring accurate conditional testing across the specified range. Failure to use quotation marks around the operator and value will result in an error or incorrect interpretation of the logic.
Consider a practical scenario where we wish to sum values in the Excel range B2 through B13 that are below the value of 100. The required formula is constructed as follows, using B2:B13 as both the range to check and the range to sum (since the optional sum_range is omitted):
You can use the following formula in Excel to sum all values in a range that are less than a particular value:
=SUMIF(B2:B13, "<100")
This particular formula sums all of the values in the range B2:B13 that are less than 100. This highly specific instruction ensures that only data points strictly below the threshold contribute to the resulting total, providing a focused summary that is often required for performance metrics or compliance checks where absolute limits are enforced.
Defining the “Less Than” Criterion
The core mechanism that drives the “Sum If Less Than” operation within the SUMIF function is the correct application of the less than relational operator (<). This operator is a fundamental element of logic in spreadsheets and programming, determining whether a value in the checked range is numerically smaller than the specified target value. It is vital to recognize that the conditional test is strictly exclusive; a value equal to the threshold is not included in the summation. If, for example, the criterion is "<100", any cell containing the value 100 or greater will be excluded from the calculation, ensuring precise adherence to the defined analytical scope.
Constructing the criterion requires the operator to be concatenated with the comparison value, all contained within double quotes. This requirement is necessary because Excel interprets the second argument of the SUMIF function as a text string when it includes logical operators. If the value were just a number (e.g., 100), Excel would only sum cells that are exactly equal to 100. By prepending the less than operator, <, we transform the criterion into a complex logical expression, instructing the software to compare each cell value in the range against the specified boundary. Understanding this distinction between exact match criteria and comparison criteria is crucial for advanced formula writing.
Furthermore, the threshold itself does not have to be a static number like 100. It can be a dynamic input derived from another part of the spreadsheet, such as the result of another formula or a value keyed into a control cell. This flexibility dramatically enhances the utility of the SUMIF function, allowing users to build interactive dashboards where the summing threshold can be adjusted instantaneously. However, when using a cell reference for the threshold, the syntax changes slightly, requiring the concatenation operator (&) to join the operator string and the cell value, a topic we will explore in detail shortly. This technique is indispensable for creating robust and adaptable analytical models.
Practical Example: Summing Sales Below a Threshold
The following example shows how to use this formula in practice. To solidify the theoretical understanding of using the less than operator, let us walk through a concrete application using sales data, which is a common scenario in organizational reporting. Our objective is to identify and aggregate the total sales volume that falls below a certain performance level, perhaps to flag transactions requiring further review or to calculate bonuses based on low-volume counts.
Suppose we have the following dataset in Excel that contains information about sales made by various employees at some company:

In this scenario, the sales figures are contained within the column range B2:B13. We are interested in summing only those sales amounts that are less than 100 units. Since our criteria range and our sum range are identical (both are B2:B13), the simplest form of the SUMIF function can be employed. The function will iterate through each cell from B2 to B13, test the logical condition Value < 100, and include the value in the final total if the condition evaluates as TRUE. This direct application bypasses the complexity of using the optional third argument, making the formula concise yet highly effective for targeted data aggregation.
We can use the following formula to sum all of the values in the Sales column that are less than 100:
=SUMIF(B2:B13, "<100")The following screenshot shows how to use this formula in practice:

Upon reviewing the calculated output, we can see that the sum of the values in the Sales column that are strictly less than 100 is 168. This result is derived by aggregating the specific sales figures (e.g., 18, 50, 40, 60), while excluding those equal to or above 100 (such as 100, 110, 150, etc.). This demonstration confirms the function’s utility in isolating data based on a numerical boundary.
Integrating Cell References for Dynamic Criteria
While using a fixed numerical value (like "<100") in the criteria argument is effective for static analyses, professional data modeling often requires dynamic thresholds that can change frequently without needing to manually edit the formula itself. This is achieved by incorporating a cell reference into the SUMIF function‘s second argument. By pointing the criterion to a cell containing the threshold value, any change made to that single control cell automatically updates the resulting sum, providing substantial flexibility and minimizing the risk of errors associated with formula modification. This method is particularly valued in financial models and complex reports where scenario analysis or ‘what-if’ comparisons are frequently required.
The syntax for incorporating a dynamic cell reference differs fundamentally from using a hard-coded value. When Excel processes the criteria, it must interpret the operator (<) as a text string and the cell reference (e.g., D2) as a variable value to be retrieved. To correctly combine these two disparate data types, the formula must utilize the concatenation operator (ampersand, &). The relational operator must remain enclosed in quotation marks—e.g., "<"—while the cell reference is placed outside the quotes and connected using the ampersand, yielding a format like "<"&D2. This structural requirement ensures that Excel correctly forms the logical test before evaluating the range.
Note that you could also use a cell reference in the formula.
For example, we could use the following formula to sum the values in the Sales column that are less than the value in cell D2:
=SUMIF(B2:B13, "<"&D2)The following screenshot shows how to use this formula in practice:

Handling “Less Than or Equal To” Conditions
While the strictly “less than” criterion (<) is useful for setting clear, exclusive boundaries, there are numerous analytical situations where the inclusion of the boundary value itself is required. For instance, if an organization defines low performance as sales up to and including $100, the condition must be inclusive. Excel provides the “less than or equal to” relational operator (<=) to accommodate this common requirement. This slight modification fundamentally changes the logical evaluation of the SUMIF function, ensuring that data points matching the threshold are included in the final aggregation.
To implement this inclusive logic, the structure of the criteria argument remains similar to the exclusive ‘less than’ case, but the operator changes to <=. The criteria must still be enclosed in double quotes when using a hard-coded value. Therefore, to sum all values that are 100 or less, the criteria argument becomes "<=100". This simple change allows analysts to shift their focus from strictly below a threshold to encompassing the boundary itself, which is often crucial for calculations involving maximum limits, compliance levels, or inclusive ranking systems. Understanding the precise difference between < and <= is vital for accurate conditional data processing.
The principle of dynamic cell reference also applies perfectly when utilizing the “less than or equal to” operator. If the threshold value is stored in a control cell, the formula syntax must again use the concatenation operator. The expression would transform to "<="&D2. This maintains the flexibility of dynamic input while ensuring that the inclusive condition is correctly applied across the specified range. It is important to remember that for both fixed and dynamic criteria, the chosen operator dictates whether the threshold value contributes to the final sum, making operator selection the most critical step in defining the conditional logic.
Note: To calculate the sum of values equal to or less than a certain value, use “<=” in the formula instead. For example, using =SUMIF(B2:B13, "<=100") would include any sales transaction of exactly 100 in the total, whereas the strict ‘less than’ formula would exclude it. This distinction is paramount when precision is required in data summation.
Advanced Considerations and Common Mistakes
While the SUMIF function is robust, users frequently encounter issues related to data formatting, syntax errors, or logical range misalignment. One common mistake, especially when dealing with numerical criteria, is failing to enclose the operator and numerical value in quotation marks, particularly when not using a cell reference. Excel interprets complex criteria as text strings, so <100 without quotes will cause the function to fail or produce incorrect results. Always remember the fundamental rule: any criteria containing a logical operator (<, >, =) must be presented as a text string.
Another area of complexity arises when the range used for checking the criterion (the first argument) is different from the range containing the values to be summed (the third argument, sum_range). When both ranges are used, they must be of the same size and dimension. Excel performs the summation by pairing cells row-by-row; if the ranges do not align precisely, the results will be offset, leading to a summation error that can be difficult to diagnose. For instance, if the criteria are checked in A1:A10 but the sum range is B1:B11, the sum calculation will likely be inaccurate, as the pairing will extend beyond the necessary data points.
Furthermore, data type inconsistencies often plague conditional summing. The SUMIF function requires the range being evaluated to contain actual numbers for numerical comparisons like ‘less than’ to work correctly. If the cells in the range are formatted as text—even if they appear to contain numbers—the conditional evaluation will fail, and the function will return zero, as no value will successfully meet the numerical criterion. Before troubleshooting a zero result from a seemingly correct formula, always verify that the data in the range is properly stored as numerical data type, ensuring seamless operation of the conditional logic.
Expanding Conditional Summation: Introducing SUMIFS
While the SUMIF function is excellent for handling a single condition, data analysis frequently requires applying multiple criteria simultaneously. For instance, we might need to sum sales that are ‘less than 100’ AND made by ‘Employee X’. For scenarios involving two or more conditions, Excel provides the SUMIFS function. This function extends the capability of conditional summing by allowing the specification of multiple criteria ranges and corresponding criteria, all of which must be satisfied for a value to be included in the sum. The syntax for SUMIFS is slightly different, starting with the sum range first: =SUMIFS(sum_range, criteria_range1, criteria1, criteria_range2, criteria2, ...).
When using SUMIFS to perform a “less than” check, the same principles for defining the criterion apply, including the mandatory use of quotation marks around the operator and value (or the concatenation operator & when using a cell reference). For example, to sum sales less than 100 in range B2:B13, but only for employees listed in A2:A13 as ‘Smith’, the formula would look like: =SUMIFS(B2:B13, B2:B13, "<100", A2:A13, "Smith"). Notice how the criteria range B2:B13 is repeated because it serves as both the range for the first condition (less than 100) and the sum range itself.
Mastering both SUMIF function and SUMIFS equips the analyst with a comprehensive toolkit for conditional data aggregation in Excel. While SUMIF is ideal for simple, single-condition checks, SUMIFS handles complex, layered analyses, ensuring that regardless of the complexity of the criteria, accurate and highly specific totals can be calculated efficiently. By consistently applying the rules for relational operators, especially the ‘less than’ criteria, users can generate powerful and insightful reports.
Cite this article
stats writer (2025). How to Easily Sum Values Less Than a Specific Number in Excel. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-to-do-sum-if-less-than-in-excel/
stats writer. "How to Easily Sum Values Less Than a Specific Number in Excel." PSYCHOLOGICAL SCALES, 22 Nov. 2025, https://scales.arabpsychology.com/stats/how-to-do-sum-if-less-than-in-excel/.
stats writer. "How to Easily Sum Values Less Than a Specific Number in Excel." PSYCHOLOGICAL SCALES, 2025. https://scales.arabpsychology.com/stats/how-to-do-sum-if-less-than-in-excel/.
stats writer (2025) 'How to Easily Sum Values Less Than a Specific Number in Excel', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-to-do-sum-if-less-than-in-excel/.
[1] stats writer, "How to Easily Sum Values Less Than a Specific Number in Excel," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, November, 2025.
stats writer. How to Easily Sum Values Less Than a Specific Number in Excel. PSYCHOLOGICAL SCALES. 2025;vol(issue):pages.
