Skip to content

Browser tool

Check empty cells and distinct values by column

See which columns contain empty text, only whitespace, or other text. Count distinct strings even when two columns have the same heading.

Inspect one table

Counts are by column position. A repeated or unnamed heading still has its own column.

Use UTF-8 text with one delimiter. Limits: 100,000 characters of input in total (some characters count as two), 2,000 data records and 64 columns.

Each data cell counts once: zero characters, whitespace only (including tabs and line breaks), or at least one other character. The non-empty total combines the last two counts. Distinct values count exact strings, including empty and whitespace-only strings. Case and spacing are kept.

With headers, counts start at the second record. Without headers, the first record is included.

Input 1

Enable JavaScript to use this tool in this tab.

Open a file, paste text or try the sample.

Choose the records to count

Open a file or paste a table. Choose its delimiter and indicate whether the first record contains headings. When it does, counts start with the next record. When it does not, the first record counts. Column numbers start at 1.

Read the three cell counts

An empty cell has zero characters. A whitespace-only cell contains at least one character and becomes empty when surrounding whitespace is stripped for this check. Every other cell contains some non-whitespace text. Each data record contributes once to each column, so those three counts add up to the record count. The nonempty subtotal includes both whitespace-only cells and cells with other text.

Compare distinct strings

Distinct values use the original text. An empty string counts as one distinct value when present, however many times it occurs. One space differs from two spaces; OK differs from ok. The text 007 differs from 7. No trimming or numeric conversion is applied to this count.

Trace a result back to the table

Use the column number to distinguish repeated headings or find an unnamed column. The CSV summary records the counts. The JSON report also includes the underlying cell strings so you can check the differences in context.

Continue with a check