Saltar al contenido
GridBelt
  • Prueba de Excel
  • Práctica
  • Programas
  • Precios
Iniciar sesión
Empezar la prueba gratuita
  • Prueba de Excel
  • Práctica
  • Programas
  • Precios
Iniciar sesiónCrear cuenta
Empezar la prueba gratuita
GridBelt

Practica Excel en tu navegador.

Prueba de Excel

  • Nivel 1: Principiante
  • Nivel 2: Intermedio
  • Nivel 3: Experto
  • Prueba de Excel en 7 días
  • Clasificación
  • Prueba de Excel para entrevistas
  • Evaluación de Excel de Indeed

Práctica

  • Todos los ejercicios
  • Programas
  • Para principiantes

Guías

  • Fórmulas de Excel
  • Atajos de Excel

Empresa

  • Acerca de
  • Precios
  • Cómo corregimos

© GridBelt. Todos los derechos reservados.

  • Política de privacidad
  • Términos de uso
  • Política de reembolso

Excel es una marca comercial de Microsoft Corporation. Indeed, TestGorilla, SHL y otras marcas son propiedad de sus respectivos titulares. GridBelt es un sitio de práctica independiente y no está afiliado a Microsoft, TestGorilla, SHL ni Indeed, ni respaldado ni patrocinado por ellos.

  1. Práctica
  2. /
  3. Date functions

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

  • Intermedio
  • ~6 min
  • Date functions

Enunciado en inglés

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.

Qué tienes que hacer

  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.

Celdas de respuesta

Corrección

Escribe tu fórmula en la cuadrícula, presiona Enter y luego haz clic en Comprobar. Evaluamos el valor de cada celda de respuesta y la fórmula que lo produce.

Tareas

  1. Sin comprobarIn 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. Sin comprobarFormat F2:F61 as dates (any date format, for example yyyy-mm-dd) so the serial numbers display as calendar dates.

Para las tareas de hoja de cálculo se recomienda una pantalla grande. La hoja se desplaza dentro de este recuadro.

StartInsertFormulasDataView
A1fxPreparando tu libro…
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

Escribe tu fórmula en la hoja y luego comprueba.

Sobre este ejercicio

Un conjunto de datos de 60 filas en una hoja, una celda de respuesta, unos 6 minutos. Se corrige en tu navegador: el valor y la fórmula que lo produce, con comentarios que te dicen qué arreglar.

Cómo resolverlo

  • 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.

Otras formas válidas

  • =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

Errores frecuentes

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.

Cómo corregimos

Se acepta cualquier fórmula que produzca el resultado correcto, salvo que la tarea nombre una función: entonces otra función obtiene media puntuación. Comparamos los valores con una pequeña tolerancia y, en el texto, ignoramos mayúsculas y espacios. Un número correcto escrito a mano en lugar de una fórmula obtiene media puntuación. Las tareas de varias celdas obtienen la puntuación completa con el 100% de las celdas correctas y media puntuación desde el 50%. Cuando importa, también cambiamos una celda de entrada en una copia de tu hoja y comprobamos que tu fórmula se adapta.

Respuestas calculadas con las reglas de Excel 365 y comprobadas en nuestro corrector el 16 de noviembre de 2026. Autor: GridBelt team.

En estos programas

  • Excel for Data AnalystsDía 3
  • Excel for Administrative AssistantsDía 9
  • Excel for Accounting and BookkeepingDía 4

Ejercicios relacionados

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

Referencia de la función

Documentación oficial

Siguiente ejercicio

Working days to resolve tickets (NETWORKDAYS)