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

Data Analysis

  • How to Sort by Color in Excel
  • Conditional Formatting Color Scales Examples in Excel
  • Reverse List in Excel
  • How to calculate current stock or inventory in Excel
  • Example of COUNTIFS with variable table column in Excel

References

  • How to use Excel TRANSPOSE Function
  • How to get first column number in range in Excel
  • How to use Excel ROW Function
  • How to get first row number in range in Excel
  • Perform case-sensitive Lookup in Excel

Data Validations

  • Excel Data validation exists in list
  • Excel Data validation must begin with
  • Excel Data validation number multiple 100
  • Excel Data validation date in specific year
  • How To Create Drop-down List in Excel

Sum if date is between in Excel

by

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

Formula

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

Explanation

To sum values that are between two dates, you can use the SUMIFS function.

In the example shown, cell H5 contains this formula:

=SUMIFS(amount,date,">"&H5,date,"<"&H6)

This formula sums the amounts in column D when a date in column C is between a date in H5 and a date in H6. In the example, H5 contains Sept 15, 2015 and H6 contains Oct 15, 2015.

Worked Example:   Sum if cells are not equal to in Excel

How the formula works

The SUMIFS function supports Excel’s logical operators (i.e. “=”,”>”,”>=”, etc.), and multiple criteria.

Worked Example:   IF with boolean logic in Excel

To match dates between two values, we need to use two criteria. SUMIFs require that each criteria be entered as a criteria/range pair:

">"&H5,date // criteria 1
"<"&H6,date // criteria 2

Note that we need to enclose the logical operators in double quotes (“”) then join with cell references using an ampersand (&).

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

Take care to use greater than or equal to (“>=”) and less than or equal to (“<=”) if you want to include (match) the start or end date as well as the dates in between.

Post navigation

Previous Post:

44 Practical Excel IF function Examples

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

  • Invoice status with nested if in Excel
  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • IF with wildcards in Excel
  • SWITCH function example in Excel
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get day from date in Excel
  • YEARFRAC function: Description, Usage, Syntax, Examples and Explanation
  • Get work hours between dates in Excel
  • WORKDAY.INTL function: Description, Usage, Syntax, Examples and Explanation
  • Count day of week between dates in Excel

Grouping

  • Categorize text with keywords in Excel
  • Group numbers with VLOOKUP in Excel
  • How to randomly assign data to groups in Excel
  • Group numbers at uneven intervals in Excel
  • Group times into 3 hour buckets in Excel

General

  • Sum by group in Excel
  • Create dynamic workbook reference to another workbook in Excel
  • How to increase by percentage in Excel
  • How to calculate percent of goal in Excel
  • How to calculate total from percentage in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning