Skip to content
GridBelt
  • Excel Test
  • Practice
  • Programs
  • Pricing
Sign in
Start the free test
  • Excel Test
  • Practice
  • Programs
  • Pricing
Sign inCreate account
Start the free test
GridBelt

Practice Excel in your browser.

Excel Test

  • Level 1: Beginner
  • Level 2: Intermediate
  • Level 3: Expert
  • Excel test in 7 days
  • Leaderboard
  • Excel test for interview
  • Indeed Excel assessment

Practice

  • All exercises
  • Programs
  • For beginners

Guides

  • Excel formulas
  • Excel shortcuts

Company

  • About
  • Pricing
  • How we grade

© GridBelt. All rights reserved.

  • Privacy Policy
  • Terms of Use
  • Refund Policy

Excel is a trademark of Microsoft Corporation. Indeed, TestGorilla, SHL and other marks are the property of their owners. GridBelt is an independent practice site and is not affiliated with, endorsed by or sponsored by Microsoft, TestGorilla, SHL or Indeed.

  1. Practice
  2. /
  3. Date functions

EOMONTH practice: due dates for 60 invoices with month-end terms

  • Intermediate
  • ~6 min
  • Date functions

Accounts receivable issued 60 invoices between 2026-01-07 and 2026-10-06. Payment terms are "end of month plus N months": an invoice is due on the last day of the month that lies N months after the invoice month — 25 customers pay at the end of the following month, 25 two months out, 10 three months out. Invoice INV-2026-0401, dated 2026-01-07 with 3-month terms, is therefore due on 2026-04-30. Compute every due date in F2:F61 and make the column readable as dates.

What you need to do

  1. 1Click F2 and type =EOMONTH(C2,E2): the first argument is the start date, the second how many months to move — the result is the last day of that month. Press Enter.
  2. 2F2 shows 46142, not a date: EOMONTH returns the serial number and the cell keeps its General format. Fill F2 down to F61 first (double-click the fill handle, or select F2:F61 and press Ctrl+D / ⌘D).
  3. 3Select F2:F61 and apply a date format: Format Cells (Ctrl+1 on Windows, ⌘1 on Mac) → Date, or Ctrl+Shift+# (Windows) / Control+Shift+# (Mac) for the default date format. F2 now shows the date 2026-04-30, in whichever date format you picked.
  4. 4Compare with EDATE: =EDATE(C2,E2) would give 2026-04-07 — the same day 3 month(s) later, not the month end. =EOMONTH(EDATE(C2,E2),0) brings it back to 2026-04-30.

Answer cells

Feedback

Type your formula in the grid, press Enter, then Check. We grade the value in each answer cell and the formula behind it.

Tasks

  1. Not checkedIn F2, compute the due date as the last day of the month that is E2 months after the invoice date in C2 — EOMONTH, or EDATE wrapped in EOMONTH — then fill down to F61.
  2. Not checkedFormat F2:F61 as dates (any date format, for example yyyy-mm-dd) so the serial numbers display as calendar dates.

Desktop recommended for spreadsheet tasks. The sheet scrolls inside this box.

StartInsertFormulasDataView
A1fxPreparing your workbook…
A
B
C
D
E
F
G
H
I
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Sheet1

Enter your formula in the sheet, then check.

About this exercise

A 60-row dataset on one sheet, one answer cell, about 6 minutes. Graded in your browser: the value and the formula behind it, with feedback that names the fix.

How to solve it

  • F2=EOMONTH(C2,E2)

EOMONTH(start, months) returns the last day of the month that lies the given number of months after the start date — EOMONTH(C2,1) for a March invoice is 30 April, whatever day in March the invoice carries. Because the terms differ by customer, the months argument reads column E instead of a typed number, and the formula fills down unchanged. Date functions return serial numbers; the cell only looks like a date once it carries a date number format, which is why the second step exists.

Pitfall 1: EOMONTH, EDATE, DATE and WORKDAY all return bare serials in a General cell (46142 instead of 2026-04-30) — Excel auto-formats a plain =C2+30, but not function results; always format the answer column. Pitfall 2: EDATE(C2,1) is "same day next month", not the month end, and it clips 31 January to 28 February; for month-end terms use EOMONTH, for "net 30" use C2+30, for "30 days end of month" use EOMONTH(C2,0)+30. Pitfall 3: a start date stored as text ("2026-03-14" typed with an apostrophe or imported from CSV) makes EOMONTH return #VALUE!; convert with DATEVALUE first. Negative months look backwards (EOMONTH(C2,-1) is the end of the previous month) and EOMONTH(C2,0) is the end of the current month — handy for period-end accruals. The classic pre-EOMONTH idiom DATE(YEAR(C2),MONTH(C2)+E2+1,0) still works everywhere: day 0 of the following month is the last day of the target month. Version note: all of these functions exist in every Excel version; EOMONTH was once an Analysis ToolPak add-in function and is built in since Excel 2007.

Other ways that work

  • =EOMONTH(EDATE(C2,E2),0) — move N months with EDATE, then jump to the month end
  • =DATE(YEAR(C2),MONTH(C2)+E2+1,0) — day 0 of the following month, no EOMONTH needed
  • =EOMONTH(C2,E2)+0 — identical value; some people add +0 to force a number before formatting

Common mistakes

Using EDATE alone: =EDATE(C2,E2) returns 2026-04-07 for INV-2026-0401 — the same day 3 month(s) later — instead of the month end 2026-04-30 the terms demand.

How we grade

Any formula that produces the right result is accepted, unless the task names a function: then another function earns half credit. We compare values with a small tolerance and ignore case and spaces in text. A correct number typed by hand instead of a formula earns half credit. Multi-cell tasks earn full credit at 100% of cells, half credit from 50%. Where it matters, we also change an input cell on a copy of your sheet and check that your formula follows.

Answers computed with Excel 365 rules and checked in our grading engine on November 16, 2026. Author: GridBelt team.

In these programs

  • Excel for Data AnalystsDay 3
  • Excel for Administrative AssistantsDay 9
  • Excel for Accounting and BookkeepingDay 4

Related exercises

  • Days to deadline and tenure in years (TODAY, DATEDIF)Beginner, ~6 min
  • Working days to resolve tickets (NETWORKDAYS)Intermediate, ~7 min
  • Turn text dates into real dates and group by monthExpert, ~12 min

Function reference

Official documentation

Next exercise

Working days to resolve tickets (NETWORKDAYS)