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