Informazioni sull’esercizio
Un set di dati di 25 righe su un foglio, 2 celle di risposta, circa 5 minuti. Correzione nel tuo browser: il valore e la formula che lo produce, con indicazioni su cosa sistemare.
Come risolverlo
- G2
=LARGE($D$2:$D$26,F2) - H2
=SMALL($D$2:$D$26,F2)
LARGE(range, k) returns the k-th largest number in the range, so with the rank 1, 2, 3 in column F the same formula filled down gives the first, second and third highest revenue; SMALL does the same from the bottom. The $ signs in $D$2:$D$26 keep the data range fixed while F2 becomes F3 and F4 on the way down — exactly the pattern of a fixed table plus a moving parameter.
Pitfall 1: LARGE and SMALL ignore text and blanks but include zeros, so a rep with 0 revenue shows up as the "lowest" — filter with SMALL(IF(range>0,range),k) if zeros mean "no data". Pitfall 2: ties return the same value twice (LARGE(…,1) and LARGE(…,2) can be equal); when you need distinct values, use SORT(UNIQUE()) or RANK with COUNTIF tie-breakers. Alternatives: MAX and MIN give rank 1 only; in Excel 365, =TAKE(SORT(D2:D26,,-1),3) spills the top three in one cell and =TAKE(SORT(D2:D26),3) the bottom three. To get the rep names next to the numbers, pair with INDEX/MATCH (=INDEX($A$2:$A$26,MATCH(G2,$D$2:$D$26,0))) — covered in the Lookups track.
Altri metodi validi
- =LARGE($D$2:$D$26,1), =LARGE($D$2:$D$26,2), =LARGE($D$2:$D$26,3) — typing k by hand in each cell
- =TAKE(SORT($D$2:$D$26,,-1),3) in G2 — Excel 365 only, spills the top three
- =MAX($D$2:$D$26) for G2 and =MIN($D$2:$D$26) for H2 — rank 1 only
Errori comuni
Filling =LARGE(D2:D26,F2) down without $ signs: in G3 the range becomes D3:D27 and in G4 D4:D28, so the formulas look at different data and the 2nd and 3rd values come out wrong or blank.
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 15 novembre 2026. Autore: GridBelt team.