Sum Values if Dates are Equal– Excel & Google Sheets

This tutorial will demonstrate how to use the SUMIFS Function to sum data with specific dates in Excel and Google Sheets.

sum if dates equal Main Function

Sum Values if Dates are Equal

The SUMIFS Function sums data that meet certain criteria. Its syntax is:

SUMIFS syntax

This example will sum the number of Planned Deliveries on a specific Date by using the SUMIFS and DATE Functions.

sum if dates equal Main Function

In this example, we want to sum Deliveries planned for 1/2/2021. To enter this Date as a criteria in our formula, we use the DATE Function:

In this case, the DATE Function expression above is all we need to test whether the date is equal to 1/2/2021. However, a logical test in the SUMIFS Function generally requires an operator in double quotes (“”), so the sum criteria could also be written as:

Sum Values if Dates are Equal – Cell References

Usually, it is bad practice to hard-code date values into formulas. Instead, it is more flexible to use a separate cell to define the date to be used as a sum criteria.

SUMIFS by Exact Date Cell Ref

This allows the user to change the Date used in the formula in a quicker and more visual way by editing the cell F3.

Note that other logical operators can also be used in SUMIFS, such as:

  • Greater than (“>”&F3)
  • Greater than or equal to (“>=”&F3)
  • Less than (“<“&F3)
  • Less than or equal to (“<=”&F3)
  • Not equal to (“<>”&F3)
AutoMacro - VBA Code Generator

Locking Cell References

To make our formulas easier to read, we’ve shown the formulas without locked cell references:

But these formulas will not work properly when copy and pasted elsewhere in your file. Instead, you should use locked cell references like this:

Read our article on Locking Cell References to learn more.

Sum Values if Dates are Equal in Google Sheets

These formulas work exactly the same in Google Sheets as in Excel.

sum if dates equal Google Function

Excel Practice Worksheet

Practice Excel functions and formulas with our 100% free practice worksheets!

  • Automatically Graded Exercises
  • Learn Excel, Inside Excel!