A PDF table turned into a working Sheet with Gemini
The struggle: The numbers you need are locked in a PDF table, and every copy and paste scrambles the columns.
What you end up with: A Google Sheet with the table in clean columns, every row checked against the PDF.
Upload the PDF to the Gemini app and ask for the table as a Google Sheet. Then check each row against the PDF and fix errors in the preview.
Tools: Gemini. Level: Free to start. Time: 20 min.
Use it if
- Reports, price lists or statements arrive only as PDFs
- Copy and paste breaks the columns
- You need to sort, total or filter the numbers
Skip it if
- The PDF is a scan or a photo and Gemini cannot read it, because you would be checking every cell anyway
- The table runs to hundreds of pages, because a long extraction is hard to check cell by cell
What you need first
- The Gemini app signed in with a Google account; use a copy of the PDF with no personal data you do not need
The method
Upload the PDF and describe the table (Gemini: Gemini app)
In the Gemini web app click Add files, then Upload, and choose the PDF. Then paste the prompt. Name the page and the table, so Gemini does not pick the wrong one.
Prompt to copy:
Read the table titled [table name] on page [number] of this PDF. List the column headings you see first. Then recreate the table row by row exactly as it appears, with one value per cell. If a cell is unreadable, write [unclear] instead of guessing. Do not add rows.
You get: A first extraction in the chat.
Tip: Name the page number and the table heading. A multi-table PDF gives the wrong table otherwise.
Ask for a Google Sheet (Gemini: Create, preview and edit files)
Ask Gemini to create the table as a Google Sheet. Open the preview in the chat. The web app shows sheets in a preview, and you can open the table in Google Sheets from there.
Prompt to copy:
Create a Google Sheet from this table. Put the headings in row 1, one value per cell, numbers as plain numbers without currency symbols or thousands separators, dates as [format]. Keep the [unclear] markers.
You get: A Google Sheet with the table.
Tip: Ask for number columns as plain numbers without currency symbols, so formulas work.
Check every row against the PDF (Gemini: Create, preview and edit files)
Put the PDF and the preview side by side. Check each row and every number against the original. In the preview you can type edits, or highlight text and ask Gemini to fix it. Fix [unclear] cells by hand.
Prompt to copy:
In this sheet, add a row at the bottom that sums each numeric column. I will compare the sums with the totals printed in the PDF. If a column is not numeric, leave it blank.
You get: A checked table with every error fixed.
Tip: Check totals first. If a column total in the PDF differs from your sum, a row is wrong.
Open it and keep working (Gemini: Google Sheets)
Open the table in Google Sheets from the preview and save it in your Drive. Check that dates and numbers are real numbers, then sort and filter to answer your question.
You get: A working Sheet saved in your Drive.
Tip: Keep the PDF next to the Sheet in the same folder, so the source is one click away.
Where this goes wrong
- Google's upload page does not name PDF reading, so if Gemini says it cannot read the file, stop and type the numbers yourself
- Check at least the column totals and a sample of rows against the PDF, and keep the original PDF unchanged
- Gemini can misread a digit or merge cells without telling you; do not upload bank or card numbers or personal data you do not need
- Have a qualified person check this before you sign, file or send it. Use this if the numbers go into a filing or a contract.
Sources
- Workspace Updates: Create, preview and edit files in the Gemini app
- Gemini Apps Help: Upload files to Gemini Apps
More like this
- Move your Gems to skills before they vanish
- Long email threads into one clear doc
- Rebuild one custom GPT as a working plugin
Updated . Written with AI help and checked by an independent review step, as described in our editorial standards.