andreworia/data-cleaning-for-excel

ペーストまたはエクスポートされた、混合形式、空白行、重複を含むデータを、分析にすぐ使えるクリーンで一貫した形式の範囲に変換します。生データをワークシートに貼り付けた直後に使用します。

data-cleaning-for-excel とは?

このスキルは、Excel ワークシートに貼り付けたりインポートしたりした直後の、形式が混在し重複や空白行を含む生データを、クリーンで一貫性のある分析可能な範囲に変換します。具体的には、同一列内のテキスト数値と実数、異なる日付形式、不統一な大文字小文字などの不一致を特定し修正します。また、正確な重複行を特定して削除し、空白セルを真のゼロと欠損値に区別して一貫性を持たせ、余分な空白をトリミングし、同じ意味を持つカテゴリラベルを正規化します。テキスト形式の数値や日付を適切な Excel 型に変換することで、ピボットテーブルや数式で正しく扱えるようにし、各変更の変更履歴を生成して監査可能性を確保します。Claude Code、Cursor、Codex など、ファイルアクセスとコード実行が可能な AI エージェント向けに設計されています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/andreworia/claude-excel-skills/tree/main/skills/data-cleaning-for-excel

Installed? Explore more 生産性&コラボレーション skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Excel 向けデータクリーニング

使用するタイミング

生データを貼り付けたりインポートしたり、CSV をエクスポートしたり、他のシステムからコピーしたり、ドキュメントからテーブルをコピーした直後、ピボットテーブルや数式を構築する前に使用します。

手順

  1. 同じ列内の不整合な形式(実数に隣接するテキスト数値、異なる日付形式、一貫性のない大文字小文字)を特定します。
  2. 重複している行を正確に特定して削除またはフラグを付け、重複を定義するために使用したルールを明記します。
  3. 空白セルを標準化します:真のゼロと欠損値を区別し、それぞれを一貫して処理します。
  4. 余分な空白をトリミングし、明らかに同じものを指している不統一なカテゴリラベルを正規化します。
  5. テキスト形式の数値と日付を適切な Excel 型に変換し、数式で使用できるようにします。
  6. 何が変更されたかを、可能な限り行ごとに報告し、クリーニングが監査可能なようにします。

プロンプトの例

  • 「このペーストした CSV をピボットする前に、data-cleaning-for-excel スキルを使ってください。」
  • 「エクスポートされた顧客リストをクリーンアップしてくれ。日付が3つの異なる形式になっている。」

出力

クリーニングされ、一貫性のある形式の範囲に加え、標準化、削除、または変換された内容を説明する短い変更履歴。

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

andreworia/assumption-registry-builder

Creates a structured assumption register for any Excel model with columns for name, category, base value, source, Bull/Bear values, sensitivity rank, and owner, plus a formula for computing sensitivity rank from Data Table outputs.

andreworia/formula-audit-checker

Provides a systematic audit checklist for Excel model formula logic, hardcoded values, circular references, and error handling, with step-by-step instructions for using Excel's native auditing tools.

andreworia/inputs-calcs-outputs-design

Enforces the three-tab separation principle for any Excel model, producing a full design for a dedicated Inputs tab, one or more Calculations tabs, and a clean Outputs tab with a conventions checklist.

andreworia/model-architecture-template

Defines the master tab structure, naming conventions, color codes, number formats, and print area setup for any new strategy or finance Excel model, serving as the structural template before any content is added.

andreworia/output-summary-tab

Designs the executive summary tab of an Excel model with KPI tiles, a narrative block, a sensitivity summary, and an assumption log, formatted for print or screenshot use in a board pack.

andreworia/pivot-table-builder

Specifies and builds a pivot table from a flat data range, choosing rows, columns, values, and filters. Use it when you have raw tabular data and need a summary view without building it cell by cell.

andreworia/revenue-build

Builds a driver-based revenue forecast .xlsx with live formulas across separate drivers, build, and output tabs plus checks, rolling a customer or units schedule (beginning, adds, churn, ending) into revenue with Base/Bull/Bear scenario toggles. Use when someone needs a bottom-up revenue model, an ARR build, or a driver-based forecast for planning or a board deck. Do not trigger for editing an existing workbook through the Claude for Excel add-in.

andreworia/scenario-manager

Builds a Base/Bull/Bear scenario switching layer for a model in a .xlsx with a live selector, CHOOSE or INDEX assumption links, a side-by-side output comparison, and a recalc check, then delivers the workbook. Use when someone wants an auditable scenario toggle instead of Excel's hidden Scenario Manager. Do not trigger for editing an existing workbook through the Claude for Excel add-in.

andreworia/sensitivity-tables

Builds one- and two-variable sensitivity (Data Table) analysis on a model output in a .xlsx with live formulas and a recalc check, then delivers the workbook. Use when someone wants to see how an output (NPV, IRR, EPS, margin) moves as one or two inputs change. Do not trigger for editing an existing workbook through the Claude for Excel add-in.

andreworia/sensitivity-tornado

Ranks variable sensitivities to a key output and builds a tornado chart by swinging each input over a defined range, computing output impact, and producing a horizontal bar chart data structure.

andreworia/unit-economics

Builds a unit-economics and cohort .xlsx with live formulas across separate assumptions, cohort, and output tabs plus checks, computing CAC, LTV, LTV/CAC, and CAC payback from a monthly cohort retention grid. Use when someone needs unit economics, an LTV/CAC analysis, a payback model, or a cohort retention build. Do not trigger for editing an existing workbook through the Claude for Excel add-in.

関連スキル