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)
=SUMIFS(B2:B12,B2:B12,">="&E1,B2:B12,"<="&E2)               
(Use cell references)


Relative function used:

  • SUMIFS:
  • 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

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


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