Sobre este exercício
Um conjunto de dados de 25 linhas em uma planilha, 2 células de resposta, cerca de 5 minutos. Corrigido no seu navegador: o valor e a fórmula por trás dele, com feedback que mostra o que corrigir.
Como resolver
- 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.
Outras formas que funcionam
- =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
Erros comuns
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.
Como corrigimos
Qualquer fórmula que produza o resultado certo é aceita, a menos que a tarefa cite uma função: nesse caso, outra função vale metade da pontuação. Comparamos os valores com uma pequena tolerância e ignoramos maiúsculas e espaços no texto. Um número certo digitado à mão em vez de uma fórmula vale metade da pontuação. Tarefas com várias células valem a pontuação integral com 100% das células certas e metade a partir de 50%. Quando faz diferença, também mudamos uma célula de entrada em uma cópia da sua planilha e verificamos se sua fórmula acompanha.
Respostas calculadas com as regras do Excel 365 e verificadas no nosso corretor em 15 de novembro de 2026. Autor: GridBelt team.