New Tool Radar

AI for Data & Spreadsheets

How to Extract an Exam Results Table from a PDF into Google Sheets

Turn an exam results PDF into a Google Sheets table with ChatGPT, then check each result against the original.

Schematic illustration for How to Extract an Exam Results Table from a PDF into Google Sheets: three numbered steps - Upload the results PDF; Ask for a table, not prose; Check each result in Sheets.

Exam results published as a PDF cannot be sorted by subject or averaged without retyping, which invites errors. ChatGPT can return the table as rows for Google Sheets, and each result is then read against the PDF before the sheet is used for any decision.

Prerequisites

  • ChatGPT with file upload
  • The results PDF and a blank Google Sheet
  • A copy of the source file, so the original stays untouched.

Steps

  1. Upload the results PDF to ChatGPT and ask it to list the columns and the number of result rows first.
  2. Ask for the full table as a markdown table with the same headings as the PDF.
  3. Paste the table into Google Sheets with Paste special, Values only.
  4. Read each result in the sheet against the same cell in the PDF, and correct any result that differs.
  5. Add an average formula per subject and compare it with any average printed in the PDF.

Worked example: Fictional Year 11 science results

The practice table below is a fictional five-student science result list. The score column is the exam mark out of 100, and the total is their sum. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.

Student Score
Amara 72
Ben 58
Clara 88
Dev 63
Elena 79
Total 360

Expected result. Five results, each matches the PDF, and the scores add to 360. UNTESTED: no results PDF was run through ChatGPT for this guide; the table shows the expected values to check an extraction against.

Limits

  • Results are personal data, so remove names or use a test file before uploading to any AI tool.
  • A result returned as text will not average, so check the cell type as well as the value.

Sources

See all