ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Dates
  3. Month-to-Date Totals in Excel

Month-to-Date Totals in Excel

By ExcelReady Team·Updated November 2, 2026·6 min read

The short answer

A month-to-date sum adds every amount dated from the first day of the current month up to today. Use SUMIFS with two date conditions: =SUMIFS(C:C,A:A,">="&EOMONTH(TODAY(),-1)+1,A:A,"<="&TODAY()). EOMONTH(TODAY(),-1)+1 is the 1st of this month. Replace TODAY() with a date cell to see the total as of any day.

Key takeaways

  • Month to date means from the 1st of the month up to and including today (or a chosen date).
  • EOMONTH(date,-1)+1 returns the first day of that date's month.
  • Use SUMIFS with ">=" on the start date and "<=" on the end date, joined with &.
  • Use EDATE(date,-1) as the end date to compare with the same days of last month.
  • If your dates include times, use "<"&date+1 as the end condition so today's entries count.
On this page+
  1. The month to date sum formula
  2. How the formula works
  3. Use an as-of date cell instead of TODAY
  4. Compare month to date with last month
  5. Month-to-date for one rep, product or region
  6. Project the full month from month to date
  7. Why is the month-to-date total wrong?
  8. Practise it

A month-to-date total, often shortened to MTD, adds every amount dated from the 1st of the current month up to today. In Excel, you get a month to date sum with SUMIFS and two date conditions, using EOMONTH to find the first day of the month. This guide builds the formula step by step, then shows how to compare it with last month and project the full month.

The month to date sum formula#

Use SUMIFS with a start date and an end date. With dates in column A and amounts in column C:

Excel formula
=SUMIFS(C:C,A:A,">="&EOMONTH(TODAY(),-1)+1,A:A,"<="&TODAY())

It adds every amount whose date is on or after the 1st of this month and on or before today. Because it uses TODAY(), the total moves forward by itself each day, and it starts again from zero on the 1st of each month.

All the examples below use this sales log, with F1 holding an as-of date of 18 March 2026 instead of TODAY(), so the results stay the same:

ABC
1DateRepAmount
210 Feb 2026Ana400
325 Feb 2026Ben600
42 Mar 2026Ben250
59 Mar 2026Ana300
615 Mar 2026Cara150
718 Mar 2026Ben200
824 Mar 2026Ana500
Excel formula
=SUMIFS(C2:C8,A2:A8,">="&EOMONTH(F1,-1)+1,A2:A8,"<="&F1)

The result is 900: the four March sales up to the 18th (250 + 300 + 150 + 200). The 24 March sale is after the as-of date, and the February sales are before the start date.

How the formula works#

Each part of the formula has one job:

PartWhat it doesResult for 18 Mar 2026
C2:C8The amounts to add
EOMONTH(F1,-1)Last day of the previous month28 Feb 2026
EOMONTH(F1,-1)+1First day of this month1 Mar 2026
">="&EOMONTH(F1,-1)+1On or after the 1st
"<="&F1On or before the as-of date

EOMONTH stands for "end of month". EOMONTH(date, months) returns the last day of the month that is months away from the date. With -1 you get the end of last month, and one day later is the start of this month. The EOMONTH function guide shows more uses.

The & joins the comparison operator to the date. Writing ">=EOMONTH(F1,-1)+1" inside the quotes wouldn't work, because Excel would read it as plain text. If you prefer, DATE(YEAR(F1),MONTH(F1),1) gives the same first day.

SUMIFS works in every current version of Excel. The SUMIFS function guide explains how the range and criteria pairs fit together.

Use an as-of date cell instead of TODAY#

Point the formula at a date cell when you need to check the total for a past day, or when a report must show a fixed date. Type the date in F1, or put =TODAY() in F1 so one cell controls the whole sheet.

This has two benefits. Every MTD formula on the sheet reads the same date, so they always agree. And you can type any date into F1 to answer questions like "what were sales month to date on the 10th?" With 10 March 2026 in F1, the same formula returns 550 (250 + 300).

Compare month to date with last month#

To compare fairly, sum last month over the same number of days. EDATE moves a date by whole months, so EDATE(F1,-1) is 18 February 2026:

Excel formula
=SUMIFS(C2:C8,A2:A8,">="&EOMONTH(F1,-2)+1,A2:A8,"<="&EDATE(F1,-1))

EOMONTH(F1,-2)+1 is 1 February. The result is 400: only the 10 February sale falls between 1 and 18 February. Comparing 900 with 400 shows March is ahead:

Excel formula
=(900-400)/400

That is a change of 125%. In a real sheet, use the two cells that hold the totals instead of typed numbers. Comparing March MTD with the whole of February (1,000) would be unfair, because February had more days to collect sales.

When the as-of date is the 31st, EDATE returns the last day of a shorter month, such as 28 February. That is usually what you want.

Month-to-date for one rep, product or region#

Add more pairs to SUMIFS to narrow the total. Ben's month-to-date sales are:

Excel formula
=SUMIFS(C2:C8,A2:A8,">="&EOMONTH(F1,-1)+1,A2:A8,"<="&F1,B2:B8,"Ben")

The result is 450 (250 + 200). To count deals instead of adding amounts, swap SUMIFS for COUNTIFS and drop the sum range: the same date pairs give 4 sales this month to date. The guide to counting by month covers COUNTIFS with dates.

Project the full month from month to date#

A simple projection divides the MTD total by the days so far and multiplies by the days in the month:

Excel formula
=900/DAY(F1)*DAY(EOMONTH(F1,0))

DAY(F1) is 18, and DAY(EOMONTH(F1,0)) is 31, the number of days in March. The projection is 900 ÷ 18 × 31 = 1,550. It assumes sales keep the same daily pace, so treat it as a rough guide, not a forecast.

The same idea extends to longer periods. A year-to-date total uses the 1st of January as the start date, and summing by month gives one total per full month. For weekly views, see how to sum by week.

Why is the month-to-date total wrong?#

When the MTD total looks too low or shows 0, check these in order:

  1. Dates include times. A sale at 14:30 today is later than today's date, which means midnight. "<="&TODAY() skips it. Use "<"&TODAY()+1 as the end condition.
  2. Dates are text. Imported dates that sit on the left of the cell are often text, and SUMIFS can't compare them. Convert them to real dates first.
  3. The criteria are inside the quotes. ">=F1" compares with the letters F1. Write ">="&F1.
  4. Ranges are different sizes. In SUMIFS, the sum range and each criteria range must cover the same rows, or you get #VALUE!.
  5. You expected future-dated rows. Orders dated later this month are left out by design, because they are not "to date".

For other date windows, such as the last 30 days or a custom period, see how to sum between two dates.

Practise it#

Date conditions are easier once you've typed a few. Practise dates in criteria in a live spreadsheet: you'll build totals by date range and by month, and each formula is checked instantly. Then use the COUNTIFS and SUMIFS lesson to add rep and region conditions on top.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

F1 holds the as-of date, 18 March 2026. In F2, use SUMIFS to add the Amount (C2:C8) from the 1st of that month up to F1. Use EOMONTH(F1,-1)+1 for the start date.

fx
ABCDEFG
1
Date
Rep
Amount
As of
46099
2
46063
Ana
400
MTD sales
3
46078
Ben
600
4
46083
Ben
250
5
46090
Ana
300
6
46096
Cara
150
7
46099
Ben
200
8
46105
Ana
500
9
10
11

Tip: Start with C2:C8. Then two pairs on A2:A8: ">="&EOMONTH(F1,-1)+1 and "<="&F1.

Practise this in a lesson

LessonDates in criteria: totals by date range and monthCount and total rows between two dates with COUNTIFS and SUMIFS, build a monthly summary, and drive the date range from input cells.LessonCOUNTIFS and SUMIFSCount and sum with several conditions at once, and learn why SUMIFS puts the sum range first.Function guideSUMIFSTotal values that meet several conditions with SUMIFS. Examples by region, month and number range, common errors, and live practice.Function guideEOMONTHFind the last day of any month with Excel's EOMONTH for due dates, month totals and days in a month. Examples, pitfalls and a live exercise.

Frequently asked questions

What is the formula for month to date in Excel?

+

Use =SUMIFS(C:C,A:A,">="&EOMONTH(TODAY(),-1)+1,A:A,"<="&TODAY()), where column A holds dates and column C holds amounts. It adds every amount from the 1st of this month up to today.

How do I get the first day of the current month in Excel?

+

Use =EOMONTH(TODAY(),-1)+1. EOMONTH(TODAY(),-1) is the last day of last month, and adding 1 gives the 1st of this month. =DATE(YEAR(TODAY()),MONTH(TODAY()),1) gives the same date.

How do I compare month to date with last month?

+

Sum last month from its 1st day up to the same day number: =SUMIFS(C:C,A:A,">="&EOMONTH(F1,-2)+1,A:A,"<="&EDATE(F1,-1)), where F1 is the as-of date. Then compare the two totals.

Why does my month-to-date total leave out today's sales?

+

Your dates probably include a time. A sale at 2 PM today is later than today's date at midnight, so "<="&TODAY() skips it. Use "<"&TODAY()+1 instead.

Sources

  • SUMIFS function - Microsoft Support
  • EOMONTH function - Microsoft Support
  • EDATE function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. The month to date sum formula
  2. How the formula works
  3. Use an as-of date cell instead of TODAY
  4. Compare month to date with last month
  5. Month-to-date for one rep, product or region
  6. Project the full month from month to date
  7. Why is the month-to-date total wrong?
  8. Practise it

Keep reading

Dates· 6 min read

Year-to-Date Totals in Excel

For a year-to-date sum in Excel, use SUMIFS with two date conditions: on or after 1 January of the current year, and on or before today. The formula is =SUMIFS(C2:C9,A2:A9,">="&DATE(YEAR(F1),1,1),A2:A9,"<="&F1), where A is the date column, C is the amount and F1 holds the as-of date or =TODAY().

Conditional math· 6 min read

How to Sum by Month in Excel With SUMIFS

To sum by month in Excel, put the first day of the month in a cell, such as D2, and use SUMIFS with two date conditions: =SUMIFS(B2:B8,A2:A8,">="&D2,A2:A8,"<="&EOMONTH(D2,0)). EOMONTH returns the last day of that month, so the formula adds every amount dated from the 1st to the month end. Fill it down for a monthly summary.

Dates· 6 min read

How to Count Dates by Month in Excel

To count dates by month in Excel, use COUNTIFS with a date range: put the first day of the month in E2 and use =COUNTIFS(B2:B100,">="&E2,B2:B100,"<="&EOMONTH(E2,0)). EOMONTH(E2,0) returns the last day of that month. Fill the formula down next to a list of month start dates to build a monthly summary. Add more pairs for extra conditions.

More on dates

  • How to Calculate Months Between Two Dates
  • Count Working Days With NETWORKDAYS and WORKDAY
  • Find the Next Monday (or Any Weekday) in Excel
  • Get the Quarter From a Date in Excel
  • How to Remove the Time From a Date in Excel
  • Round Time to the Nearest 15 Minutes in Excel
All dates articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free