New Tool Radar

AI for Data & Spreadsheets

How to Extract a Grade Table from a PDF into Google Sheets with Claude

Turn a grade table PDF into a Google Sheets table with Claude, then check each grade against the original PDF.

Schematic illustration for How to Extract a Grade Table from a PDF into Google Sheets with Claude: three numbered steps - Upload the grade PDF; Ask for the table as rows; Check each grade in Sheets.

Grade tables arrive as PDFs at the end of term, and comparing students or subjects needs the numbers in a sheet. Claude can read an uploaded PDF and return the table as rows to paste into Google Sheets, but grades are high-stakes values, so each one is checked against the PDF before the sheet is used.

Prerequisites

  • Claude with file upload
  • The grade-table PDF and a blank Google Sheet
  • A copy of the source file, so the original stays untouched.

Steps

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

Worked example: Fictional Year 9 maths grades, autumn term

The practice table below is a fictional five-student grade table. The average is the mean of the five scores, rounded to one decimal place. 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 78
Ben 64
Clara 91
Dev 55
Elena 83
Total 371

Expected result. The sheet has five students, the scores add to 371, the average is 74.2, and every grade matches the PDF. UNTESTED: no grade PDF was run through Claude for this guide; the table shows the expected values to check an extraction against.

Limits

  • Grade data is personal data, so remove names or use a test file before uploading to any AI tool.
  • Claude returns text it generated, so a grade must be read against the PDF, never trusted on its own.

Sources

See all