Clean a messy sheet with AI

Find the duplicate. Keep the missing value visible.

Phone or PC · 6 sample rows

Example

Known completed amount

310 units

3 counted orders

100 + 60 + 150
Checks for all six original rows. Only rows marked Counted contribute to the total.
OrderAmountCheck
101, sample row 1100Counted
102, sample row 260Counted
103, sample row 3150Counted
102, sample row 460Duplicate
104, sample row 5MissingUnresolved
105, sample row 690Cancelled

Order 104 stays unresolved. A missing amount is not zero.

Checked sample, not a live AI result.

Sample included. Paste into your AI chat.

Use my text

Use the fictional sample first. Do not paste private customer or financial data. This page does not upload or save your text. Copying puts it on your clipboard.

Read the prompt

Quick steps 4
  1. Give AI the small practice sheet

    Download the six-row CSV. Open it once in a text viewer or spreadsheet. Upload it to an assistant with file analysis, such as Gemini, or paste its complete text into the chat if file upload is unavailable.

    Keep the original file unchanged. Use only this fictional sample until you know what data your chosen service may receive.

  2. Ask it to clean the rows with explicit rules

    Paste the prompt below. A chart is not the goal yet; an explainable clean table is.

  3. Check 310 before trusting the report

    The accepted order IDs are 101, 102 and 103. Their amounts are 100, 60 and 150, so the known completed total is 310. Order 104 has no amount: its contribution is unknown, not zero. Order 105 is cancelled. The second 102 row is an exact duplicate.

  4. Turn it into a small, honest report

    Save the accepted CSV and an exceptions table. Write: Known completed amount = 310 units across 3 valid orders; one completed order still has an unknown amount. Add a chart only if it helps the reader decide something.

    On a real sheet, check a small sample and recompute the final totals in a spreadsheet before sharing. Do not let an AI suggestion overwrite the original.

Checks & limits

Your sample result should have accepted IDs 101–103, a known total of 310 and an unresolved amount for 104. If the AI includes the cancelled order, counts 102 twice or invents the missing amount, correct the result before continuing.

Do I need paid spreadsheet AI?

No paid service is required by this guide. File analysis availability and limits depend on the assistant and account. If upload is blocked, paste this small sample as text; do not buy a plan just for the exercise.

Will this teach Excel or Python?

This is an AI-assisted checking workflow, not a replacement for learning formulas or programming. The existing Excel and pandas paths remain available when you want reproducible calculations on larger data.

Did you test the AI-generated answer?

The sample's expected rows and arithmetic are locally tested. The selected AI product's generated output is not yet tested; compare its answer with the visible checks.

Sources & original projects

Reviewed 2026-10-08. Prompts and examples are Forasm originals; linked repositories have not been installed here.

Try next

Turn sources into a checked briefAutomate one repetitive task