FastBankConvertFastBankConvert home

Convert Scanned PDF to Editable Excel After the OCR

By FastBankConvertPublished January 20, 2026Updated January 20, 2026

To convert a scanned PDF to editable Excel, OCR is only half the job. The other half is making every amount a real number. Recognition often leaves a letter O where a zero belongs, a lowercase l for a 1, or a stray space, and any of those turns the cell into text that will not sum, sort or calculate.

What makes a scanned PDF conversion editable in Excel?

An editable conversion is one where every number cell holds a number Excel can calculate with, every date holds a date, and text stays text. A cell can look perfect on screen and still be text underneath. Then SUM skips it, sorting puts it in the wrong place, and a filter for "greater than 100" ignores it.

Scanned PDFs cause this more often than digital ones. A digital PDF stores the exact characters the bank or accounting system wrote. A scan stores a picture, and OCR (optical character recognition, the step that guesses each character from its shape) has to decide whether a round mark is a zero or a capital O. Most of the time it guesses right. On a statement with a few hundred amounts, a handful of wrong guesses is normal.

Three signs tell you a column is not fully editable yet:

  • Left-aligned numbers. Excel aligns real numbers to the right by default. A value hugging the left edge of a General-format cell is usually text.
  • A green triangle in the corner of the cell, with a warning that the number is stored as text.
  • A status bar that disagrees. Select the column and look at the bottom of the window. If Count is higher than Numerical Count, some cells are text.

Any converter for editing, whether a desktop OCR suite or a scan PDF to Excel converter online, hands you this same cleanup. The difference between tools is how many cells need it. If you are weighing tools on that basis, what to compare in OCR PDF to Excel software sets out a fair test.

Letters hiding inside OCR numbers: O, l, S and B

OCR swaps letters for digits when the two shapes are close in the printed font. The usual pairs are O for 0, l or I for 1, S for 5, B for 8, Z for 2 and G for 6. A single swapped character is enough to turn an amount like 1,050.00 into the text "1,O50.00".

The swaps are not random. They follow the font and the print quality:

  • Round shapes. Zero, capital O, lowercase o and capital D sit close together in many statement fonts. A faded zero with a flat left side can come back as D.
  • Thin verticals. The digit 1, lowercase l, capital I and the pipe character | are nearly identical in sans-serif type. Column rules printed close to a number can also be read as a pipe.
  • Curves with breaks. A 5 with a broken top bar looks like S. An 8 with a gap looks like B, or like a 3.
  • Small type. The smaller the print, the fewer pixels per character, and the more these pairs blur.

Some converters reason about the column. If a column is full of amounts, a letter inside a value is almost certainly a misread digit, and good software corrects it before you see it. Others pass the raw guess straight through. You find out which kind you have by checking the output, not from the marketing page.

The reverse also happens in description columns. A payee such as "OFFICE DEPOT" can come back as "0FFICE DEP0T". That does no harm to totals, but it can stop a search or a categorization rule from matching.

How do you find text-stored numbers in scanned PDF output?

The fastest way to find text-stored numbers is a helper column with =ISNUMBER(C2) filled down beside the amounts. Every FALSE marks a cell Excel cannot calculate. Filter the helper column to FALSE and you see only the cells that need work, often five or ten rows out of hundreds.

A few more checks catch what ISNUMBER alone would leave behind:

  1. Count versus count of numbers. In a spare cell, compare =COUNTA(C2:C400) with =COUNT(C2:C400). If the first is larger, the difference is the number of text cells.
  2. Search for letters. Use Find (Ctrl+F) with "Match entire cell contents" off and search the amount column for O, then l, then S. Each hit is a suspect.
  3. Check the length. =LEN(C2) longer than the visible characters reveals invisible spaces.
  4. Compare with the page total. If the scanned page prints a total or a closing balance, a fresh SUM over the converted column should match it. A gap tells you a value is wrong even when every cell is a number.

The fourth check matters most. A misread that turns 6 into 8 still produces a valid number, so ISNUMBER says TRUE and the error hides. Only a total or a running balance exposes it. On bank statements the running balance does this line by line, and the digit errors OCR makes on bank statements covers how to use it.

Repairing letter-for-digit swaps with SUBSTITUTE

SUBSTITUTE repairs a whole column of letter swaps at once. Nest one SUBSTITUTE per look-alike letter, wrap the chain in VALUE, and fill it down a helper column. The result is a real number wherever the only problem was a swapped character, and an error wherever something else is wrong.

The table below lists the swaps worth handling and the formula piece for each. It is a starting set, so add or drop letters to suit your file.

OCR character Digit it usually replaces Formula piece
O (capital) 0 SUBSTITUTE(x,"O","0")
o (lowercase) 0 SUBSTITUTE(x,"o","0")
D 0 SUBSTITUTE(x,"D","0")
l (lowercase L) 1 SUBSTITUTE(x,"l","1")
I (capital i) 1 SUBSTITUTE(x,"I","1")
| (pipe) 1 SUBSTITUTE(x,"|","1")
S 5 SUBSTITUTE(x,"S","5")
B 8 SUBSTITUTE(x,"B","8")
Z 2 SUBSTITUTE(x,"Z","2")
G 6 SUBSTITUTE(x,"G","6")

Put together for the most common four, the helper formula looks like this:

=VALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(TRIM(C2),"O","0"),"o","0"),"l","1"),"S","5"))

Run it only on the amount column. Applied to descriptions, it would turn "SHELL" into "5HE11". Once the helper column is right, copy it, paste it back over the original as values, and delete the helper.

A short cleanup routine

For a scanned PDF of a few pages, this order keeps the work short:

  1. Add the ISNUMBER helper and filter to FALSE.
  2. Apply the SUBSTITUTE chain to the flagged cells only.
  3. Recheck ISNUMBER. Anything still FALSE needs a look at the page.
  4. Compare a fresh SUM with the printed total.
  5. Paste values over the originals and remove the helpers.

Stray spaces and minus signs in editable Excel output

Letters are not the only reason a converted value stays text. Spaces inside a number, a non-breaking space carried over from the PDF, a trailing minus sign, or a currency symbol in the wrong place will all keep a cell from calculating. Each has its own small fix.

The usual offenders:

  • A space inside the number. OCR sometimes reads a gap between digits, so 1 250.00 arrives as text. SUBSTITUTE(x," ","") removes ordinary spaces.
  • Non-breaking spaces. These look like spaces but TRIM does not remove them. SUBSTITUTE(x,CHAR(160),"") does.
  • Trailing minus or CR. Some statements print debits as 45.00- or credits as 45.00 CR. Excel treats both as text. Move the sign to the front, or split the marker into its own column, then convert.
  • Parentheses for negatives. Excel usually reads (45.00) as a negative number. OCR may drop one bracket, which leaves text.
  • A comma read as a period. On a scan, 1,250.00 can come back as 1.250.00, which is not a number at all. Check any value with two periods by eye.

Dates suffer in the same way. A scanned date such as 03/O4 is text until the O is fixed, and even a clean date can land in the wrong order if the file and your computer disagree on day-month order. Fix the characters first, then the date order.

Not every scanned page is a table, either. If your PDF holds lists or paragraphs that need one row per line, splitting scanned text into Excel rows handles that layout.

Should you correct the scanned PDF or the Excel file?

Correct the Excel file in nearly every case. Editing the OCR text layer inside a PDF is slow, the tools for it are clumsy, and the fix does not carry over to a fresh conversion anyway. Rescanning is the better choice only when errors are so frequent that the source image is the real problem.

Keep the scan beside the workbook while you work. When a value is ambiguous, look at the page, not at the converted cell. A cell that reads "1B5.00" could be 185.00 or 135.00, and only the picture can settle it.

Rescan rather than repair when:

  • More than a few cells per page come back as text.
  • Whole digits are missing rather than swapped.
  • The page was photographed at an angle, so columns drift across rows.
  • The print is faint enough that you struggle to read it yourself.

A new scan at a higher resolution, flat on the glass, usually removes most of the swaps at the source. When the paper is a printed spreadsheet rather than a statement, scanning a printed spreadsheet into Excel covers grid alignment on the glass. When you only have a phone photo, which image files convert to Excel explains what each kind of picture can deliver.

For scanned bank statements specifically, a converter that checks the balances does the hardest part of this review for you. FastBankConvert is built to flag a statement whose balances do not add up before you download it, and it is getting ready to open. Get started to hear when trial conversions are available.

All posts in Scanned and image statements