Codex use case
Clean and prepare messy data
Process tabular data without affecting the original.
Drag in or mention a messy CSV or spreadsheet, describe the problems you see, and ask ChatGPT to write a cleaned copy while keeping the original file unchanged.
Best for
- CSV or spreadsheet exports with mixed dates, currencies, duplicates, summary rows, or missing values.
- Teams who work with data from multiple sources.
Contents
Clean and prepare messy data
Process tabular data without affecting the original.
Drag in or mention a messy CSV or spreadsheet, describe the problems you see, and ask ChatGPT to write a cleaned copy while keeping the original file unchanged.
Drag in or mention a messy CSV or spreadsheet, describe the problems you see, and ask ChatGPT to write a cleaned copy while keeping the original file unchanged.
Related links
Best for
- CSV or spreadsheet exports with mixed dates, currencies, duplicates, summary rows, or missing values.
- Teams who work with data from multiple sources.
Skills & Plugins
- SpreadsheetInspect tabular files, clean columns, and produce reviewable outputs.
| Skill | Why use it |
|---|---|
| Spreadsheet | Inspect tabular files, clean columns, and produce reviewable outputs. |
Starter prompt
Introduction
ChatGPT is great at cleaning systematically tabular data. When a CSV or spreadsheet has mixed dates, duplicate rows, currency strings, blank cells, aliases, or pasted summary rows, ask ChatGPT to clean a copy and leave the original file unchanged.
How to use
- Drag the file into ChatGPT or mention it in your prompt, such as
@customer-export.csv. - Describe the problems you already see.
- Tell ChatGPT what the cleaned version should be: CSV, spreadsheet tab, or upload-ready file.
- Review the cleaned copy before using it.
Use the starter prompt on this page for the first cleaning pass. Replace the file name and bullets with your own. The useful details are the problems you already see and the file you need next: a cleaned CSV, a clean spreadsheet tab, or an upload-ready file. After ChatGPT writes the clean copy, open the cleaned file and the data-quality note from the task before using the data downstream.
Related use cases
Query tabular data
Use ChatGPT with a CSV, spreadsheet, dashboard export, Google Sheet, or local data file to...
Turn feedback into actions
Connect ChatGPT to multiple data sources such as Slack, GitHub, Linear, or Google Drive to...
Analyze KPI root causes
Give ChatGPT KPI dashboards, metric definitions, exports, segment cuts, launch context, and...