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.
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
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:
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:
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.
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.