Skip to main content
All notes

How to Convert PDF to Excel Without Breaking Columns and Numbers

Convert PDF tables to Excel with Power Query, distinguish scans from text PDFs, and reconcile rows and totals. Includes fictional examples and a reference file.

Share

Share to Instagram Stories

Preparing image…

  1. The link is copied.
  2. Download the image, then post it to Instagram Stories from your phone.
  3. Add a Link sticker to your Story and paste the link.
Download image

Instagram Stories can only be posted from the phone app.

Share to TikTok

Preparing image…

  1. The caption and link are copied.
  2. Download the image, then post it as a photo on TikTok.
  3. Paste the caption before you post.
Download image

Easiest to post from the TikTok app on your phone.

Documents and banknotes on a desk, illustrating financial administration

To convert PDF to Excel reliably, identify the PDF type, extract the table, and check data types and totals. A table that looks correct may still contain values that cannot be calculated.

This tutorial uses six fictional transactions. Download the sample PDF and reference workbook. The workbook was created from the same source data; it does not demonstrate that every converter produces identical output.

Distinguish text PDFs from scans

Try selecting an order ID in your PDF reader. If it copies correctly as text, begin with table import. If the page is an image, you need OCR, or optical character recognition. Review its output, especially characters such as zero and the letter O.

A document may contain both types. Check several pages rather than only the first. Before uploading real customer documents, confirm that the conversion tool meets your organization's data handling requirements.

Sample PDF with six fictional transactions and an IDR 1,650,000 total
A text PDF created for practice, with Indonesian labels. All records are fictional. TOTAL is a control row, not a seventh transaction.

Import with Power Query

These steps target desktop Excel on Windows with the PDF connector available. Menus vary by version and plan. If From PDF is missing, check your version against Microsoft's import guide.

  1. Open a blank workbook and choose Data → Get Data → From File → From PDF.
  2. Select the sample PDF and review the detected tables in Navigator.
  3. Select the six-transaction table, then choose Transform Data to inspect it before loading.
  4. Retain one header and six transaction rows. Exclude TOTAL so the aggregate is not counted twice.
  5. Set ID to text, Tanggal to date, and Total to a numeric type. Finish with Close & Load.

The PDF connector documentation covers table selection and extraction limitations. Complex layouts can require additional cleanup.

Check number separators and dates

The example uses 100,000 for one hundred thousand. Do not automatically interpret that comma as a decimal separator. If the Power Query locale differs from the source, use a locale-aware type conversion and check the resulting value.

The sample uses year-month-day dates. In other documents, 03/04/2026 could mean March 4 or April 3. Establish the source convention before converting.

Reconcile three controls

CheckExpected result
Transactions, excluding header and TOTAL6
Unique IDsP001 through P006
Transaction totalIDR 1,650,000

Also check P002 at IDR 250,000 and P005 at IDR 450,000. Row-level spot checks can reveal mistakes that a grand total alone misses.

In the reference workbook, SUM(E2:E7) produces the total. Do not include the total row in that range. If summing fails, check whether imported amounts remain text.

If the table breaks apart

Return to transformation and identify patterns: repeated headers, descriptions split across rows, or separate tables for each page. Retain the source PDF so corrections remain traceable. Unrecorded cell-by-cell repair makes next month's conversion difficult to repeat.

AI can suggest column mappings, but you still need to reconcile the controls. My guide to Excel files AI cannot read explains how to distinguish access problems from interpretation errors.

For recurring PDF reports, tell me about the source layout and required output. That determines whether a saved query is sufficient or an automated conversion workflow is useful.

Cover photo: Jakub Żerdzicki on Unsplash, used under the Unsplash License. This is an illustrative stock photo, not documentation of the incident, featured product, or a test result.

Found this useful? Share it with a friend or your team.

Share

Share to Instagram Stories

Preparing image…

  1. The link is copied.
  2. Download the image, then post it to Instagram Stories from your phone.
  3. Add a Link sticker to your Story and paste the link.
Download image

Instagram Stories can only be posted from the phone app.

Share to TikTok

Preparing image…

  1. The caption and link are copied.
  2. Download the image, then post it as a photo on TikTok.
  3. Paste the caption before you post.
Download image

Easiest to post from the TikTok app on your phone.

Is your team still doing something by hand?

Tell me about it, and let's find the fix together.