Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to sum a total in multiple Excel tables
  • How To Compare Two Lists in Excel
  • How to calculate average last N values in a table in Excel
  • Conditional Formatting Color Scales Examples in Excel
  • Working With Tables in Excel

References

  • How to use Excel ROW Function
  • Lookup entire row in Excel
  • How to retrieve first match between two ranges in Excel
  • How to get address of named range in Excel
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation must begin with
  • Excel Data validation specific characters only
  • Prevent invalid data entering in specific cells
  • Excel Data validation allow uppercase only
  • Excel Data validation date in specific year

Sum if between in Excel

by

This tutorial shows how to Sum if between in Excel using the example below;

Formula

=SUMIFS(sum_range,criteria_range,">500",criteria_range,"<1000")

Explanation

To sum if between, you can use the SUMIFS with two criteria.

In the example shown, cell G5 contains this formula:

=SUMIFS(amount,amount,">500",amount,"<1000")

Where “amount” is a named range for cells D5:D11.

This formula sums the amounts in column D when they are greater than 500 and less than 1000.

Worked Example:   SUMIFS multiple criteria lookup in table in Excel

How the formula works

The SUMIFS function supports Excel’s logical operators (i.e. “=”,”>”,”>=”, etc.), so you can use these as you like in your criteria.

In this case, we want to sum values in column D which match two criteria. The sum range is therefore “amount” (D4:D11), followed by two range / criteria pairs:

amount,">500" // criteria 1
amount,"<1000" // criteria 2

With these criteria, the SUMIFS function sums up all amounts greater than 500 and less than 1000.

Worked Example:   Sum if cells contain both x and y in Excel

Note that both operators (>, <) and threshold amounts are enclosed in double quotes (“”).

If you want to include the threshold numbers in the sum (include amounts that equal 500 and 1000), use greater than or equal to (>=) and less than or equal to (<=), like so:

=SUMIFS(amount,amount,">=500",amount,"<=1000")

Using a cell reference

If you want to expose the threshold amounts on the worksheet so they can be easily changed, use this formula:

=SUMIFS(amount,amount,">="&A1,amount,"<"&B1)

Where A1 is a reference to the lower threshold and B1 is a reference to the upper threshold

Post navigation

Previous Post:

How to use Excel FALSE Function

Next Post:

Large with criteria in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use IFS function in Excel
  • Nested IF function example in Excel
  • Check multiple cells are equal in Excel
  • Extract multiple matches into separate rows in Excel
  • Return blank if in Excel

Date Time

  • Convert decimal hours to Excel time
  • Calculate series of dates by workdays in Excel
  • Calculate expiration date in Excel
  • DAYS function: Description, Usage, Syntax, Examples and Explanation
  • Get work hours between dates and times in Excel

Grouping

  • Group numbers with VLOOKUP in Excel
  • Calculate conditional mode with criteria in Excel
  • Categorize text with keywords in Excel
  • How to randomly assign data to groups in Excel
  • Running count group by n size in Excel

General

  • How to generate random number between two numbers in Excel
  • How to calculate percent of students absent in Excel
  • Split Cell Content Using Text to Columns in Excel
  • List worksheet index numbers in Excel
  • Delete Blank Rows at Once in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning