Feature story · Workbook diff

The file came back different

Finance says the corrections were small. XLTab's diff workspace is how you find out what that actually means — row by row, cell by cell, character by character.

Rows aligned by invoice number despite reordering. Changed cells in red, the new row in green, removed rows falling away into hatched empty space — and the row numbers no longer pretend to agree.

The email arrives Friday at noon, and it is exactly seventeen words long: Attached is the updated invoice file — only small corrections, nothing structural. Good to close.

The attachment is called invoices-nov.xlsx. You have invoices-oct.xlsx open already, because the close was supposed to happen yesterday, because your name is on it, because small corrections are the kind of words that have ended careers.

Two files. Hundreds of rows. The question is so simple a child could ask it: what changed? And the remarkable thing — the thing anyone who has lived this moment already knows — is that there has never been an easy way to answer it.

The eyeball method, and how it ends

Here is what people actually do. They open both files side by side and start reading. Row one, same. Row two, same. Row three — wait, row three is different. No, hold on, row three is a different invoice entirely, because someone moved things around, and now the rows don't line up anymore, and every single row from here down looks different even if nothing in it changed. Twenty minutes later you have a headache, a creeping suspicion you missed something in the middle, and no answer you would sign your name to.

The failure is not your attention span. The failure is that rows in a spreadsheet are not lines in a text file. They have identity. Invoice INV-1044 is the same invoice whether it sits in row four or row five — and any comparison that doesn't understand this is not comparing your data. It is comparing the accidental geometry of your data, which is a completely different and completely useless thing.

General-purpose diff tools — even the great ones, the ones every power user installs on day one — were built for text. Some of them will open a spreadsheet. None of them were born understanding what a spreadsheet is.

Rows have identity

So you open both files in XLTab and press Diff.

The comparison workspace opens, and the first thing you see is the thing that changes everything: the rows are aligned by invoice number. Not by position — by identity. On the left, INV-1042 sits in row three. On the right, row two. The workspace doesn't care. It matched them, because XLTab looked at the shape of the sheet, chose the Invoice column as the key all by itself — Auto key: Invoice, says the status line — and used it to pair every row with its counterpart. Someone reordered half the file? Irrelevant. The comparison follows the data, not the geometry.

You can see the pairing working right there in the row numbers: left row four next to right row five, left rows six and seven next to nothing at all — because those invoices are gone in November — and at the bottom, a row that exists only on the right: INV-1048, Meridian Supplies, rendered in green, the color of arrival. Removed rows wear red and lean against hatched empty space where their counterpart used to be. Seventeen words in that email, and the truth is already visible: rows were added, rows were removed, and that is not what most people mean by nothing structural.

If the automatic key is wrong for your data — because real spreadsheets are wilder than demos — you choose your own. Every column header carries a small K: click it and that column becomes the matching identity. Composite keys, no key at all, back-to-automatic with one reset. The alignment is yours to control, because you know what an invoice number is and the tool is honest enough to ask.

Not all differences deserve your attention

Now look at the status line: 28 important · 1 unimportant · 8 changed rows. Read it again. The workspace is not just counting differences — it is weighing them.

Because here is what a naive comparison would never tell you. Cobalt Retail's amount reads 960 on the left and 960.04 on the right — four cents of rounding noise that no human being will ever act on. One cell ends with a trailing space on one side and not the other: technically different, spiritually identical. And the Exported column — the timestamp the system stamps into every row at export time — is different in every single row, always, forever, by design, telling you nothing.

XLTab classifies before it counts. Formatting-only changes are their own kind. Whitespace-only differences are their own kind. Numeric differences inside a tolerance you set — the four cents — are unimportant unless you say otherwise. And the timestamp column? You ignore it: one click on the diamond in its header, and its differences stop driving the comparison. Not deleted, not edited — the source files are never touched — simply reclassified, noise demoted from the evidence. What remains in red is what actually matters: a status that went from open to paid, an amount that moved from 3120 to 2980, a dispute that became resolved.

A diff tool that cannot tell noise from signal has not answered “what changed.” It has only answered “what is different” — and those are not the same question.

And when the comparison you care about is not the values at all but the logic — did anyone touch the formulas? — one switch changes the comparison from results to expressions. Because sometimes the number is the same and the formula underneath it is not, and that is exactly the change you were afraid of.

Filter the evidence, never the truth

Eight changed rows out of hundreds. This is where filtering earns its keep — and where XLTab does something the venerable comparison tools simply do not do.

The row filter can collapse the view to only the rows with differences: the noise of sameness falls away and the evidence stands alone. Need tighter still? Every column header carries a filter control — the same vocabulary you already know from spreadsheets. Filter the Status column to resolved, and you are looking at exactly the rows where the resolution happened. Hide the columns that don't matter for this review — the diff view hides them, while both source files remain byte-for-byte untouched.

And here is the part that separates honesty from convenience. Filter rows away and the status line tells you how many are hidden. Hide a column that contains differences and XLTab does not let those differences evaporate into a false sense of clean — a warning counts them, right there in the status line, until you look or consciously choose not to. Key columns can't be hidden at all, because rows without identity are not rows anymore. Every layer of focus is a lens on the truth — never an edit of it, never an omission of it. The comparison is always complete underneath. You are only choosing what to look at, and the tool never lets you forget that you chose.

Ask questions inside the comparison

Then there is the moment that made you open this file in the first place. The email said corrections. What you actually want to know is: is Meridian in here?

So you type it into the comparison's own search. The matching cells light up on both grids at once. The counter reads match 1 of 2, with previous and next to walk between them. And then you check the small box that changes everything about how much you have to read: Rows with matches.

XLTab diff workspace filtered to only rows matching the search, showing just the Meridian rows with the match counter and the Rows with matches option enabled
Search inside the comparison, then show only the rows that match. Hundreds of rows become the two that answer the question — aligned side by side, differences still painted.

The hundreds of rows in the comparison collapse to exactly the ones carrying your answer: the Delta Marine row where the Meridian credit note lives, its cells still painted with their changes, and below it the green arrival of INV-1048. Everything else steps aside — not deleted, not lost, just respectfully out of the way until you ask for it back. This is not searching and then comparing. It is searching inside the comparison, which is a thing spreadsheet people have needed since the first time two versions of anything existed.

Large comparisons are terrain, and the workspace is built for terrain. The sheet rail on the left lists every sheet with its verdict and its count — Accounts, twenty-nine; Summary, two — because workbooks are not one sheet, and a comparison that only looks at the first tab is a comparison you cannot trust. Down the right edge runs a compressed map of the entire sheet: every difference a mark, dense regions and sparse ones visible at a glance, click to jump. F7 walks you forward through the changes, Shift+F7 backward — evidence in order, no scrolling required. And the two sides scroll as one, synchronized, because a comparison where the two halves drift apart is just two spreadsheets again.

Sheets only in one version are not invisible either — a sheet deleted since October, or added in November, is itself a difference and appears as one. Nothing structural, the email said.

Down to the characters

Click the changed cell in the Delta Marine row — the long note in Review notes — and the bottom of the workspace opens into the inspector. This is where the comparison stops being a map and becomes a microscope.

The XLTab diff inspector showing the exact left and right cell references and the character-level text difference inside the cell
Left E5, Right E4 — the same logical cell at different addresses. And inside the text, the exact characters that changed: was completed, highlighted where they were added.

Look at the references: Left E5 · Right E4. The same logical cell, living at different addresses in the two files, because the rows moved — the inspector never lets the alignment become invisible. And then the content itself: not "these cells differ," but the exact characters. The October text ends at after the surcharge review. The November text continues — was completed — and those characters, precisely those characters, are what the highlight shows. A status column tells you that something changed. This tells you what the change says. The dispute didn't just close. It closed with an explanation, and the explanation is now part of the record.

Every sheet remembers how you left it

Real reviews are interrupted. You check the Summary sheet, answer a message, switch to another tab entirely, come back after lunch. And here the workspace does something quietly respectful: every compared sheet remembers. The scroll position you left at. The columns you hid. The filters you set. The search you were walking through. Switch sheets, switch tabs, come back — the evidence is exactly where you left it, because your attention is the expensive resource and the tool knows it. Nothing is written to disk, nothing persists beyond the session; this is memory as manners, not surveillance.

And then, the part that writes

Everything so far has been reading. The comparison itself never writes — put that in stone. You can inspect two files for an hour and both will close byte-for-byte identical to how they opened.

But sometimes the answer to what changed is: something that shouldn't have. The amount in November is wrong; October had it right. And so the inspector offers the controlled exception: Cell R→L, Cell L→R, Row R→L, Row L→R. Copy this cell — or this row's intersecting cells — from one side into the other. Values and formulas only, never formatting. The target workbook is live, the write is real, the dirty indicator comes on, and the undo system knows what you did. It is repair, not magic: deliberate, directional, visible. Which is why it is deliberately unavailable where it cannot be safe — you cannot copy a row into a position that doesn't exist, and inserted or deleted rows refuse the gesture rather than guess.

The distinction is the whole point. Comparison is passive; repair is a decision. A tool that blurs them will eventually repair something you only meant to inspect.

Why we built it this way

Spreadsheet comparison is not a niche feature. It is the moment of truth in every handoff, every close, every audit, every small corrections email ever sent. And it has been poorly served for decades, because the tools everyone reaches for were built for source code and prose — for lines, not for rows with identity; for text, not for numbers with tolerance; for flat files, not for workbooks with sheets, formulas, formats, and noise columns. You can compare spreadsheets with a text diff the way you can cut bread with a screwdriver. People do it every day. That doesn't make it a knife.

So XLTab's diff is built on the structure instead of the bytes. Rows have keys. Columns have meaning. Differences have weight. Views are lenses, never edits. Evidence is exact — down to the characters — and honest about everything it hides, caps, or cannot safely do. That is what comparison means when the tool actually understands the file.

It is also the end of the arc this whole series has been tracing. The folder is the map. Tabs are the working set on your desk. Workspace search finds the files that matter; search across the open set sharpens the question. And diff is where the questions end: what changed? — answered in rows, cells, and characters, with the evidence painted in front of you.

Back to Friday

It is 12:20 when you finish. The corrections were small — mostly. Two invoices are simply gone. A new one for Meridian Supplies has appeared, which nobody mentioned. Three amounts moved, one of them by four cents, which you now know is noise, and one by a hundred and forty, which you now know is not. And the dispute did resolve — was completed — exactly as the note says.

You reply in nine words: Close is fine once INV-1045 and 1046 are explained. The answer was always in the files. For the first time, so was the way to find it.

Continue

Explore the workflow

Read the diff guide Read the open-workbook search story Read the workspace search story Compare columns across sheets Download XLTab