Documents and Office

How to Check a Spreadsheet for Data Entry Errors with Validation Rules

Define validation rules per column, find duplicates, bad dates, out-of-range numbers and typos in CSV or Excel files, fix them and send a clear report.

Saizul Amin
Saizul Amin2 Nov 2026 · 4 min read
How to Check a Spreadsheet for Data Entry Errors with Validation Rules

How to Check a Spreadsheet for Data Entry Errors with Validation Rules

Every spreadsheet that people type into collects mistakes. A member number missing its dash, an email address without a domain, a birth year in the age column, a status spelled three different ways. Each one is small, but together they break lookups, mail merges, imports into other systems and the totals in your reports. The fix is not to stare at the sheet harder. It is to write down what valid data looks like, once, and let a checker apply those rules to every row.

Start by describing each column

For every column, ask a few questions. Must it always be filled in? Is it text, a whole number, a decimal, a date, an email, a web address, a phone number or a yes/no answer? Are there limits, such as ages between 16 and 110 or dates after the start of the year? Does it have to come from a short list, such as Gold, Silver and Bronze? Does it follow a fixed shape, such as two letters, a dash and four digits? Must every value be unique, like an ID or an email address?

Those answers are your validation rules. In the Data Entry Validation Rules Builder each column has a panel where you tick and type them. If you would rather not start from a blank page, press Suggest rules. The tool reads the existing values and proposes a type, a required flag, a short list of allowed values for columns with few distinct entries, and uniqueness for ID-like columns. Treat the suggestions as a draft: they describe the data as it is, mistakes included, so tighten them where you know better.

Patterns without learning regex

Codes are where most typos hide, and regular expressions are where most people give up. The builder uses a simpler pattern language that matches how people already describe codes. A 9 stands for any digit, an A for any letter, an X for either, a question mark for any single character and an asterisk for any run of characters. Everything else must appear exactly. So A-9999 describes M-1001, AA99 9AA describes many UK postcodes, and INV-* accepts any invoice number with that prefix. If a code really contains the digit 9 or the letter A, put a backslash in front of it.

Reading the results

Once the rules are set, every cell that breaks one turns red, and the reason appears when you hover over it or tap it. The counters show how many problems there are, how many rows they affect and how many rows are clean. On a long sheet, switch on the option to show only rows with problems and the task shrinks to a short list.

Duplicates deserve special care. When a column is marked unique, the second and later occurrences are flagged with a note naming the earlier row, so you can decide which one is right rather than deleting blindly. Matching ignores case and spaces at the ends, because M-1003 and m-1003 are almost always the same thing typed twice.

Fixing or reporting

If you own the data, fix it in place. Tap a red cell, correct the value in the box below the grid and watch the cell turn white the moment it passes. Every edit can be undone. Export all rows with your fixes when you are done.

If someone else owns the data, send them a report rather than a corrected file. The problem report lists row number, column, value and reason for every issue, using the same row numbers as their spreadsheet. The Excel export is even friendlier: their own data with bad cells filled red, a Problems column on each row, a full list of issues on a second sheet and the rules themselves on a third, so they know what is expected next time.

Make the rules a habit

Save the rule set as a small file and share it with everyone who supplies the sheet. Load it each month when the new export arrives, and the check takes seconds. The tool also remembers rules for files with the same headers, so recurring checks need no setup at all. Over a few months the number of red cells usually falls, because people start typing the data the way the rules describe it.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages