LocalExcelTool
Get started

Excel data validation formulas

The formula to paste into Data Validation for unique, list, number, date and email rules.

What is Excel data validation formulas

Data validation is a gate on what can be typed into a cell. It is driven by a formula or a source range, and getting that formula wrong is why validation 'does not work' — usually because the reference is relative where it needed to be absolute. Each rule here comes with the exact steps and the reason for its reference style.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

What each rule gates

Every rule is a formula or a source range that must evaluate TRUE for the entry to be accepted. The formulas here use absolute references ($A:$A) on purpose: a relative reference shifts per cell and silently validates the wrong row.

Why validation seems not to work

It only fires on new typing or pasting into the cells. Data already in the sheet is untouched, and a paste of a whole block can bypass it in some versions. Validation is a gate at the door, not a cleanup.

When not to use it

When you need the sheet to survive being edited by someone else's macro or an import. Those write straight to the cells. If the data arrives by import, validate after the import with a formula column instead. Write the error message as an instruction, not a complaint. "Enter a date after today" gets the entry fixed; "Invalid value" gets the cell cleared and retyped the same way.

How to use

  1. 1.Pick the rule you need.
  2. 2.Select the target cells, then Data → Data Validation.
  3. 3.Paste the formula as a Custom rule and set the error message.

How this compares

There are three ways to do this conversion: in the browser (this page), through a server-side converter, or with a desktop app. The useful difference is not speed — it is where your file goes and how far the free tier actually reaches.

AspectThis toolUpload-based converters
Where the file is processedIn your browser, on this pageOn the vendor's servers, after an upload
Account requiredNoUsually — free tiers ask you to sign in before lifting a limit
Size you can process for freeNo size cap, no run limitA few files per hour, or a ~5–10 MB cap before a paywall
PriceFree. Pro is $9/month, and only buys larger files and AI featuresUsually a subscription — roughly $7–15/month as of November 2026
Works offlineYes, once the page has loadedNo
Time before work starts on a 20 MB fileImmediate — there is nothing to uploadDominated by the upload — about 16 s on a 10 Mbps uplink
What it cannot preserveFormulas become their last computed value; merged cells and styles are droppedThe same — the conversion is the same maths

Server-side converters are genuinely better at some things: very large files, sharing results with a team, keeping a conversion history, and automating batches from a script. For the case in front of you — one file, one format change, right now — they mostly add an upload wait and a sign-up form.

Frequently asked questions

Why is my validation not stopping anything?

Three usual causes: the rule was applied to the wrong range, the formula used a relative reference that shifts per cell, or the data was already in the cells (validation only gates new entries).

Can validation remove existing bad rows?

No, and it never will. It evaluates as you type. Existing problems need Find & Select → Go To Special, or the cleanup tools in this section.

What this kind of conversion cannot keep

Spreadsheet conversion is lossy by nature: a workbook carries formulas, styles, merged cells and multiple sheets, while CSV carries rows of text. This tool keeps values and order, recalculates nothing, and drops presentation on purpose. That is why it can run without a server — and why a converted file will not look like the original.

More in Spreadsheets & Docs