LocalExcelTool
Get started

Unmerge cells (fill blanks)

Fill the blanks a merged cell leaves behind so sorting and pivots work.

Runs in your browserNo account neededFree

What is Unmerge cells (fill blanks)

Unmerging cells means giving every cell in a former merged range its own value. An xlsx file stores the value only in the top-left cell of a merged range — everywhere else is empty — which is why a sorted or pivoted copy of the sheet scatters blanks. This tool fills each empty cell with the value directly above it, the standard fix after flattening a merged report.

File

No file chosen

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

What actually gets filled

A merged range stores its value in the top-left cell only; the rest of the range is genuinely empty in the file. This tool walks the table row by row and fills each empty cell with the value in the cell above it, cascading down a run of blanks. Two rows under a merged Region header both end up with that region name, which is what sorting, filtering and pivot tables need to work.

Why blanks can appear where you expect values

The fill happens top-down, so a value only propagates from something above it. If the first row of a merged block was itself blank, the blanks below stay blank — the file gives no way to know what was merged there. Formatting-only merges where the visible text lived in a cell outside the sheet's data rectangle are another source of surprises; check the first rows of the output before scaling up.

When not to use it

When the empty cells are real data gaps rather than merge artifacts. A timesheet where empty means not worked will come out with every empty cell copied from yesterday — a lie in your data. The file cannot tell a merge blank from an empty cell, so if the sheet mixes both, unmerge visually in Excel first, or accept the fill on a copy and audit the columns that matter.

How to use it

  1. 1.Choose your .xlsx / .xls / .csv file (it never leaves the browser).
  2. 2.Pick the options you need.
  3. 3.Download the result — a new workbook, not an edit of the original.

How Unmerge cells (fill blanks) works under the hood

An .xlsx file is not a table — it is a ZIP archive of XML parts. Everything you see as a grid is rebuilt from cell references on this page, in memory, without a round trip to a server.

  1. 1

    Read the file as bytes

    The file is read into an ArrayBuffer with the File API. This is a local read, not a request — nothing leaves the tab.

  2. 2

    Unzip and parse the workbook

    SheetJS inflates the archive, reads workbook.xml for sheet order, sharedStrings.xml for text, and each sheet's XML for cells and types.

  3. 3

    Rebuild rows in memory

    Cells are placed by their A1 reference, gaps become empty cells, and the sheet is materialised as a two-dimensional array.

  4. 4

    Write the output locally

    The result is serialised to CSV text or a new workbook and handed to the browser as a Blob download.

  5. Processing pipeline

Why formulas arrive as values

A spreadsheet stores two things per formula cell: the formula text, and the value Excel last computed and cached. A browser parser reads the cached value. Making the formula itself run would mean reimplementing Excel's calculation engine — including volatile functions, circular-reference detection and locale-specific parsing. So the exported CSV contains what you last saw on screen, not a live formula.

What has no CSV equivalent

Merged cells, cell fills, fonts, conditional formatting, comments and pivot tables have no representation in a comma-separated file. A merged cell becomes its value in the top-left position and empty cells elsewhere. Dates are written as dates only when the cell is typed as a date; a date stored as text stays text. These are format limits, not bugs.

Where it gets slow

Parsing is linear in cell count, and the browser holds the whole workbook in memory. A 30 MB file with a million populated cells can take several seconds and a few hundred MB of RAM; the tab may feel frozen while SheetJS works. Splitting the file by sheet, or exporting only the range you need, is faster than retrying with a bigger limit.

Verify it yourself

You do not have to take this on faith. Run the tool once with DevTools open.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

Does it preserve the merged look?

No — the result is a flat table where every row is complete. That is the point: a flat table is what sorting, filtering and pivoting require. Keep the original file if you still need the visual layout.

What about empty cells that were never merged?

They get filled too, because the file itself does not distinguish a merged blank from an empty cell. If that matters, unmerge visually in Excel first — or accept the fill and review the result.

Is my file uploaded to a server?

No. The workbook is opened and rewritten by JavaScript in this page. There is no upload request — you can disconnect the network after the page loads and it still works.

What happens to formulas and formatting?

This tool reads cell values and writes a clean new workbook. Formulas arrive as their last calculated value, and cell styling, merged cells, conditional formatting and comments are not carried over. If you need the original styling, keep the source file.

What is the file size limit?

30 MB per file. Larger workbooks are rejected before any processing starts, so a big file will not hang the tab.

What this kind of conversion cannot keep

Spreadsheet conversion is lossy by nature: a workbook carries formulas, styles, merged cells and multiple sheets, while CSV carries rows of text. This tool keeps values and order, recalculates nothing, and drops presentation on purpose. That is why it can run without a server — and why a converted file will not look like the original.

More in Spreadsheets & Docs