Feature story · Power tools

The export is always dirty

Trailing spaces, shouting caps, numbers stored as text. The mess is not an accident — it is the territory. The question is what kind of tools you bring to it.

The contract is printed at the top: configure → preview → apply. Below it, the scopes confess their own risk — Selected range · default and safest — before you have touched anything.

The CRM export lands in your inbox the way CRM exports always do: technically complete, spiritually filthy. You know the inventory before you open it, because it is the same inventory every time, from every system, everywhere. Leading spaces invisibly glued to half the names. nancy whitfield in lowercase next to SARAH KIM in shouting caps next to MARCUS  LEE with a double space hiding in the middle like a tripwire. A revenue column that is numbers except where it is text, except for the cell that literally contains the words not provided. Dates in three formats sharing one column like feuding tenants.

The data is all there. That is the insult of it. Everything you need is present — it just arrives in a state that makes every lookup, every pivot, every mail merge quietly wrong in ways you will discover one at a time, in meetings, over the next month. Unless you clean it first. And cleaning it is where the afternoon goes.

The old way: a hundred small humiliations

Everyone knows the two traditional options. Option one: manual labor — clicking into cells, retyping, fixing, one humiliation at a time, four hundred rows of it. Option two: the formula contraption — a helper column of TRIM, another of PROPER, a third with some nested IF monstrosity you copied from a forum in 2019, then copy, paste-values, delete the originals, and pray you didn't just paste over something that mattered. It works. It also takes an hour, scaffolds your workbook in scaffolding, and cannot be trusted with the columns you didn't think about — because the contraption only does what you remembered to build.

Neither option is a tool. Both are penance. And the interesting question — the one XLTab's power tools are the answer to — is what a real tool would have to promise before you'd let it loose on your data.

The contract, printed at the top

Open the Tools dialog and the answer is printed right under the title, in the plainest possible words: configure → preview → apply. Batch outputs never overwrite source files.

Read it as a contract, because that is what it is. You choose a tool. You choose a scope. You configure exactly one operation. Then — before anything is written anywhere — you press Preview, and the tool calculates the entire plan and shows it to you: what will change, where, how many cells, and representative examples of the actual before and after. You apply only when the preview matches your intent. If the plan can't be meaningfully calculated, you get an honest error instead of a partial guess.

And one more piece of the contract is visible before you have clicked anything at all: every tool in the list carries its own label — non-destructive or destructive — right beneath its description. Not buried in documentation. Not discovered after the fact. Declared in the interface, at the moment of decision, because you deserve to know what kind of power you are picking up.

The scope confesses its own risk

Look at how the cleanup tool asks where to operate. Not a bare list of options — a confession, each scope captioned with its own consequence. Selected range · default and safest cleanup scope. Current sheet · uses the populated range of the active sheet. And the most interesting one: Last advanced selection · exact matched cells are preserved for cleanup — about which, more in a moment, because it is the answer to a harder problem than it first appears.

The safest option is the default. The wider scopes exist but make you choose them with open eyes. This is not a dialog designed to get out of your way — it is designed to make the powerful thing the deliberate thing, which is a completely different philosophy from the one that gave us the formula contraption.

Preview is not a decoration

So you configure the first fix — trim whitespace, current sheet — and press Preview. This is what power looks like when it respects you:

The data cleanup preview showing the affected counts, three honest warnings, and a representative before-and-after table listing exact cells with their trimmed values
The preview before the write: exact counts, three honest warnings, and a representative table — CRM Export!A2 before and after — so you inspect the actual change, not a promise about it. 69 unchanged cells counted honestly, because sameness is not change.

Three warnings, in plain language, before a single cell is written: formula cells are skipped unless you explicitly enable otherwise — and if you do, they are replaced by their cached values, never silently overwritten as text. Merged and rich-text cells are skipped conservatively. And the edits themselves run as undoable spreadsheet commands, batched by sheet — because even after all this care, undo is the final safety net, and the tool knows it.

Then the representative preview: exact cells, before and after. CRM Export!A2: " nancy whitfield" — the leading space you could not see in the grid, visible at last in the diff-like listing — becoming nancy whitfield. And underneath, the count that proves the honesty: 69 unchanged. Cells that were already clean are counted as unchanged, not lumped into a flattering total. The tool tells you what it will do, what it will not do, and what does not need doing — three different numbers, because they are three different truths.

Where it refuses to guess

The cleanup actions themselves read like the mess inventory — trim, case conversion in four exact modes, prefix and suffix, remove characters by type or position or regex, extract the first number or email, fill blanks from above or below, split delimited text, round numbers, change signs. But the interesting part is not what they do. It is what they won't do.

Convert text to numbers, and leading-zero identifiers are left alone — because 00142 is not a failed number, it is an account code, and converting it is destruction wearing the mask of cleanup. Convert text to dates, and ambiguous dates are skipped rather than guessed: is 01/02/2026 January second or February first? The tool does not know, knows it does not know, and says so in the skip summary — unless you explicitly choose the interpretation, at which point the choice is yours, documented, deliberate. Split delimited text, and it will not overwrite the occupied cells next door unless you have explicitly confirmed the overwrite after seeing exactly which cells are in the way. Rounding modifies stored values, not display formatting — the dialog says so, because a tool that pretties the display while leaving the data dirty would be lying to you twice.

The measure of a power tool is not what it can do to your data. It is what it refuses to do without asking.

Changing only the right rows

But sometimes the problem is not the transformation — it is the target. Trim the customer names, yes — but only the active accounts, not the archived ones. Fix the revenue column, but only where the cells are actually text. This, the documentation admits, is the hardest problem in spreadsheet editing: changing only the right rows or cells while preserving enough evidence to trust the result.

It gets its own tool: advanced selection. Select matching cells — blanks, formulas, errors, bold, strikethrough, every Nth row, font color — or matching rows, by content, formatting, even weekday. Isolate the matching rows by hiding the others: not with a filter you will forget is on, but with explicit row hiding, your existing AutoFilter state untouched, the header row kept visible so you never lose your bearings. And then the loop closes: run cleanup scoped to the last advanced selection, and the transformation lands exactly on the isolated cells and nowhere else. Targeting and transformation as two deliberate, separate acts — because combining them into one black box is how wrong rows get fixed forever.

The merge that keeps the evidence

Every spreadsheet person knows the other small cruelty: merging cells in a traditional spreadsheet keeps one value and discards the rest. Three rows of order notes — customer called about delivery, updated address on file, confirmed for Friday — become whichever fragment happened to sit on top, the rest silently gone. XLTab's merge concatenates with a delimiter you choose: all values, or only the unique ones, blanks skipped or included, the formatting kept from the first meaningful cell. The fragments become one cell with all three sentences intact. Nothing the customer said is lost — because notes are evidence, and evidence does not get discarded for a layout.

And when whole rows need consolidating — several rows per order that should become one — the combine-rows tool groups by key columns you choose, aggregates the rest exactly as you specify: concatenate the notes, sum the amounts, keep the latest status, count the evidence. The crucial part: it writes a new sheet. The source rows are never modified — the consolidated output lands beside the original, reviewable, reversible, honest. Because the choice of key is a business decision, not a technical one — merge on the wrong key and you have fused two different customers into a chimera — and a tool that respects business decisions keeps the original evidence alive until you have checked its work.

Before you touch the formulas

The last craftsmanship family works one layer deeper: the formulas themselves. Before the close, scan the workbook for errors and broken references — a non-destructive pass that produces a copyable evidence report and jumps you to each problem cell, reporting what it finds and never guessing at what the correct formula should have been. Before deleting a sheet or restructuring a table, inspect a formula's dependencies — what it uses, what feeds on it — with constructs the tool cannot parse reported as unsupported rather than guessed. Copy a formula template exactly when exactness is what you need, references preserved character for character instead of relatively adjusted. And after filtering or hiding rows, calculate visible cells only — because a subtotal that secretly includes the rows you deliberately excluded is not a subtotal, it is a trap.

Notice the pattern across all of it: the evidence is the deliverable. Scans produce reports you can copy out. Merges preserve every fragment. Combined rows leave the source intact. These are not tools that do things to your data so much as tools that do things with it, in front of you, leaving the proof behind.

Why we built it this way

The spreadsheet world has never lacked powerful operations. What it has lacked is powerful operations you can trust. The traditional choice has always been between weak-and-safe — do it by hand, cell by cell — and strong-and-blind: the macro, the script, the forum snippet that reshapes ten thousand cells in a blink and cannot tell you what it is about to do. Power without visibility is not a tool; it is a wager.

So XLTab's power tools are built on the opposite bet: that the preview is the product. The cleanup actions are almost boring in their familiarity — trim, case, fill, round. What is not boring is being shown exactly what they will do before they do it, in counts and warnings and representative cells, with the conservative refusals engineered in at the edges where guessing becomes destruction. That is the whole philosophy, and it is why the contract is printed at the top of the dialog instead of buried in a manual: power you can inspect is power you can actually use.

It is the same honesty that runs through everything else in this series — the filter counts that admit both numbers, the diff that warns you about hidden differences, the search that caps detail rather than flattering you. And it scales beyond the single workbook: when thirty files arrive at once and the operations stop being craftsmanship and start being logistics, the same contract — configure, preview, apply, never overwrite — is what makes batch work survivable. But that is a story of its own.

Back to the export

The CRM export took about twenty minutes. Trim first — preview, verify, apply. Case conversion next, one action at a time the way the documentation insists, because repeated operations are not automatically reversible and patience is cheaper than repair. The revenue column converted, the text-values skipped and honestly reported rather than guessed. The order notes merged, every fragment intact. Nancy, Sarah, and Marcus — properly spaced, properly cased, properly themselves at last.

The mess will be back next month, because the export is always dirty. But now the afternoon is yours again — and the tool did the penance.

Continue

Explore the workflow

Power tools overview Data cleanup guide Merge and selection guide Formula productivity guide Read the Navigator story Download XLTab