Informazioni sull’esercizio
Un set di dati di 162 righe su 2 fogli, una cella di risposta, circa 7 minuti. Correzione nel tuo browser: il valore e la formula che lo produce, con indicazioni su cosa sistemare.
Come risolverlo
- 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.
Altri metodi validi
- =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
Errori comuni
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.
Come valutiamo
È accettata qualsiasi formula che produce il risultato giusto, a meno che l’attività non indichi una funzione: in quel caso un’altra funzione vale metà dei punti. Confrontiamo i valori con una piccola tolleranza e ignoriamo maiuscole, minuscole e spazi nel testo. Un numero corretto digitato a mano invece di una formula vale metà dei punti. Le attività su più celle valgono il punteggio pieno con il 100% delle celle giuste, metà dei punti dal 50%. Dove serve, cambiamo anche una cella di input su una copia del tuo foglio e controlliamo che la formula si aggiorni.
Risposte calcolate con le regole di Excel 365 e verificate nel nostro correttore in data 16 novembre 2026. Autore: GridBelt team.