SUMIFS with dates — month, quarter, and range totals (with answers)

How to total with SUMIFS between two dates, by month, and by quarter—without breaking on text “dates.” Twelve graded problems plus a live SUMIFS drill.

SUMIFS can filter on dates the same way it filters on region or status—but only if column A holds real Excel dates (numbers), not text that merely looks like 01/15/2025. This page is the date-focused companion to SUMIFS practice problems.

Live drill: SUMIFS practice · Guide: SUMIFS · Worksheet: expense totals · Dashboard habit: SUMIFS habit.

Pattern to memorize

Month of March 2025 on amounts in D and dates in A:

=SUMIFS(D2:D100, A2:A100, ">="&DATE(2025,3,1), A2:A100, "<"&DATE(2025,4,1))

Notes:

Practice table

Enter as real dates in A2:A13 (format however you like):

DateRegionCategoryAmount
5-Jan-2025EastHardware120
12-Jan-2025WestSoftware80
28-Jan-2025EastHardware40
3-Feb-2025EastSoftware200
14-Feb-2025NorthHardware90
20-Feb-2025WestHardware55
1-Mar-2025EastSoftware150
10-Mar-2025WestHardware70
22-Mar-2025EastHardware30
5-Apr-2025NorthSoftware110
18-Apr-2025EastHardware95
27-Apr-2025WestSoftware60

Problems (with answers)

  1. All of January 2025

=SUMIFS(D2:D13,A2:A13,">="&DATE(2025,1,1),A2:A13,"<"&DATE(2025,2,1)) → 240

  1. February Hardware only

=SUMIFS(D2:D13,C2:C13,"Hardware",A2:A13,">="&DATE(2025,2,1),A2:A13,"<"&DATE(2025,3,1)) → 145

  1. East in March 2025

=SUMIFS(D2:D13,B2:B13,"East",A2:A13,">="&DATE(2025,3,1),A2:A13,"<"&DATE(2025,4,1)) → 180

  1. Q1 2025 (Jan–Mar) total

=SUMIFS(D2:D13,A2:A13,">="&DATE(2025,1,1),A2:A13,"<"&DATE(2025,4,1)) → 835

  1. Q1 Software

=SUMIFS(D2:D13,C2:C13,"Software",A2:A13,">="&DATE(2025,1,1),A2:A13,"<"&DATE(2025,4,1)) → 430

  1. On or after 1-Mar-2025

=SUMIFS(D2:D13,A2:A13,">="&DATE(2025,3,1)) → 515

  1. Strictly before 1-Feb-2025

=SUMIFS(D2:D13,A2:A13,"<"&DATE(2025,2,1)) → 240

  1. West between 1-Feb and 31-Mar inclusive

Prefer half-open end: =SUMIFS(D2:D13,B2:B13,"West",A2:A13,">="&DATE(2025,2,1),A2:A13,"<"&DATE(2025,4,1)) → 125

  1. April East Hardware

=SUMIFS(D2:D13,B2:B13,"East",C2:C13,"Hardware",A2:A13,">="&DATE(2025,4,1),A2:A13,"<"&DATE(2025,5,1)) → 95

  1. Start/end in cells — G1=2025-03-01, H1=2025-04-01

=SUMIFS(D2:D13,A2:A13,">="&G1,A2:A13,"<"&H1) → 250 (March total)

  1. YTD through March (same as Q1 here)

=SUMIFS(D2:D13,A2:A13,">="&DATE(2025,1,1),A2:A13,"<"&DATE(2025,4,1)) → 835

  1. Hardware excluding January

Full year Hardware minus January Hardware, or two ranges: =SUMIFS(D2:D13,C2:C13,"Hardware",A2:A13,">="&DATE(2025,2,1)) → 340

Month from a date without helper columns

If you must total “same month as G1” dynamically:

=SUMIFS(D2:D13,A2:A13,">="&DATE(YEAR(G1),MONTH(G1),1),A2:A13,"<"&DATE(YEAR(G1),MONTH(G1)+1,1))

(Watch December → use EDATE(DATE(YEAR(G1),MONTH(G1),1),1) as the exclusive end if you prefer.)

Traps that return 0 or wrong totals

More multi-criteria (non-date) drills: SUMIFS practice problems · SUMIF exercises.

Practice next

Excel practice hub · Free lessons · Blog