Skip to content
GridBelt
  • Excel Test
  • Practice
  • Programs
  • Pricing
Sign in
Start the free test
  • Excel Test
  • Practice
  • Programs
  • Pricing
Sign inCreate account
Start the free test
GridBelt

Practice Excel in your browser.

Excel Test

  • Level 1: Beginner
  • Level 2: Intermediate
  • Level 3: Expert
  • Excel test in 7 days
  • Leaderboard
  • Excel test for interview
  • Indeed Excel assessment

Practice

  • All exercises
  • Programs
  • For beginners

Guides

  • Excel formulas
  • Excel shortcuts

Company

  • About
  • Pricing
  • How we grade

© GridBelt. All rights reserved.

  • Privacy Policy
  • Terms of Use
  • Refund Policy

Excel is a trademark of Microsoft Corporation. Indeed, TestGorilla, SHL and other marks are the property of their owners. GridBelt is an independent practice site and is not affiliated with, endorsed by or sponsored by Microsoft, TestGorilla, SHL or Indeed.

  1. Practice
  2. /
  3. SUM, AVERAGE and COUNT

LARGE and SMALL practice: top 3 and bottom 3 sales reps

  • Beginner
  • ~5 min
  • SUM, AVERAGE and COUNT

The regional sales director has Q3 2026 revenue for 25 account reps and wants the three highest and the three lowest figures for the quarterly review, without sorting the list (it is shared with other teams). Column F already holds the ranks 1, 2 and 3. Fill G2:G4 with the top three revenues and H2:H4 with the bottom three, using formulas that keep working when the numbers change.

What you need to do

  1. 1Click G2 and write a LARGE formula over the revenue column D2:D26 that uses the rank in F2 as the second argument.
  2. 2Lock the revenue range with $ signs ($D$2:$D$26) — press F4 on Windows or ⌘T on Mac after selecting it — then fill G2 down to G4.
  3. 3Click H2 and write the matching SMALL formula with the same locked range and F2 as the rank; fill it down to H4.
  4. 4Check: G2 should be the largest number in column D and H2 the smallest.

Answer cells

Feedback

Type your formula in the grid, press Enter, then Check. We grade the value in each answer cell and the formula behind it.

Tasks

  1. Not checkedIn G2:G4, use LARGE to show the 1st, 2nd and 3rd highest Q3 revenue from D2:D26, taking the rank from column F.
  2. Not checkedIn H2:H4, use SMALL to show the 1st, 2nd and 3rd lowest Q3 revenue from D2:D26, taking the rank from column F.

Desktop recommended for spreadsheet tasks. The sheet scrolls inside this box.

StartInsertFormulasDataView
A1fxPreparing your workbook…
A
B
C
D
E
F
G
H
I
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Sheet1

Enter your formula in the sheet, then check.

About this exercise

A 25-row dataset on one sheet, 2 answer cells, about 5 minutes. Graded in your browser: the value and the formula behind it, with feedback that names the fix.

How to solve it

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

Other ways that work

  • =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

Common mistakes

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.

How we grade

Any formula that produces the right result is accepted, unless the task names a function: then another function earns half credit. We compare values with a small tolerance and ignore case and spaces in text. A correct number typed by hand instead of a formula earns half credit. Multi-cell tasks earn full credit at 100% of cells, half credit from 50%. Where it matters, we also change an input cell on a copy of your sheet and check that your formula follows.

Answers computed with Excel 365 rules and checked in our grading engine on November 15, 2026. Author: GridBelt team.

In these programs

  • Learn Excel From ScratchDay 7

Related exercises

  • AVERAGE, MIN and MAX of exam scoresBeginner, ~4 min
  • Count orders, names and blanks (COUNT, COUNTA, COUNTBLANK)Beginner, ~4 min
  • Sort by Region, then Sales descendingBeginner, ~4 min
  • Apply one tax rate to every line ($ reference)Beginner, ~5 min

Function reference

Official documentation

Next exercise

Apply one tax rate to every line ($ reference)