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

NETWORKDAYS practice: working days to resolve 150 support tickets

  • Intermedio
  • ~7 min
  • Date functions

Enunciado en inglés

The support team's SLA is measured in working days, not calendar days. The Tickets sheet lists 150 tickets closed in 2026 with the date each was opened and resolved; 18 arrived on a weekend and 6 were closed the same day. The Holidays sheet holds the 12 company holidays of 2026, and 28 tickets were open across at least one of them. Count the working days from the opened date to the resolved date (both days included) in F2:F151, excluding weekends and the holidays.

Qué tienes que hacer

  1. 1Click F2 on the Tickets sheet and type =NETWORKDAYS(D2,E2, — then switch to the Holidays sheet and select A2:A13. Press F4 (Windows) or ⌘T (Mac) so it reads Holidays!$A$2:$A$13, close the bracket and press Enter.
  2. 2F2 shows 3 for TCK-24001 (opened 2026-01-05, resolved 2026-01-07): 3 calendar day(s), of which only 3 are working days.
  3. 3Fill F2 down to F151 (double-click the fill handle, or select F2:F151 and press Ctrl+D / ⌘D). Because the holiday range is locked with $, every row still reads the same list.
  4. 4Spot-check: a ticket opened and resolved on the same weekday shows 1 (both ends count), one opened on a Saturday and resolved on the Sunday shows 0.

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, use NETWORKDAYS to count the working days from the opened date (D2) to the resolved date (E2), both included, skipping weekends and the holidays listed in Holidays!A2:A13; then fill down to F151.

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 162 filas en 2 hojas, una celda de respuesta, unos 7 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=NETWORKDAYS(D2,E2,Holidays!$A$2:$A$13)

NETWORKDAYS(start, end, holidays) counts the days from the start date to the end date that are not Saturdays, Sundays or dates in the holidays list — both the start and the end day are included, so a ticket opened and closed on the same Tuesday counts as 1. The holidays argument is optional, but leaving it out silently over-counts every ticket that was open across a holiday; the list on its own sheet is what keeps the number honest. Locking that range as Holidays!$A$2:$A$13 lets the same formula fill down 150 rows.

Pitfall 1: forgetting the third argument — 122 rows still come out right, which is why the mistake survives review; the grader catches it because 28 rows differ. Pitfall 2: "inclusive" counting — NETWORKDAYS gives 1 for same-day resolution and 5 for Monday to Friday; if the SLA counts elapsed working days instead, subtract 1 (and guard same-day tickets with MAX(0,…)). Pitfall 3: a start date after the end date returns a negative count rather than an error; a text date in the holiday list is ignored silently, so keep that column as real dates. NETWORKDAYS.INTL(start,end,weekend,holidays) handles other weekends: 7 for Friday–Saturday, "0000011" as a 7-character string for a custom pattern; the plain function always assumes Saturday and Sunday. WORKDAY is the inverse: WORKDAY(D2,5,holidays) returns the due date five working days after the opening date — the usual way to compute an SLA deadline. Whole-column references (Holidays!A:A) work and survive additions to the list, but a named range (Formulas → Define Name → Holidays2026) reads better and is less error-prone than a hard-coded $A$2:$A$13.

Otras formas válidas

  • =NETWORKDAYS.INTL(D2,E2,1,Holidays!$A$2:$A$13) — same result; 1 = Saturday/Sunday weekend
  • =NETWORKDAYS(D2,E2,Holidays!A:A) — whole-column holiday reference, grows with the list
  • =NETWORKDAYS(D2,E2,Holidays!$A$2:$A$13)-1 — elapsed working days, if your SLA excludes the opening day

Errores frecuentes

Omitting the holidays: =NETWORKDAYS(D2,E2) matches the answer for 122 tickets and is one or two days too high for the 28 tickets that were open across a company holiday.

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 test in 7 days, Plan del nivel 3Día 3
  • Excel for Data AnalystsDía 7
  • Excel for Administrative AssistantsDía 9

Ejercicios relacionados

  • Days to deadline and tenure in years (TODAY, DATEDIF)Principiante, ~6 min
  • Invoice due dates with EOMONTH and EDATEIntermedio, ~6 min
  • Turn text dates into real dates and group by monthExperto, ~12 min

Referencia de la función

Documentación oficial

Siguiente ejercicio

Turn text dates into real dates and group by month