技能 excel-formula-wizard
📦

excel-formula-wizard

安全

從白話描述產生 Excel 公式與巨集

許多人會花數小時搜尋正確的 Excel 公式或 VBA 語法。此技能可在數秒內將你的白話需求轉換成可用的公式、巨集和樞紐分析表設定。

支援: Claude Codex Code(CC)
🥈 80 白銀
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「excel-formula-wizard」。 計算超過 D 欄銷售目標的員工 10% 獎金,否則顯示零。

預期結果:

在獎金欄使用此公式:

=IF(D2>TARGET, D2*0.1, 0)

將 TARGET 替換為你的實際目標儲存格參照或數值。向下拖曳填滿控點即可套用到所有列。

正在使用「excel-formula-wizard」。 建立一個巨集,使用今天日期作為檔名來儲存目前的活頁簿。

預期結果:

以下是使用今天日期儲存活頁簿的 VBA 巨集:

Sub SaveWithDate()
Dim fileName As String
fileName = "Report_" & Format(Date, "yyyy-mm-dd") & ".xlsx"
ActiveWorkbook.SaveAs fileName
MsgBox "Saved as: " & fileName
End Sub

從「開發人員」索引標籤執行此巨集,或將它指定給按鈕。

正在使用「excel-formula-wizard」。 我需要根據銷售資料建立樞紐分析表,以查看依地區與月份彙總的總營收。

預期結果:

建議的樞紐分析表配置:

• 列:Region,然後是 Date(依 Month 分組)
• 欄:(無)
• 值:Revenue 的加總
• 篩選:Product category(選用)

Excel 中的步驟:
1. 選取你的資料範圍
2. 插入 → PivotTable
3. 將 'Region' 拖曳到列
4. 將 'Date' 拖曳到列,然後按一下右鍵並依 Month 分組
5. 將 'Revenue' 拖曳到值,並確認其設定為 Sum

安全審計

安全
v1 • 5/21/2026

Static analysis flagged two high-severity patterns that are both false positives. The 'weak cryptographic algorithm' alert at line 4 is a misidentification of the Chinese word '公式' (meaning 'formula') in the skill description. The 'high file entropy' alert at line 1 is caused by UTF-8 encoded Chinese text, which naturally produces higher byte-level entropy than ASCII. The skill contains only descriptive markdown with no executable code, network requests, or file system operations.

1
已掃描檔案
34
分析行數
2
發現項
1
審計總數
低風險問題 (2)
Weak Cryptographic Algorithm - False Positive
Static analyzer flagged 'weak cryptographic algorithm' at line 4 of SKILL.md. This is a false positive caused by Chinese characters ('公式' meaning 'formula') in the description field. No cryptographic algorithms are present in the skill.
High File Entropy - False Positive
Static analyzer reported high file entropy (6.25 bits) suggesting possible binary or encrypted content. This is a false positive caused by UTF-8 encoded Chinese characters, which naturally produce higher byte-level entropy than ASCII text. The file is plain markdown.
審計者: claude

品質評分

55
架構
100
可維護性
87
內容
65
社群
100
安全
91
規範符合性

你能建構什麼

使用複雜查找建立財務模型

財務分析師描述跨多工作表的查找需求,並取得依其資料結構量身打造的 VLOOKUP、INDEX/MATCH 或 XLOOKUP 公式。

使用 VBA 自動化每月報表

小型企業主描述重複性的格式設定與圖表製作任務,並取得可自動化整個工作流程的 VBA 巨集。

為銷售儀表板設計樞紐分析表

資料分析師描述銷售指標與維度,並取得包含建議欄位、篩選條件和值彙總方式的樞紐分析表配置。

試試這些提示

簡單公式請求
I have a column of dates in column A and sales amounts in column B. I need a formula to calculate the total sales for dates in March 2024.
VBA 巨集自動化
Write a VBA macro that loops through all sheets in the workbook, copies the header row from each sheet, and pastes them into a new 'Summary' sheet.
樞紐分析表設定
I have sales data with columns: Date, Region, Product, Quantity, Revenue. Create a pivot table that shows total revenue by region and product, with a monthly date filter.
含條件的進階巢狀公式
I need a single formula that checks if a cell contains a valid email format, returns the domain if valid, and marks it as 'INVALID' otherwise. Include error handling for empty cells.

最佳實務

  • 清楚描述你的資料版面配置,包括欄位名稱和範圍
  • 如果需要向下相容的公式,請註明你的 Excel 版本
  • 一律先在資料副本上測試產生的公式

避免

  • 不要在提示中分享敏感財務資料
  • 避免在缺乏背景資訊時提出像「修好我的試算表」這類模糊請求
  • 未經檢閱前,不要執行來自不受信任來源的 VBA 巨集

常見問題

此技能支援哪些 Excel 版本?
此技能會產生與 Excel 2016 及更新版本相容的公式。它預設使用廣泛支援的函數,並可在你指定 Excel 版本時調整為適用於舊版。
此技能可以編輯我現有的 Excel 檔案嗎?
不行。此技能會以文字形式產生公式和巨集。你必須自行複製並貼到 Excel 中。這能保護你的檔案,並讓你保有完整控制權。
它支援 Google Sheets 公式嗎?
可以。當你在請求中提到 Google Sheets 時,此技能會改用 Google Sheets 語法和函數產生公式,而不是 Excel。
我可以取得公式運作方式的說明嗎?
可以。請要求此技能逐步說明公式。它會拆解每個函數,並顯示各部分如何連結。
如果公式傳回錯誤怎麼辦?
分享錯誤訊息並描述你的資料。此技能可以診斷像 #VALUE!、#REF! 和 #N/A 這類常見錯誤,並建議修正後的公式。
執行 VBA 巨集程式碼安全嗎?
此技能會針對你的特定請求產生 VBA 程式碼。執行前一律先檢閱程式碼。請先在活頁簿副本上測試。此技能無法在你的檔案中執行程式碼。

開發者詳情

檔案結構

📄 SKILL.md