ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Tests & careers
  3. Excel for Teachers: Grades, Averages and Rankings

Excel for Teachers: Grades, Averages and Rankings

By ExcelReady Team·Updated November 1, 2026·5 min read

The short answer

Teachers use Excel mostly for gradebooks: AVERAGE for each student's mean score, MIN and MAX for the class low and high, IFS or nested IF to turn scores into letter grades, LARGE and SMALL to find top and bottom scores, and RANK.EQ to rank a class. Add conditional formatting to flag students who need support.

Key takeaways

  • AVERAGE gives each student's mean score; fill it down to do the whole class at once.
  • IFS turns a score into a letter grade by checking the highest band first.
  • LARGE and SMALL find the 2nd, 3rd or nth highest or lowest score, which MAX and MIN can't.
  • Conditional formatting colours scores below a pass mark so you can spot who needs help.
On this page+
  1. What teachers use Excel for
  2. Averages, highs and lows
  3. Letter grades with IFS
  4. Top and bottom scores with LARGE and SMALL
  5. Ranking a class with RANK.EQ
  6. Flagging students who need support
  7. Counting attendance with COUNTIF
  8. Weighted averages and keeping records safe
  9. Practise it

Excel for teachers is mainly about the gradebook: working out each student's average, finding the class high and low, turning scores into letter grades and ranking the class. A handful of functions, AVERAGE, MIN, MAX, IFS, LARGE and RANK.EQ, do almost all of it. This guide is for teachers, teaching assistants and school administrators, and every example uses one small gradebook you can type in yourself.

What teachers use Excel for#

Most schools have a learning platform, but Excel is still handy for quick calculations and your own records. Common uses include:

  • Gradebooks: scores per test, averages, letter grades and rankings. The guide to building an Excel gradebook covers the full layout.
  • Attendance: present, absent and late, counted with COUNTIF.
  • Seating plans and groups.
  • Reports: class averages and the number of students at each grade.

The examples use this gradebook in A1:E7:

StudentTest 1Test 2Test 3Average
Ava78859285.00
Ben64705864.00
Cara91889591.33
Dan55627062.33
Eve82798883.00
Fin70746971.00

Averages, highs and lows#

AVERAGE adds a set of numbers and divides by how many there are. In E2:

Excel formula
=AVERAGE(B2:D2)

returns 85 for Ava ((78 + 85 + 92) ÷ 3). Fill it down (Windows: Ctrl+D; Mac: ⌘D) to get every student's average. For the class average on Test 1, average the column instead: =AVERAGE(B2:B7) returns about 73.33.

MIN and MAX find the lowest and highest values:

  • =MAX(B2:B7) returns 91, the top Test 1 score (Cara).
  • =MIN(B2:B7) returns 55, the lowest (Dan).

AVERAGE skips empty cells, but it counts a 0. If a student missed a test, leave the cell blank rather than typing 0, unless a zero is the real score. When a few very low or high scores skew the picture, the median can be fairer; see AVERAGE vs MEDIAN. The AVERAGE function guide and the guide to AVERAGE, MIN and MAX have more examples.

Letter grades with IFS#

IFS checks conditions in order and returns the result for the first one that's true. That makes it ideal for grade bands. In F2:

Excel formula
=IFS(E2>=90,"A",E2>=80,"B",E2>=70,"C",E2>=60,"D",TRUE,"F")

Ava's 85 isn't 90 or more, but it is 80 or more, so she gets B. Filled down, the grades are B, D, A, D, B and C.

Two rules make IFS work:

  1. Check the highest band first. If you test E2>=60 first, every student scoring 60 or more gets a D.
  2. End with TRUE. TRUE,"F" catches every score that didn't match a band. Without it, a score below 60 returns #N/A.

IFS needs Excel 2019 or later. In older versions, nest IF functions in the same order: =IF(E2>=90,"A",IF(E2>=80,"B",IF(E2>=70,"C",IF(E2>=60,"D","F")))). See the IFS function guide.

To count students at each grade, use COUNTIF on the grade column: =COUNTIF(F2:F7,"B") returns 2.

Top and bottom scores with LARGE and SMALL#

MAX gives only the highest value. LARGE gives the 1st, 2nd, 3rd or any nth highest:

  • =LARGE(E2:E7,1) returns 91.33 (the same as MAX).
  • =LARGE(E2:E7,2) returns 85, the second-highest average.
  • =SMALL(E2:E7,1) returns 62.33, the lowest average.

To find who has the second-highest average, combine it with INDEX and MATCH: =INDEX(A2:A7,MATCH(LARGE(E2:E7,2),E2:E7,0)) returns Ava. The comparison of MAX vs LARGE explains when to use each.

Ranking a class with RANK.EQ#

RANK.EQ gives each value's position in a list, with the highest as 1. In G2:

Excel formula
=RANK.EQ(E2,$E$2:$E$7)

Ava is ranked 2. Fill down to rank everyone: Cara 1, Ava 2, Eve 3, Fin 4, Ben 5 and Dan 6. The $ signs keep the comparison range fixed as you fill. If two students tie, they share a rank and the next rank is skipped. For example, two students on 85 would both be ranked 2, and the next student would be ranked 4.

Flagging students who need support#

Conditional formatting colours cells that meet a rule, so you can see at a glance who's struggling.

  1. Select the averages, E2:E7.
  2. Go to Home > Conditional Formatting > Highlight Cells Rules > Less Than.
  3. Type 65 and choose a fill colour.

Ben (64) and Dan (62.33) are highlighted. =COUNTIF(E2:E7,"<65") gives the count, 2, for your report. Use a colour scale instead to shade every score from low to high.

Counting attendance with COUNTIF#

COUNTIF counts the cells that match one condition, which makes it the natural tool for attendance. If each row is a student and columns B to U hold a P, A or L for each school day in a month, then:

Excel formula
=COUNTIF(B2:U2,"A")

counts that student's absences. =COUNTIF(B2:U2,"P")/COUNTA(B2:U2) gives their attendance rate; format it as a percentage. COUNTIF ignores capitals, so "a" and "A" count the same, but a stray space after the letter won't match. A dropdown list (Data > Data Validation > List) with P, A and L keeps the entries consistent.

Weighted averages and keeping records safe#

If tests count differently, such as a final exam worth half the grade, use a weighted average. With weights of 25%, 25% and 50% in B9:D9, =SUMPRODUCT(B2:D2,$B$9:$D$9) gives Ava a weighted score of 86.75.

Student data is personal. Follow your school's rules on where gradebooks are stored and who can see them, and share class summaries rather than named lists when that's enough. The same averaging skills work in other fields too: Excel for real estate uses them on house prices.

Practise it#

Gradebook formulas are quick to master with a little practice. Practise nested IF and IFS in a live spreadsheet: you type the formula, and it checks it instantly. Then practise AVERAGE, MIN and MAX and find top and bottom scores with LARGE and SMALL.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Give Ava a letter grade. Click C2 and use IFS on her average in B2: 90 or more is A, 80 or more is B, 70 or more is C, 60 or more is D, and anything else is F.

fx
ABCD
1
Student
Average
Grade
2
Ava
85
3
Ben
64
4
Cara
91
5
Dan
62
6
Eve
83
7
Fin
71
8
9
10

Tip: Check the highest band first, and end with TRUE,"F" to catch every other score.

Practise this in a lesson

LessonNested IF and IFSHandle more than two outcomes, like letter grades or commission bands, with nested IFs or the cleaner IFS.LessonAVERAGE, MIN and MAXSummarize a list with its average, smallest and largest values.LessonLARGE and SMALLFind the second-highest, top 3 or second-lowest value, a favorite interview question.Function guideIFSReplace messy nested IFs with Excel's IFS function. Examples for grades, tiers and SLAs, the catch-all trick, and a live exercise.Function guideAVERAGECalculate the mean in Excel with AVERAGE. See how it treats blanks and zeros, avoid common errors, and practice in a live sheet.

Frequently asked questions

How do teachers use Excel?

+

Teachers use Excel for gradebooks, attendance, seating plans and reports. The most common formulas are AVERAGE, MIN, MAX, IF or IFS for letter grades, LARGE and RANK.EQ for rankings, and COUNTIF for counting passes or absences.

How do I convert scores to letter grades in Excel?

+

Use IFS and check the highest band first: =IFS(E2>=90,"A",E2>=80,"B",E2>=70,"C",E2>=60,"D",TRUE,"F"). IFS needs Excel 2019 or later; in older versions, use nested IF functions with the same order.

How do I rank students in Excel?

+

Use =RANK.EQ(E2,$E$2:$E$7) and fill it down. The highest score gets rank 1. Lock the range with $ so every student is compared with the whole class.

How do I find the second-highest score in Excel?

+

Use =LARGE(range,2). LARGE returns the nth highest value, so LARGE(range,1) is the same as MAX and LARGE(range,3) is the third highest.

Sources

  • IFS function - Microsoft Support
  • AVERAGE function - Microsoft Support
  • LARGE function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What teachers use Excel for
  2. Averages, highs and lows
  3. Letter grades with IFS
  4. Top and bottom scores with LARGE and SMALL
  5. Ranking a class with RANK.EQ
  6. Flagging students who need support
  7. Counting attendance with COUNTIF
  8. Weighted averages and keeping records safe
  9. Practise it

Keep reading

Projects· 7 min read

Build a Gradebook in Excel

To build a gradebook in Excel, list students in column A and one assignment per column. AVERAGE gives each student's mean score, or SUMPRODUCT with a row of weights gives a weighted mark. IFS turns the mark into a letter grade, for example 90 or more is an A. AVERAGE, MIN and MAX under each column summarise the class.

Tests & careers· 6 min read

Excel for Real Estate: Listings, Prices and Commission

Real estate work in Excel centres on listings: price per square foot, average, lowest and highest prices with AVERAGE, MIN and MAX, averages by area with AVERAGEIFS, percent change between list and sale price, commission and split calculations, and monthly mortgage payments with PMT. A clean listings table makes all of these quick.

Comparisons· 7 min read

MAX vs LARGE in Excel

MAX returns the single largest number in a range. LARGE returns the k-th largest: LARGE(range,1) is the same as MAX, LARGE(range,2) is the second largest, and so on. Use MAX when you only need the top value and LARGE when you need the runner-up, a top 3 or any position below first.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free