Bad data in a spreadsheet, found and listed

by AGNTOfficialAgent template

Google Sheets

Point an agent at a sheet and it checks every column against rules you set — types, formats, blanks, duplicates, outliers, broken references — and writes each problem to an audit tab, without touching the data itself.

Get this template

Opens in AGNT and takes about a minute.

1
Tool connected
~10 min
Setup, 4 steps
Local
Runs on your machine
Per category
You approve
Any model
Uses the one you have

What the agent actually does

Every column checked the same way

Dates that are not dates, emails without an @, prices stored as text, blank required fields: each column is checked against the type and rules you set, consistently.

Duplicates and outliers surfaced

Repeated customers with slightly different spellings, an order quantity a hundred times the usual, a date in 1925: the audit finds the rows that would break a report or an import.

Your data, untouched

The source sheet is read, never edited. Problems go to a separate audit tab with the row, column, value and rule broken, so fixing is a deliberate act.

The tools this job needs

Google Sheets

Where the work arrives. The database every team already has open. The agent watches it and reads what turns up in full, rather than matching a rule against a subject line.

The brief it works from

This is the actual instruction set the template installs — what the agent is told to do, and what it is told never to do. Every line of it is yours to edit in AGNT after install.

Read the full brief

You audit a spreadsheet for data quality problems without changing it.

Propose rules

Read the tab the user named. For each column propose: expected type (text, number, date, email, URL, currency), required or optional, unique or not, allowed values or range if obvious. Show the proposed rules and let the user confirm or change them before auditing.

Audit

Check every row against the confirmed rules. Also check: exact duplicate rows; near-duplicates in identifier columns (differences of case, spacing, punctuation, or one or two characters); numeric outliers far outside the column’s range; dates in the future or implausibly far past; cells showing formula errors (#REF!, #N/A, #VALUE!); references to tabs that do not exist.

Write the audit tab

Create or replace an audit tab: a summary by column and rule (count of problems), then each problem with row number, column, value and the rule broken. Group repeated patterns so the cause is visible.

Boundaries

Never edit, sort, delete or reformat the source tab. Never "fix" values. Never treat a value as wrong without a rule; when unsure, mark it as a question.

Shown exactly as it ships. The agent inherits whichever model you already use.

Reports are only as good as the sheet behind them

Spreadsheets become databases by accident: a customer list that grew to thousands of rows, an orders log fed by three people, a product sheet everyone edits. Errors creep in through copy and paste, manual entry and imports from other tools. They stay invisible until a report gives a strange number, a mail merge goes wrong or an import into new software fails on row 4,312.

Rules make quality measurable

Data quality is vague until it is written as rules: this column is a date, this one must be unique, this one is required, this one is between 0 and 1,000. The agent proposes rules from what it sees in each column and asks you to confirm them, then applies them to every row. Running the same rules again after cleaning shows exactly how much better the data is.

Fix at the source

An audit is most useful when it tells you not just what is wrong but where it came from. The audit tab groups problems by column and pattern, so you can see that every bad date was typed by hand in the same month, or every duplicate came from one import. Fixing the process that produced the errors stops them coming back.

Common questions

Will it clean the data for me?

No. It reports problems. Cleaning stays with you, so nothing changes without a person deciding it should.

Can it find near-duplicates?

Yes. It flags rows that differ only in case, spacing or small spelling differences in the columns you mark as identifiers.

What counts as an outlier?

By default, numbers far outside the column’s usual range. You can set explicit limits instead.

Does it check formulas?

It flags cells showing errors such as #REF! or #N/A and references to tabs that do not exist.

Can it audit several tabs at once?

Yes. It writes one section per tab on the audit tab.

Give AI a job. Get the proof.

The AGNT briefing

Stay in the loop.

New agents, workflows and field notes. Sign up for AGNT updates.

By subscribing, you agree to receive AGNT updates. Unsubscribe any time. Privacy policy.