Sobre este ejercicio
Un conjunto de datos de 25 filas en una hoja, 2 celdas de respuesta, unos 5 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
- 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.
Otras formas válidas
- =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
Errores frecuentes
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.
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 15 de noviembre de 2026. Autor: GridBelt team.