Skip to main content

Sum if between two values in Excel

In your daily work, it may be common for you to calculate total score or total amount for a range. To solve this problem, you can use the SUMIFS function in Excel. The SUMIFS function is used to sum up particular cells based on multiple criteria. This tutorial will demonstrate how to use the SUMIFS function to sum data between two numbers.

Sum if between two values with SUMIFS function

Assuming, you have a list of the scores of your students as above screenshot shown, now, you need to sum the scores that are between 80 and 100 (including 80 and 100).

To get the total values between two given numbers, the SUMIFS function can do you a favor. The generic syntax is:

=SUMIFS(sum_range, criteria_range, criteria1, criteria_range, criteria2)
  • sum_range: The range with values that you want to sum;
  • criteria_range: The range of cells to match the criteria;
  • criteria1: The first condition for summing the values; (In this case, the criteria1 is “>=80”)
  • criteria2: The second condition for summing the values; (In this case, the criteria2 is “<=100”)

Tip: By using the SUMIFS function, we can use a variety of logical operators. Such as “=”, “>”, “>=”, “<”, “<=” etc.

Please use any one of the below formulas, and then press Enter key to get the result:

=SUMIFS(B2:B12,B2:B12,">=80",B2:B12,"<=100")                   (Type the criteria manually)
(Use cell references)

Relative function used:

  • The SUMIFS function in Excel can help to sum cell values based on multiple criteria.

More articles:

  • Sum If Cells Contain Specific Text In Another Column
  • This tutorial will show you how to sum values if cells contain specific or partial text in another column. Take the below data range as an example, to get the total amounts of the products containing the text “T-Shirt”, both the SUMIF function and SUMPRODUCT function can deal with this task in Excel.
  • Sum Smallest Or Bottom N Values Based On Criteria
  • In previous tutorial, we have discussed how to sum the smallest n values in a data range. In this article, we will perform a further advanced operation – to sum the lowest n values based on one or more criteria in Excel.

The Best Office Productivity Tools

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations