New Tool Radar

AI for Data & Spreadsheets

How to Extract a Survey Results Table from a PDF into Google Sheets

Turn a survey results PDF into a Google Sheets table with ChatGPT, then check each count against the original.

Schematic illustration for How to Extract a Survey Results Table from a PDF into Google Sheets: three numbered steps - Upload the survey PDF; Ask for counts, not prose; Check each count in Sheets.

Survey results published as a PDF cannot be charted or compared until the counts sit in a sheet. ChatGPT can return the table as rows for Google Sheets, and each count is then read against the PDF, because a single misread count changes every percentage built on it.

Prerequisites

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

Steps

  1. Upload the survey PDF to ChatGPT and ask it to list the questions and the number of answer rows first.
  2. Ask for the full table as a markdown table with the same headings as the PDF, keeping counts as numbers.
  3. Paste the table into Google Sheets with Paste special, Values only.
  4. Read each count in the sheet against the same cell in the PDF, and correct any count that differs.
  5. Add the counts per question and confirm each question total matches the number of respondents printed in the PDF.

Worked example: Fictional library survey, 150 respondents

The practice table below is a fictional five-answer survey split. The respondents column is the count per answer, and the total is the number of respondents. 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.

Answer Respondents
Very satisfied 60
Satisfied 45
Neutral 25
Dissatisfied 12
Very dissatisfied 8
Total 150

Expected result. Five answers, the respondents add to 150, and every count matches the PDF. UNTESTED: no survey PDF was run through ChatGPT for this guide; the table shows the expected values to check an extraction against.

Limits

  • A count returned as text will not add into a SUM, so check the cell type as well as the value.
  • If the PDF rounds percentages, the counts are the values to trust, not the percentages.

Sources

See all