Free

Step-by-step plan

Clean and merge spreadsheets

Merge spreadsheets, remove exact duplicates and show uncertain rows separately. Preserve the source files.

Prepare the source spreadsheets and explain which records count as the same. We will review uncertain matches separately.

Paste the prompts in order into Codex or Work with access to these materials.

Step 1. Define a record

Explain what one row represents: an order, product or transaction. This determines which records can be combined and which fields identify the same record.

Find the task materials and fill the bracketed fields yourself from them.
For the files in [folder], clarify what one row represents and which fields identify a record. Agree on output columns and control totals for each currency separately.

Step 2. Check source formats

Check a few rows after reading the file: dates, amounts and IDs such as 0001. Keep the file name and original row so each correction can be traced back.

Find the task materials and fill the bracketed fields yourself from them.
Read the selected files in [folder]. Identify columns, dates, encodings and delimiters. Work on copies; retain each record's source filename and row number.

Step 3. Agree on cleanup rules

Agree on rules for duplicates and empty values first. The same name does not always mean a duplicate; a missing amount is unknown, while zero is a known value.

For this step

Find the task materials and fill the bracketed fields yourself from them.
Agree on rules for duplicates, missing values and conflicts in [spreadsheets]. Distinguish missing data from zero. Set aside conflicting records with the same key instead of choosing one arbitrarily.

Step 4. Test a small sample

Use a small copy containing a duplicate, blank and conflict. Review the kept and flagged rows before removing anything across all files.

Find the task materials and fill the bracketed fields yourself from them.
Test an exact duplicate, conflict, missing field, zero and invalid date on a small copy of [data]. Show row counts and control totals before processing the full set.

Step 5. Process the files

After a successful trial, process the selected files with the same rules. Save the result and disputed rows separately; keep the originals for checking and recovery.

Find the task materials and fill the bracketed fields yourself from them.
Process the selected files using [agreed rules]. Save the result, exact duplicates, conflicts and errors separately. Keep the originals unchanged.

Step 6. Reconcile the result

Reconcile input row counts with the result and separate problem lists. Compare totals by currency; every difference should be explained by specific rows rather than silently disappearing.

Reconcile input rows with accepted rows, duplicates, conflicts and errors. Check dates, units and totals separately by currency. Show records needing my decision; apply only accepted fixes.

Step 7. Test a repeat run

Run the same files again; the output should not double. Add one sample record afterwards and check that it appears exactly once.

Find the task materials and fill the bracketed fields yourself from them.
Run the same [files] again and compare the result. Add one new sample record and check that it appears once without duplicating existing records.

Step 8. Open and save the output

Result and next step

Result: a merged spreadsheet and separate lists of duplicates, conflicts and errors.

Next: Turn a spreadsheet into a clear report.

Find the task materials and fill the bracketed fields yourself from them.
Reopen the saved output files in [folder]. Check columns, rows and control figures. Save the rules and rerun instructions so another chat can continue.

What to try next

Saved