Tool guide7 min readApplies to XLTab 1.14.9

Compare columns across sheets and workbooks

Find overlap and extra values between two columns using real header dropdowns, rich preview statistics, sample values, and a non-destructive report workbook.

Compare columns answers the common spreadsheet question normally handled with XLOOKUP, MATCH, or COUNTIF: which values exist in both columns, which exist only on the left, and which exist only on the right?

When to use it

  • Compare customer, employee, invoice, SKU, or email lists across two exports.
  • Check whether records in one sheet are present in another sheet.
  • Identify missing or extra values before migration, reconciliation, or audit review.
  • Compare two sheets in one workbook or sheets in two different open workbooks.

Configure the comparison

  1. Open the workbook or workbooks containing the columns.
  2. Open Tools → Compare columns.
  3. Choose the left workbook and sheet, then pick the column from a dropdown populated with the sheet's real used columns and row-1 headers.
  4. Choose the right workbook, sheet, and column the same way. They may point to the same workbook but not to the exact same sheet and column.
  5. Review the matching rules, then choose Preview.

Matching rules

RuleDefaultBehavior
Treat first row as headersOnRow 1 is skipped on both sides. Turn it off when row 1 is real data.
Trim leading/trailing whitespaceOnLeading and trailing whitespace does not prevent otherwise equal text from matching.
Case-sensitive comparisonOffText matching is case-insensitive unless you enable this option.
Type-aware valuesAlwaysText, numbers, and booleans remain distinct types; text 001 is not automatically equal to number 1.
Blank cellsIgnoredBlanks are counted in the summary but never match each other as values.
Formula cellsCached valuesCached/displayed results are compared where available. Formula cells without cached results are counted and disclosed rather than silently treated as blank matches.

Preview overlap, extras, and column quality

Preview analyzes each selected column once and summarizes overlap size, distinct extra values in the left column, and distinct extra values in the right column, with sample values for both extra groups. Per-side cards report rows examined, distinct values, single-occurrence values, blanks ignored, uncached formula cells, and text/number/boolean composition. Repeated occurrences are grouped rather than expanded into pairwise output. Changing either side or a matching option requires a fresh preview.

Open the report

Open report creates a new unsaved report workbook with four sheets:

SheetContents
SummaryCompared columns, rows examined, blanks ignored, headers skipped, occurrence and distinct-value counts, duplicate occurrence counts, matching rules, warnings, and truncation state.
MatchesDistinct values present on both sides, with left/right counts and row references.
Left onlyDistinct values present only in the left column.
Right onlyDistinct values present only in the right column.

Report detail is limited to 10,000 distinct values per category so very large comparisons remain readable and responsive. Summary counts remain exact even when detail rows are truncated. Row references are compacted when a value occurs many times.

Safety and freshness

  • The operation is non-destructive. It does not edit or mark either source workbook dirty.
  • Before opening the report, XLTab verifies that the exact compared column data still matches the preview. If either compared column changed, closed, or became unavailable, XLTab asks for a fresh preview instead of opening stale results.
  • Hidden rows and columns are included in comparison data; the MVP report does not annotate hiddenness per matched value.

Current limitations

The first version intentionally does not provide fuzzy matching, multi-column composite keys, loose numeric-text coercion, closed-file folder comparison, or source-row highlighting. Those are possible follow-up workflows, but the current tool prioritizes accurate matching, manageable output, and responsive cancellation.