
成果範例
Spreadsheet template: invoice tracker for a small agency
Sheet layout — tab "Invoices"
| Column | Header | Filled by |
|---|---|---|
| A | Invoice # | You |
| B | Client | You (drop-down from tab "Clients") |
| C | Issue date | You |
| D | Amount | You |
| E | Payment terms (days) | Formula |
| F | Due date | Formula |
| G | Paid on | You (leave empty until paid) |
| H | Status | Formula |
| I | Days overdue | Formula |
Formulas (excerpt, 6 of 10)
E2 — payment terms from the client list
=IFERROR(VLOOKUP(B2, Clients!A:C, 3, FALSE), 30)
Looks up the client's terms in the "Clients" tab; if the client isn't there, uses 30 days.
F2 — due date
=IF(C2="", "", C2 + E2)
Adds the terms to the issue date. Stays empty for blank rows.
H2 — status
=IF(C2="", "", IF(G2<>"", "Paid", IF(TODAY()>F2, "Overdue", "Open")))
Paid if a payment date is entered; otherwise Overdue after the due date, else Open.
I2 — days overdue
=IF(H2="Overdue", TODAY() - F2, "")
Dashboard!B2 — total outstanding
=SUMIFS(Invoices!D:D, Invoices!H:H, "<>Paid", Invoices!C:C, "<>")
Dashboard!A5 — balance by client (one formula fills the table)
=QUERY(Invoices!B:H, "select B, sum(D) where H <> 'Paid' and B is not null group by B order by sum(D) desc label sum(D) 'Owed'", 1)
Where to paste
- Put E2, F2, H2 and I2 in row 2 of "Invoices", then drag down to row 500
- Paste the two Dashboard formulas once; they update by themselves
- Conditional formatting on H2:H500: text is "Overdue" → light red fill
Edge cases handled
- Partly paid invoice: add a row with the remaining amount and a new number like INV-041b
- Client renamed: change it only in "Clients"; the drop-down keeps rows consistent
- Excel instead of Sheets: all formulas work except QUERY; use a PivotTable on columns B, D, H instead
Check example
Invoice INV-038, client Northside Dental, issued Sep 1, terms 14 days → due Sep 15. Today Oct 20, not paid → Overdue, 35 days.
Client: a 4-person video production studio. Tool: Google Sheets. Task: "We lose track of who has paid. We need one sheet that shows overdue invoices and how much each client owes."
客戶與所有細節皆為虛構。
關於此服務
VBA 巨集能在幾秒內完成您每週在 Excel 手動重複的事:合併多個活頁簿的工作表、依經理把報表拆成多個檔案、清理會計系統匯出的資料,或每次都用相同方式整理報表格式。我們針對您的活頁簿撰寫巨集、為每個步驟加上註解,並說明如何存成啟用巨集的檔案、加到按鈕上,以及先在副本上安全執行。它可在 Windows 版桌面 Excel 執行,Mac 版則有少數限制,我們會一併說明。
包含內容
- 您將獲得附註解的 VBA 程式碼、加入活頁簿與按鈕的步驟,以及它會更動哪些內容的說明。以文字交付,供您貼進 VBA 編輯器。
- 把您的步驟寫成巨集針對您的活頁簿版面撰寫
- 跨檔案作業合併或拆分資料夾中的活頁簿
- 執行按鈕放在工作表或快速存取工具列
- 錯誤處理顯示清楚的訊息,而不是當機
- 設定表單進階版提供:執行前選擇選項
服務流程
- 1需求說明您列出重複的步驟
- 2程式碼我們撰寫巨集並加上註解
- 3安裝您加入後先在副本上測試
需要您提供的資料
您目前重複的步驟、工作表的截圖、您的 Excel 版本與 Windows 或 Mac,以及大約要處理多少列或多少檔案。文件也可以用 PDF、Word 或 Excel 檔案附上。
我們會詢問您:
- 您使用哪個 Excel 版本?Windows 還是 Mac?
- 您目前手動做哪些事?請逐步說明。
- 巨集要處理一個活頁簿,還是一個資料夾的檔案?
- 有多少列或多少個檔案?
比較方案
付款保障
下單時付款,但只有在驗收成果後,款項才會撥付。
- 固定價格付款後,方案價格不會變動。
- 款項先行保留付款時,金額只會先保留,在您驗收後才會撥付給服務。
- 交付前檢查每份成果在交到您手上之前都會經過品質檢查,您也可以在驗收前於訂單頁面查看成果。
- 免費修改在需求說明範圍內,可依方案允許的次數提出修改。
- 3 天後自動驗收若您在交付後 3 天內未驗收也未提出修改,成果將自動驗收。若您在交付後於訂單聊天室留言,訂單會暫停自動驗收;我們回覆後,可能會重新起算 3 天,並會在聊天室中告知。
- 重新製作或全額退款若成果不符合您的需求說明且修改後仍未改善,或製作時間超過交付期限的兩倍,請在訂單聊天室留言:我們將重新製作,或全額退還款項。
常見問題
能在 Excel 網頁版或 Google Sheets 使用嗎?
不能,VBA 只能在桌面版 Excel 執行。Google Sheets 請改訂購我們的 Apps Script 服務。
開啟檔案時 Excel 顯示安全性警告,這正常嗎?
正常,Excel 對任何啟用巨集的檔案都會警告。我們會說明如何為這個檔案啟用,或把它所在的資料夾加入信任位置。
可以復原巨集所做的事嗎?
無法用 Ctrl+Z 復原,所以我們一律建議先在副本上執行新的巨集。必要時,巨集可以在開始前先儲存備份。
沒有找到您要的答案?