Loading...
Loading...
Clean up messy spreadsheet data — trim whitespace, fix inconsistent casing, convert numbers-stored-as-text, standardize dates, remove duplicates, and flag mixed-type columns. Use when data is messy, inconsistent, or needs prep before analysis. Triggers on "clean this data", "clean up this sheet", "normalize this data", "fix formatting", "dedupe", "standardize this column", and "this data is messy".
npx skill4agent add fivetaku/claude-office-skills clean-data-xlspython3 -c "import openpyxl" 2>/dev/null || python3 -m pip install openpyxlrange.valuesrange.formulas = [["=TRIM(A2)"]].xlsxopenpyxlA1:F200| Issue | What to look for |
|---|---|
| Whitespace | Leading/trailing spaces, double spaces |
| Casing | Inconsistent casing in categorical columns like |
| Number-as-text | Numeric values stored as text; stray |
| Dates | Mixed formats in the same column like |
| Duplicates | Exact-duplicate rows and near-duplicates caused by case or whitespace differences |
| Blanks | Empty cells in otherwise-populated columns |
| Mixed types | A column that is mostly numbers but has a few text entries |
| Encoding | Mojibake, non-printing characters |
| Errors | |
| Column | Issue | Count | Proposed Fix |
|---|
=TRIM(A2)=VALUE(SUBSTITUTE(B2,"$",""))=UPPER(C2)=DATEVALUE(D2)