EOMONTH

Date & Timeintermediate

EOMONTH (End Of Month) calculates the last day of a month relative to a starting date. Use 0 to get the end of the current month, positive numbers for future months, negative for past months. Essential for financial period calculations, payment due dates, and reporting deadlines.

Syntax

Excel:=EOMONTH(start_date, months)
Google Sheets: =EOMONTH(start_date, months)

Parameters

start_dateThe reference date.
monthsNumber of months forward (positive) or backward (negative). 0 = end of the same month.

? = optional parameter

Worked Example

What's the last day of the month for invoice date Jan 15, 2025?

Row numbersD
Header rowinvoice_datemonthsresult
22025-01-1502025-01-31

Formula

=EOMONTH(A2, B2)

Result

January 31, 2025

EOMONTH uses the date in A2 and the month offset in B2. With A2 set to 2025-01-15 and B2 set to 0, it returns the last day of that same month: January 31, 2025.

Practice Exercises

2 exercises - work through each one using the data table below

Exercise 1 of 2beginner
#EOMONTH-001

Question

If an invoice dated January 15, 2025 has 'Net End of Month' payment terms, what date is payment due? (i.e., what is the last day of January 2025?)

Dataset

Vendor Spend Tracker (150 rows total)

Download CSV
Row numbersAB
Header row
2INV-10012025-01-15
3INV-10022025-01-18
4INV-10032025-01-22
5INV-10042025-02-03
6INV-10052025-02-08
7INV-10062025-02-14
8INV-10072025-02-19
9INV-10082025-03-05
10INV-10092025-03-10
11INV-10102025-03-15
12INV-10112025-01-04
13INV-10122025-01-09
14INV-10132025-01-10
15INV-10142025-01-16
16INV-10152025-01-17
17INV-10162025-01-21
18INV-10172025-02-09
19INV-10182025-02-18
20INV-10192025-02-19
21INV-10202025-02-22
22INV-10212025-02-25
23INV-10222025-03-02
24INV-10232025-03-04
25INV-10242025-03-10
26INV-10252025-03-12
27INV-10262025-03-13
28INV-10272025-03-14
29INV-10282025-03-14
30INV-10292025-03-15
31INV-10302025-03-17
32INV-10312025-03-19
33INV-10322025-03-20
34INV-10332025-04-01
35INV-10342025-04-01
36INV-10352025-04-03
37INV-10362025-04-05
38INV-10372025-04-07
39INV-10382025-04-10
40INV-10392025-04-11
41INV-10402025-04-15
42INV-10412025-04-15
43INV-10422025-04-16
44INV-10432025-04-17
45INV-10442025-04-20
46INV-10452025-04-22
47INV-10462025-04-23
48INV-10472025-04-24
49INV-10482025-05-01
50INV-10492025-05-03
51INV-10502025-05-06
52INV-10512025-05-15
53INV-10522025-05-17
54INV-10532025-05-18
55INV-10542025-05-18
56INV-10552025-05-21
57INV-10562025-05-24
58INV-10572025-06-01
59INV-10582025-06-06
60INV-10592025-06-07
61INV-10602025-06-10
62INV-10612025-06-10
63INV-10622025-06-12
64INV-10632025-06-13
65INV-10642025-06-13
66INV-10652025-06-15
67INV-10662025-06-16
68INV-10672025-06-17
69INV-10682025-06-23
70INV-10692025-06-25
71INV-10702025-07-01
72INV-10712025-07-06
73INV-10722025-07-07
74INV-10732025-07-08
75INV-10742025-07-08
76INV-10752025-07-08
77INV-10762025-07-09
78INV-10772025-07-11
79INV-10782025-07-11
80INV-10792025-07-13
81INV-10802025-07-15
82INV-10812025-07-16
83INV-10822025-07-17
84INV-10832025-07-18
85INV-10842025-07-19
86INV-10852025-07-21
87INV-10862025-07-23
88INV-10872025-08-04
89INV-10882025-08-04
90INV-10892025-08-05
91INV-10902025-08-05
92INV-10912025-08-05
93INV-10922025-08-07
94INV-10932025-08-08
95INV-10942025-08-09
96INV-10952025-08-12
97INV-10962025-08-13
98INV-10972025-08-13
99INV-10982025-08-15
100INV-10992025-08-15
101INV-11002025-08-16
102INV-11012025-08-17
103INV-11022025-08-17
104INV-11032025-08-17
105INV-11042025-08-18
106INV-11052025-08-22
107INV-11062025-08-24
108INV-11072025-08-24
109INV-11082025-09-04
110INV-11092025-09-08
111INV-11102025-09-08
112INV-11112025-09-13
113INV-11122025-09-16
114INV-11132025-09-17
115INV-11142025-09-18
116INV-11152025-09-19
117INV-11162025-09-19
118INV-11172025-09-19
119INV-11182025-09-20
120INV-11192025-09-21
121INV-11202025-09-21
122INV-11212025-09-21
123INV-11222025-09-24
124INV-11232025-09-25
125INV-11242025-09-25
126INV-11252025-09-25
127INV-11262025-09-25
128INV-11272025-10-03
129INV-11282025-10-04
130INV-11292025-10-05
131INV-11302025-10-05
132INV-11312025-10-06
133INV-11322025-10-10
134INV-11332025-10-11
135INV-11342025-10-12
136INV-11352025-10-21
137INV-11362025-10-24
138INV-11372025-10-25
139INV-11382025-11-07
140INV-11392025-11-13
141INV-11402025-11-20
142INV-11412025-11-21
143INV-11422025-11-24
144INV-11432025-12-09
145INV-11442025-12-15
146INV-11452025-12-16
147INV-11462025-12-18
148INV-11472025-12-19
149INV-11482025-12-19
150INV-11492025-12-20
151INV-11502025-12-23
152

Scroll to explore the table, then sort or filter by column as needed.

Hints

Your Answer

Exercise 2 of 2intermediate
#EOMONTH-002

Question

If payment terms are 'Net End of Next Month' (payment due at the end of the month AFTER the invoice month), what would the due date be for an invoice dated March 15, 2025?

Dataset

Vendor Spend Tracker (150 rows total)

Download CSV
Row numbersAB
Header row
2INV-10012025-01-15
3INV-10022025-01-18
4INV-10032025-01-22
5INV-10042025-02-03
6INV-10052025-02-08
7INV-10062025-02-14
8INV-10072025-02-19
9INV-10082025-03-05
10INV-10092025-03-10
11INV-10102025-03-15
12INV-10112025-01-04
13INV-10122025-01-09
14INV-10132025-01-10
15INV-10142025-01-16
16INV-10152025-01-17
17INV-10162025-01-21
18INV-10172025-02-09
19INV-10182025-02-18
20INV-10192025-02-19
21INV-10202025-02-22
22INV-10212025-02-25
23INV-10222025-03-02
24INV-10232025-03-04
25INV-10242025-03-10
26INV-10252025-03-12
27INV-10262025-03-13
28INV-10272025-03-14
29INV-10282025-03-14
30INV-10292025-03-15
31INV-10302025-03-17
32INV-10312025-03-19
33INV-10322025-03-20
34INV-10332025-04-01
35INV-10342025-04-01
36INV-10352025-04-03
37INV-10362025-04-05
38INV-10372025-04-07
39INV-10382025-04-10
40INV-10392025-04-11
41INV-10402025-04-15
42INV-10412025-04-15
43INV-10422025-04-16
44INV-10432025-04-17
45INV-10442025-04-20
46INV-10452025-04-22
47INV-10462025-04-23
48INV-10472025-04-24
49INV-10482025-05-01
50INV-10492025-05-03
51INV-10502025-05-06
52INV-10512025-05-15
53INV-10522025-05-17
54INV-10532025-05-18
55INV-10542025-05-18
56INV-10552025-05-21
57INV-10562025-05-24
58INV-10572025-06-01
59INV-10582025-06-06
60INV-10592025-06-07
61INV-10602025-06-10
62INV-10612025-06-10
63INV-10622025-06-12
64INV-10632025-06-13
65INV-10642025-06-13
66INV-10652025-06-15
67INV-10662025-06-16
68INV-10672025-06-17
69INV-10682025-06-23
70INV-10692025-06-25
71INV-10702025-07-01
72INV-10712025-07-06
73INV-10722025-07-07
74INV-10732025-07-08
75INV-10742025-07-08
76INV-10752025-07-08
77INV-10762025-07-09
78INV-10772025-07-11
79INV-10782025-07-11
80INV-10792025-07-13
81INV-10802025-07-15
82INV-10812025-07-16
83INV-10822025-07-17
84INV-10832025-07-18
85INV-10842025-07-19
86INV-10852025-07-21
87INV-10862025-07-23
88INV-10872025-08-04
89INV-10882025-08-04
90INV-10892025-08-05
91INV-10902025-08-05
92INV-10912025-08-05
93INV-10922025-08-07
94INV-10932025-08-08
95INV-10942025-08-09
96INV-10952025-08-12
97INV-10962025-08-13
98INV-10972025-08-13
99INV-10982025-08-15
100INV-10992025-08-15
101INV-11002025-08-16
102INV-11012025-08-17
103INV-11022025-08-17
104INV-11032025-08-17
105INV-11042025-08-18
106INV-11052025-08-22
107INV-11062025-08-24
108INV-11072025-08-24
109INV-11082025-09-04
110INV-11092025-09-08
111INV-11102025-09-08
112INV-11112025-09-13
113INV-11122025-09-16
114INV-11132025-09-17
115INV-11142025-09-18
116INV-11152025-09-19
117INV-11162025-09-19
118INV-11172025-09-19
119INV-11182025-09-20
120INV-11192025-09-21
121INV-11202025-09-21
122INV-11212025-09-21
123INV-11222025-09-24
124INV-11232025-09-25
125INV-11242025-09-25
126INV-11252025-09-25
127INV-11262025-09-25
128INV-11272025-10-03
129INV-11282025-10-04
130INV-11292025-10-05
131INV-11302025-10-05
132INV-11312025-10-06
133INV-11322025-10-10
134INV-11332025-10-11
135INV-11342025-10-12
136INV-11352025-10-21
137INV-11362025-10-24
138INV-11372025-10-25
139INV-11382025-11-07
140INV-11392025-11-13
141INV-11402025-11-20
142INV-11412025-11-21
143INV-11422025-11-24
144INV-11432025-12-09
145INV-11442025-12-15
146INV-11452025-12-16
147INV-11462025-12-18
148INV-11472025-12-19
149INV-11482025-12-19
150INV-11492025-12-20
151INV-11502025-12-23
152

Scroll to explore the table, then sort or filter by column as needed.

Hints

Your Answer

Want more practice?

Test Me mode randomizes exercises across all formulas without telling you which formula to use.

Try Test Me ->