Aller au contenu
GridBelt
  • Test Excel
  • Exercices
  • Programmes
  • Tarifs
Se connecter
Commencer le test gratuit
  • Test Excel
  • Exercices
  • Programmes
  • Tarifs
Se connecterCréer un compte
Commencer le test gratuit
GridBelt

Entraînez-vous sur Excel dans votre navigateur.

Test Excel

  • Niveau 1 : Débutant
  • Niveau 2 : Intermédiaire
  • Niveau 3 : Expert
  • Test Excel en 7 jours
  • Classement
  • Test Excel en entretien d’embauche
  • Évaluation Excel d’Indeed

Exercices

  • Tous les exercices
  • Programmes
  • Pour débutants

Guides

  • Formules Excel
  • Raccourcis Excel

Entreprise

  • À propos
  • Tarifs
  • Comment nous corrigeons

© GridBelt. Tous droits réservés.

  • Politique de confidentialité
  • Conditions d’utilisation
  • Politique de remboursement

Excel est une marque commerciale de Microsoft Corporation. Indeed, TestGorilla, SHL et les autres marques sont la propriété de leurs détenteurs respectifs. GridBelt est un site d’entraînement indépendant ; il n’est affilié ni à Microsoft, ni à TestGorilla, ni à SHL, ni à Indeed, et n’est ni cautionné ni sponsorisé par ces sociétés.

  1. Exercices
  2. /
  3. Date functions

NETWORKDAYS practice: working days to resolve 150 support tickets

  • Intermédiaire
  • ~7 min
  • Date functions

Énoncé en anglais

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.

Ce que vous devez faire

  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.

Cellules de réponse

Correction

Saisissez votre formule dans la grille, appuyez sur Enter, puis cliquez sur Vérifier. Nous corrigeons la valeur de chaque cellule de réponse et la formule qui la produit.

Tâches

  1. Non vérifiéIn 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.

Ordinateur recommandé pour les tâches dans la feuille de calcul. La feuille défile à l’intérieur de ce cadre.

StartInsertFormulasDataView
A1fxPréparation de votre classeur…
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

Saisissez votre formule dans la feuille, puis vérifiez.

À propos de cet exercice

Un jeu de données de 162 lignes sur 2 feuilles, une cellule de réponse, environ 7 minutes. Corrigé dans votre navigateur : la valeur et la formule qui la produit, avec des indications sur la correction à apporter.

Comment le résoudre

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

Autres méthodes valables

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

Erreurs fréquentes

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.

Comment nous corrigeons

Toute formule qui produit le bon résultat est acceptée, sauf si la tâche nomme une fonction : une autre fonction rapporte alors la moitié des points. Nous comparons les valeurs avec une petite tolérance et ignorons la casse et les espaces dans le texte. Un nombre correct saisi à la main au lieu d’une formule rapporte la moitié des points. Les tâches sur plusieurs cellules rapportent tous les points avec 100 % de cellules justes, la moitié à partir de 50 %. Lorsque c’est pertinent, nous modifions aussi une cellule d’entrée sur une copie de votre feuille et vérifions que votre formule suit.

Réponses calculées selon les règles d’Excel 365 et vérifiées dans notre correcteur le 16 novembre 2026. Auteur : GridBelt team.

Dans ces programmes

  • Excel test in 7 days, Plan de niveau 3Jour 3
  • Excel for Data AnalystsJour 7
  • Excel for Administrative AssistantsJour 9

Exercices associés

  • Days to deadline and tenure in years (TODAY, DATEDIF)Débutant, ~6 min
  • Invoice due dates with EOMONTH and EDATEIntermédiaire, ~6 min
  • Turn text dates into real dates and group by monthExpert, ~12 min

Référence de la fonction

Documentation officielle

Exercice suivant

Turn text dates into real dates and group by month