audit-xls
Audit a spreadsheet for formula accuracy, errors, and common mistakes. Scopes to a selected range, a single sheet, or the entire model (including financial-model integrity checks like BS balance, cash tie-out, and logic sanity). Triggers on "audit this sheet", "check my formulas", "find formula errors", "QA this spreadsheet", "sanity check this", "debug model", "model check", "model won't balance", "something's off in my model", "model review".
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o audit-xls.zip https://jpskill.com/download/22493.zip && unzip -o audit-xls.zip && rm audit-xls.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/22493.zip -OutFile "$d\audit-xls.zip"; Expand-Archive "$d\audit-xls.zip" -DestinationPath $d -Force; ri "$d\audit-xls.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
audit-xls.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
audit-xlsフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[スキル名] audit-xls
スプレッドシートの監査
数式とデータが正確で間違いがないか監査します。範囲によって深さが決まります。選択範囲の簡単な数式チェックから、財務モデル全体の整合性監査まで行います。
ステップ1:範囲の決定
ユーザーがすでに範囲を指定している場合は、それを使用します。そうでない場合は、ユーザーに尋ねてください。
どの範囲を監査しますか?
- selection — 現在選択されている範囲のみ
- sheet — 現在アクティブなシートのみ
- model — ワークブック全体。財務モデルの整合性チェック(貸借対照表のバランス、キャッシュの整合性、繰越、ロジックの健全性)を含む
model 範囲は最も深く、DCF、LBO、3ステートメント、合併、比較、または統合された財務モデルをクライアントやICに送る前に使用します。
ステップ2:数式レベルのチェック(すべての範囲)
範囲に関係なく、これらを実行します。
| チェック項目 | 確認事項 |
|---|---|
| 数式エラー | #REF!, #VALUE!, #N/A, #DIV/0!, #NAME? |
| 数式内のハードコード | =A1*1.05 — 1.05 はセル参照であるべきです |
| 一貫性のない数式 | 行/列の隣接する数式のパターンを破る数式 |
| 範囲のずれ | SUM/AVERAGE が最初または最後の行を見落としている |
| 貼り付けられた数式 | 数式のように見えるが、実際にはハードコードされた値であるセル |
| 循環参照 | 意図的または偶発的 |
| 壊れたシート間リンク | 移動または削除されたセルへの参照 |
| 単位/スケールの不一致 | 千単位と百万単位が混在している、パーセンテージが整数で格納されている |
| 非表示の行/タブ | 上書きまたは古い計算が含まれている可能性があります |
ステップ3:モデル整合性チェック(MODEL範囲のみ)
範囲が model の場合、モデルタイプ(DCF / LBO / 3ステートメント / 合併 / 比較 / カスタム)を特定し、以下の適切な整合性チェックを実行します。
3a. 構造レビュー
| チェック項目 | 確認事項 |
|---|---|
| 入力/数式の分離 | 入力と計算が明確に分離されていますか? |
| 色の慣例 | 青=入力、黒=数式、緑=リンク — またはモデルが使用する慣例が、一貫して適用されていますか? |
| タブの流れ | 論理的な順序(Assumptions → IS → BS → CF → Valuation)ですか? |
| 日付ヘッダー | すべてのタブで一貫していますか? |
| 単位 | 一貫していますか(千単位 vs 百万単位 vs 実績値)? |
3b. 貸借対照表
| チェック項目 | テスト |
|---|---|
| BSバランス | 総資産 = 総負債 + 自己資本(すべての期間) |
| 利益剰余金繰越 | 期首利益剰余金 + 純利益 − 配当金 = 期末利益剰余金 |
| のれん/無形資産 | 買収仮定からの流れ(M&Aの場合) |
BSがバランスしない場合、期間ごとのギャップを定量化し、どこで崩れるかを追跡してください — これが修正されるまでは、他の何も重要ではありません。
3c. キャッシュフロー計算書
| チェック項目 | テスト |
|---|---|
| キャッシュの整合性 | CF期末現金 = BS現金(すべての期間) |
| CF合計 | CFO + CFI + CFF = Δ現金 |
| 減価償却費の一致 | CF上の減価償却費 = IS上の減価償却費 |
| 設備投資の一致 | CF上の設備投資 = BS上のPP&E繰越と一致 |
| 運転資本の変化 | BSの動きと符号が一致(Δ売掛金、Δ買掛金、Δ棚卸資産) |
3d. 損益計算書
| チェック項目 | テスト |
|---|---|
| 収益構成 | セグメント/製品の詳細と一致 |
| 税金 | 税費用 = 税引前利益 × 税率(繰延税金調整を考慮) |
| 株式数 | 希薄化スケジュール(オプション、転換社債、自社株買い)と一致 |
3e. 循環参照
- 金利 → 負債残高 → 現金 → 金利は、LBO/3ステートメントモデルで一般的な意図的な循環です
- 意図的な場合:反復トグルが存在し、機能することを確認します
- 意図的でない場合:ループを追跡し、それを解消する方法を指摘します
3f. ロジックと妥当性
| チェック項目 | 次の場合にフラグを立てる |
|---|---|
| 成長率 | 説明なしに100%を超える収益成長 |
| マージン | 業界標準の範囲外 |
| ターミナルバリューの優位性 | TV > DCF EVの約75%(イエローフラグ) |
| ホッケースティック | 予測が将来の年度で非現実的に急上昇する |
| 複利効果 | EBITDAが10年目までに不合理な金額に複利で増加する |
| エッジケース | モデルが0%またはマイナス成長、マイナスEBITDA、レバレッジがマイナスで破綻する |
3g. モデルタイプ固有のバグ
DCF:
- 割引率が間違った期間に適用されている(期中 vs 期末)
- ターミナルバリューが割り引かれていない
- WACCが市場価値ではなく帳簿価額を使用している
- FCFに支払利息が含まれている(アンレバードであるべき)
- 税シールドが二重計上されている
LBO:
- 負債返済がキャッシュスイープのメカニズムと一致しない
- PIK利息が元本に計上されていない
- 経営陣のロールオーバーがリターンに反映されていない
- イグジットマルチプルが間違ったEBITDAに適用されている(LTM vs NTM)
- 手数料/費用がDay 1の自己資本から差し引かれていない
Merger:
- 希薄化/希薄化が間違った株式数を使用している(取引前 vs 取引後)
- シナジーが段階的に導入されていない
- 買収価格配分がバランスしない
- 現金に対する放棄された利息が含まれていない
- 取引手数料が資金源と使途に含まれていない
3-statement:
- 運転資本の変化の符号が間違っている
- 減価償却費がPP&Eスケジュールと一致しない
- 負債償還スケジュールが元本返済と一致しない
- 配当金が説明なしに純利益を超える
ステップ4:レポート
発見事項の表を出力します。
| # | シート | セル/範囲 | 重要度 | カテゴリ | 問題 | 提案される修正 |
|---|
重要度:
- Critical — 間違った出力(BSがバランスしない、数式が壊れている、キャッシュが一致しない)
- Warning — リスクがある(ハードコード、一貫性のない数式、エッジケースの失敗)
- Info — スタイル/ベストプラクティス(色分け、レイアウト、命名)
model 範囲の場合、要約行を前に追加します。
モデルタイプ: [DCF/LBO/3-stmt/...] — 全体: [クリーン / 軽微な問題 / 重大な問題] — [N]件のクリティカル、[N]件の警告、[N]件の情報
尋ねずに何も変更しないでください — まず報告し、要求に応じて修正してください。
注記
- BSバランスが最優先 — バランスしない場合、下流のすべてが疑わしいです
- ハードコードされた上書きは、サイレントバグの最大の原因です — 積極的に検索してください
- 符号の慣例エラー(キャッシュアウトフローの正負)は非常に一般的です
- モデルがVBAマクロを使用している場合、数式だけでは監査できないマクロ駆動の計算に注意してください
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Audit Spreadsheet
Audit formulas and data for accuracy and mistakes. Scope determines depth — from quick formula checks on a selection up to full financial-model integrity audits.
Step 1: Determine scope
If the user already gave a scope, use it. Otherwise ask them:
What scope do you want me to audit?
- selection — just the currently selected range
- sheet — the current active sheet only
- model — the whole workbook, including financial-model integrity checks (BS balance, cash tie-out, roll-forwards, logic sanity)
The model scope is the deepest — use it for DCF, LBO, 3-statement, merger, comps, or any integrated financial model before sending to a client or IC.
Step 2: Formula-level checks (ALL scopes)
Run these regardless of scope:
| Check | What to look for |
|---|---|
| Formula errors | #REF!, #VALUE!, #N/A, #DIV/0!, #NAME? |
| Hardcodes inside formulas | =A1*1.05 — the 1.05 should be a cell reference |
| Inconsistent formulas | A formula that breaks the pattern of its neighbors in a row/column |
| Off-by-one ranges | SUM/AVERAGE that misses the first or last row |
| Pasted-over formulas | Cell that looks like a formula but is actually a hardcoded value |
| Circular references | Intentional or accidental |
| Broken cross-sheet links | References to cells that moved or were deleted |
| Unit/scale mismatches | Thousands mixed with millions, % stored as whole numbers |
| Hidden rows/tabs | Could contain overrides or stale calculations |
Step 3: Model-integrity checks (MODEL scope only)
If scope is model, identify the model type (DCF / LBO / 3-statement / merger / comps / custom) and run the appropriate integrity checks below.
3a. Structural review
| Check | What to look for |
|---|---|
| Input/formula separation | Are inputs clearly separated from calculations? |
| Color convention | Blue=input, black=formula, green=link — or whatever the model uses, applied consistently? |
| Tab flow | Logical order (Assumptions → IS → BS → CF → Valuation)? |
| Date headers | Consistent across all tabs? |
| Units | Consistent (thousands vs millions vs actuals)? |
3b. Balance Sheet
| Check | Test |
|---|---|
| BS balances | Total Assets = Total Liabilities + Equity (every period) |
| RE rollforward | Prior RE + Net Income − Dividends = Current RE |
| Goodwill/intangibles | Flow from acquisition assumptions (if M&A) |
If BS doesn't balance, quantify the gap per period and trace where it breaks — nothing else matters until this is fixed.
3c. Cash Flow Statement
| Check | Test |
|---|---|
| Cash tie-out | CF Ending Cash = BS Cash (every period) |
| CF sums | CFO + CFI + CFF = Δ Cash |
| D&A match | D&A on CF = D&A on IS |
| CapEx match | CapEx on CF matches PP&E rollforward on BS |
| WC changes | Signs match BS movements (ΔAR, ΔAP, ΔInventory) |
3d. Income Statement
| Check | Test |
|---|---|
| Revenue build | Ties to segment/product detail |
| Tax | Tax expense = Pre-tax income × tax rate (allow for deferred tax adj) |
| Share count | Ties to dilution schedule (options, converts, buybacks) |
3e. Circular references
- Interest → debt balance → cash → interest is a common intentional circ in LBO/3-stmt models
- If intentional: verify iteration toggle exists and works
- If unintentional: trace the loop and flag how to break it
3f. Logic & reasonableness
| Check | Flag if |
|---|---|
| Growth rates | >100% revenue growth without explanation |
| Margins | Outside industry norms |
| Terminal value dominance | TV > ~75% of DCF EV (yellow flag) |
| Hockey-stick | Projections ramp unrealistically in out-years |
| Compounding | EBITDA compounds to absurd $ by Year 10 |
| Edge cases | Model breaks at 0% or negative growth, negative EBITDA, leverage goes negative |
3g. Model-type-specific bugs
DCF:
- Discount rate applied to wrong period (mid-year vs end-of-year)
- Terminal value not discounted back
- WACC uses book values instead of market values
- FCF includes interest expense (should be unlevered)
- Tax shield double-counted
LBO:
- Debt paydown doesn't match cash sweep mechanics
- PIK interest not accruing to principal
- Management rollover not reflected in returns
- Exit multiple applied to wrong EBITDA (LTM vs NTM)
- Fees/expenses not deducted from Day 1 equity
Merger:
- Accretion/dilution uses wrong share count (pre- vs post-deal)
- Synergies not phased in
- Purchase price allocation doesn't balance
- Foregone interest on cash not included
- Transaction fees not in sources & uses
3-statement:
- Working capital changes have wrong sign
- Depreciation doesn't match PP&E schedule
- Debt maturity schedule doesn't match principal payments
- Dividends exceed net income without explanation
Step 4: Report
Output a findings table:
| # | Sheet | Cell/Range | Severity | Category | Issue | Suggested Fix |
|---|
Severity:
- Critical — wrong output (BS doesn't balance, formula broken, cash doesn't tie)
- Warning — risky (hardcodes, inconsistent formulas, edge-case failures)
- Info — style/best-practice (color coding, layout, naming)
For model scope, prepend a summary line:
Model type: [DCF/LBO/3-stmt/...] — Overall: [Clean / Minor Issues / Major Issues] — [N] critical, [N] warnings, [N] info
Don't change anything without asking — report first, fix on request.
Notes
- BS balance first — if it doesn't balance, everything downstream is suspect
- Hardcoded overrides are the #1 source of silent bugs — search aggressively
- Sign convention errors (positive vs negative for cash outflows) are extremely common
- If the model uses VBA macros, note any macro-driven calculations that can't be audited from formulas alone