Sum By Month to Date or Year to Date- Excel & Google Sheets

This tutorial will demonstrate how to use the SUMIFS function to sum data month-to-date or year-to-date in Excel and Google Sheets.

sum if month year to date Main Function

Sum by Month to Date

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

SUMIFS Function

This example sums Table Reservations month-to-date, using the Functions: SUMIFS, DATE, YEAR, MONTH, and TODAY.

SUMIFS by Month to Date

Now let’s step through the formula.


The TODAY Function returns the current date. The value is recalculated each time the file is viewed.

SUMIFS by Month to Date Calcs1

This is the upper end of our date range for the formula.


Then calculate the lower end of the date range: the first day of the current month. We use the DATE Function with YEAR and MONTH to produce this date value. Use the year and month of today’s date and set day to 1.

SUMIFS by Month to Date-Calcs2


Use the SUMIFS Function to sum Table Reservations when the date is greater than or equal to the first day of the month and less than or equal to the current day.

SUMIFS by Month to Date Calcs3

Combining these steps gives us the formula for the month to date sum:

SUMIFS by Month to Date

Sum by Year to Date

The same logic can be used to sum the number of Table Reservations for the current year up until today by making the start date the first day of the year. Both month and day are set to 1.

SUMIFS by Year to Date

Locking Cell References

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

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

SUMIFS by Year to Date$

Read our article on Locking Cell References to learn more.

Sum by Month to Date or Year to Date in Google Sheets

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

sum if month year to date Google Function

Excel Practice Worksheet

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

  • Automatically Graded Exercises
  • Learn Excel, Inside Excel!