TroubleshootingMarch 21, 2026
Meidy Baffou·LazyPDF

How to Fix Merged Cell Problems in PDF to Excel Conversion

Merged cell problems are the most disruptive issue in PDF to Excel conversion. When cells that should contain separate data values end up merged together, the resulting spreadsheet becomes nearly impossible to work with. Data that should be in individual cells for sorting and filtering is concatenated into single cells. Formulas that reference specific column positions fail because the column structure is wrong. And any attempt to sort or filter the data produces incorrect results because the cell boundaries do not match the data boundaries. The reverse problem is also common: cells that were intentionally merged in the original document — like a spanning header that labels several columns — get split into individual cells in the converted Excel file, leaving empty cells where the unified label should be and breaking the visual structure of the table. PDF to Excel conversion has inherent challenges because PDFs describe table appearance through lines and positioning rather than through data structures. The converter must infer column boundaries from the visual layout, and this inference can go wrong in both directions — treating visually distinct regions as merged, or splitting visually unified regions into separate cells. This guide covers the specific causes of each type of merged cell problem and provides targeted fixes for each scenario.

Why Merged Cell Problems Occur in PDF to Excel Conversion

The fundamental cause of merged cell issues is the disconnect between how PDFs represent tables and how Excel structures data. In Excel, merged cells are an explicit data structure: you select cells and merge them, and the spreadsheet software tracks which cells are merged and treats them as a unit. In PDFs, there is no equivalent concept — a cell that spans multiple columns is represented as a text box positioned at specific coordinates with a specific width, with lines drawn to create visual boundaries. When a PDF converter reads a table, it analyzes where lines are drawn and where text is positioned to reconstruct the cell structure. If a value's text extends beyond the visual boundary of one column into an adjacent column — which happens when the original PDF did not have explicit column separators — the converter may treat both columns as one merged cell. Similarly, if a header spans multiple columns in the original PDF, the converter's detection algorithm may split it into separate cells if it finds the underlying column boundaries. Additional complexity comes from tables that were created in design tools (not spreadsheet software), tables with irregular borders or dotted lines, and tables where cells have varying heights that make row alignment ambiguous. All of these produce conversion artifacts including incorrect merges and splits.

Step-by-Step: Fixing Incorrect Merged Cells in Excel

Fixing merged cell problems in Excel requires working systematically through the spreadsheet, identifying merged cells that should not be merged (and unmerging them) and separate cells that should be merged (and merging them). Excel's find-all-merged-cells function helps you locate every merged cell in the spreadsheet without having to scroll through manually, which is essential for large conversions. Before making any changes, save a copy of the converted spreadsheet so you can always revert. Then start from the top of the data and work downward, fixing one row or section at a time.

  1. 1In the converted Excel file, press Ctrl+F to open Find, click Options, then click Format and choose Format > Alignment tab > check the Merge Cells checkbox. Click Find All to get a list of every merged cell in the spreadsheet.
  2. 2Review each merged cell location. Click on it in the search results to navigate to it, then determine: should these cells be merged (intentional spanning header) or separate (incorrect merge from conversion)?
  3. 3To unmerge incorrect merges: select the merged cell, go to Home > Merge & Center dropdown > Unmerge Cells. The data from the merged cell will appear in the leftmost cell of the unmerged range.
  4. 4After unmerging, redistribute data that was combined into one cell: if 'Value A / Value B' ended up in one cell, delete the combined text and type each value into its correct individual cell.
  5. 5For headers that should span multiple columns but were split: select the header cell and the adjacent cells that should be included, then use Home > Merge & Center to create the spanning header.
  6. 6After fixing all merged cells, test the data by applying a sort on a data column — if sorting works correctly and all rows sort together as units, the cell structure is correct.

Using Find and Replace to Fix Systematically Merged Data

When a conversion systematically merges certain columns together (the same problem repeats across many rows), using Find and Replace can fix the issue far faster than editing each cell individually. This is especially useful when data from two separate columns consistently ends up concatenated in one cell — for example, first name and last name merged into one cell, or a date and a value merged together. If the merged data has a consistent separator (like a space, slash, or comma between the two original values), you can use Excel's Text to Columns feature to split them. Select the column with merged data, go to Data > Text to Columns, choose Delimited, and specify the separator character. Excel splits each cell at the separator and puts the second value into the adjacent column. This works beautifully when the pattern is consistent across all rows.

Verifying Spreadsheet Structure After Fixes

After fixing merged cell problems, validate the spreadsheet structure before using it for analysis. The most important tests are: apply an AutoFilter to the header row and verify that each column has a proper dropdown; sort by one column and verify all rows sort correctly without data from one row mixing into another; and check that total or summary rows still align with their data columns. For financial data, verify that numbers are stored as actual numeric values rather than text — merged cells sometimes result in numbers being stored as text strings, which break SUM and other calculation formulas. To check, try applying a SUM formula to a range of the data. If it returns 0 for cells that clearly contain numbers, those numbers are stored as text. Fix by selecting the range, noting the warning triangle that appears, and clicking 'Convert to Number' from the warning dropdown.

  1. 1Apply AutoFilter (Ctrl+Shift+L) and verify all columns have functional dropdowns with correct data values.
  2. 2Sort the data by a key column and verify rows remain cohesive — no data from one record appearing in a different record's row.
  3. 3Check that numeric columns are stored as numbers: select a cell with a number and verify it shows as 'Number' in the Number Format dropdown in the Home ribbon, not 'Text' or 'General'.

Frequently Asked Questions

Why do columns merge together after PDF to Excel conversion?

Column merging happens when the PDF converter cannot detect clear column boundaries between two data areas. This occurs when columns are not separated by explicit vertical lines, when text overflows its column boundary, or when the original table was created without strict column alignment. The converter infers column structure from visual patterns and sometimes groups adjacent areas into a single merged cell.

How do I split merged cells and keep the data in both cells?

After unmerging, Excel places all the merged content in the leftmost cell and leaves the other cells blank. If the merged cell contained data that belongs in multiple cells (for example 'John Smith' instead of 'John' and 'Smith' in separate cells), use Data > Text to Columns to split based on a separator, or manually cut and paste the second value into the correct empty cell.

How do I find all merged cells in a large Excel file?

Use Ctrl+F (Find), click Options to expand, then click the Format button. In the Format dialog, go to the Alignment tab and check the Merge Cells checkbox. Click Find All, and Excel shows every merged cell in the file in a list. You can click each result to navigate to it and decide whether to keep or remove the merge.

Can I prevent merged cell problems by choosing a different conversion approach?

Better quality converters like LazyPDF use layout analysis specifically designed to identify table boundaries more accurately, reducing incorrect merges. If you still get merge problems, try converting one page at a time — smaller conversion targets give the tool more precision. Also check if the original PDF has clear table borders, since explicit border lines help the converter detect column and row boundaries more reliably.

Convert your PDF tables to Excel with better cell structure accuracy — LazyPDF detects table boundaries precisely.

Try It Free

Related Articles