# How to SUM if value is less than in Excel

In this article, we will learn about how to SUM if value is less than a particular values using SUMIF in Excel.

In simple words, while working with long data sheet. Sometimes we need to find the sum if only the value which is less than a particular value or say
we need to add values where data value of the corresponding values is less than a given value.

SUMIF function returns the sum of range if date is greater than given date.
Syntax:

=SUMIF(range , "<=" & value, Sum_range)

range : Set of Values / sum range
& : operator used to concatenate to other operator.
Sum_range : (optional) range where sum is required

Let’s understand this function using it in an example. Here we need to find the TotalPrice sum if quantity is less than 40.

So we will use the formula to get the amount

=SUMIF(D2:D10,"<=" &I3,F2:F10)

D2:D10 : range where quantity is less than 40.
"<=" & I3 : criteria, less than the value in I3 which is 40.
F2:F10 : Sum_range Use the formula as stated above and press Enter. As you can see the formula returns 438.82, the sum Totalprice amount.

Here we are applying criteria on the sum_range. If our criteria is to be applied on the sum_range.

Use the formula:

=SUMIF(F2:F10,"<=" & I3)

range is same as sum_range, then sum_range argument which is optional is not required. For customization just change the value in I3 cell and get the results with the formula.

You can perform the same function with Excel SUMIFS function.
Use the formula:

=SUMIFS(sum_range , range, ">" & value)

Hope you understood how to get the sum if value is less than a given value in Excel. Explore more articles on Excel SUMIF functions here. Please feel free to state your query or feedback for the above article.

Related articles:

How to Sum If Greater Than 0 in Excel

How to Sum if date is greater than given date in Excel

How to Sum Multiple Columns with Condition in Excel

Popular Articles

50 Excel Shortcut to Increase Your Productivity : Get faster at your task. These 50 shortcuts will make you work even faster on Excel.

How to use the VLOOKUP Function in Excel : This is one of the most used and popular functions of excel that is used to lookup value from different ranges and sheets.

How to use the COUNTIF function in Excel : Count values with conditions using this amazing function. You don't need to filter your data to count specific values. Countif function is essential to prepare your dashboard.

How to use the SUMIF Function in Excel : This is another dashboard essential function. This helps you sum up values on specific conditions.

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.