Analysis

Find the Best Key Column in a Spreadsheet

Score spreadsheet columns by completeness and uniqueness to identify likely employee, invoice, asset or transaction keys.

Processing boundary: text and files are handled only for this request. Original files are not overwritten. Generated CSV downloads use expiring private tokens.

What this tool does

Choosing the wrong key can make a reconciliation appear successful while joining unrelated records. Key Column Finder examines each column’s non-blank rate and normalized uniqueness, then combines those measures into an explainable score. A nearly complete, fully unique identifier such as Employee Code or Invoice Number usually ranks above names, departments or statuses. The recommendation is a data-quality signal rather than a business guarantee, and the result explicitly identifies columns that may be better suited as one part of a future composite key.

How to use it

  1. Upload the dataset.
  2. Review columns sorted by key score.
  3. Confirm the top candidate with the data owner and inspect duplicate or blank values before matching.

Limitations and review points

A technically unique column may still be an unstable key, such as a row number generated during export. Business ownership and persistence must be confirmed separately.

Frequently asked questions

What creates a high key score?

A column needs both a high non-blank rate and a high unique-value rate.

Can a name column be a key?

Usually not; names can repeat and change. Stable codes are safer.

What if no column scores well?

The dataset may require a composite key using two or more fields in Delivery 2.

Related spreadsheet tools

Compare Two CSV or XLSX Files

Compare two spreadsheet files using a selected key and group records into matched, missing, duplicate and conflicting buckets.

Find Duplicate Rows

Find every repeated key in a CSV, TSV or XLSX file and export the affected rows for review or correction.

Spreadsheet Column Profiler

Profile column types, blanks, uniqueness, maximum text length and sample values before mapping or importing a dataset.