Make a Self-Marking Mock Test in Google Sheets and See Your Score Instantly

Build a free self-marking mock test in Google Sheets or Excel: type your answers, get your score, percentage and pass or fail result instantly, then track progress.

12/5/20263 min read

Self-marking mock test in Google Sheets showing score and pass result
Self-marking mock test in Google Sheets showing score and pass result

Practising past papers is the fastest way to prepare for an exam, but checking answers by hand is slow and easy to skip. A self-marking test in Google Sheets marks every answer the moment you type it and shows your score, percentage and whether you would have passed. It is free, works on a phone or laptop, and you can reuse it for every subject.

What you need

  • A free Google account (or Microsoft Excel).

  • A mock paper or question bank with an answer key, from your textbook, coaching notes or an official past paper.

  • 20 minutes to set it up once.

Step 1: Lay out the sheet

In row 1, add the headings Q no., Question, Your answer, Correct answer and Mark. Type the questions in column B and the answer key in column D. Colour column C cream so it is obvious where to type.

Step 2: Add the marking formula

In E2 type =IF(C2="","",IF(TRIM(LOWER(C2))=TRIM(LOWER(D2)),1,0)) and copy it down. It ignores capital letters and extra spaces, so "Canberra" and "canberra " both count as correct. For multiple-choice papers, just use the option letters A to D as the answers.

Step 3: Show the score and result

  • Score: =SUM(E2:E51)

  • Questions attempted: =COUNTA(C2:C51)

  • Percentage: =SUM(E2:E51)/COUNTA(D2:D51)

  • Result: =IF(G3>=0.6,"Passed","Keep practising"), with 0.6 changed to your pass mark.

For exams with negative marking, use 1 for a right answer, -0.25 (or your exam's penalty) for a wrong one and 0 for a blank.

Step 4: Hide the answer key

So you are not tempted to peek, move the answer key to a second tab and refer to it in your formula, then hide that tab (right-click the tab and choose Hide sheet). Reveal it only after you finish to review your mistakes.

Step 5: Keep a record

After each test, copy the date, score and percentage into a score tracker so you can see your trend. Our guide on tracking mock test scores shows how to tell when you are ready for the real exam.

Prefer Google Forms?

Google Forms has a Quiz mode that marks multiple-choice questions automatically and can send every response to a linked Google Sheet. It is handy for groups and teachers, while the sheet method above is quicker for solo revision.

Ready-made student templates with self-marking tests and score dashboards are coming soon to our Student & Exam Planners collection. See how DigiXls templates work.

DigiXls

Smart Excel templates that do the math for you.

Support

Follow

contact@digixls.com

© 2026 DigiXls. All rights reserved.

Replies within 24 hours