用一個 SUMIFS 按類別統計總支出,毋須樞紐分析表
Total spending by category with one SUMIFS — no pivot table needed
小型商店可在概覽工作表中,為每個類別設定一個 SUMIFS,按類別統計總支出,毋須使用樞紐分析表。交易表加入月份欄後,可透過更改一個儲存格切換月份。範例中,33 筆交易涵蓋 10 個類別,庫存支出為 15,100,000 VND,佔總支出 29,880,000 VND 的 50.5%。
Small shops often track income and expenses in one long list, then wonder where the money went. A pivot table works, but there is a lighter way: one SUMIFS per category on an Overview sheet.
Set it up like this:
- A Transactions sheet with Date, Description, Category, Amount — one row per transaction.
- An Overview sheet listing each category once, with a SUMIFS that adds Amount where Category matches.
- Add a Month column to the transactions and include it in the SUMIFS, so switching months is one cell change.
In my November 2026 sample — 33 transactions across 10 categories — inventory alone is 15,100,000 VND out of 29,880,000 VND total spending (50.5%). Total income 40,640,000 VND, profit 10,760,000 VND (26.5%). One number shows which category eats the most, without opening a pivot table.
Two habits keep it honest: pick the category when you type the transaction, not at month-end; and keep the category list short — 10 is enough for a small shop.
How do you total spending by category — SUMIFS, pivot table, or by hand?
Disclosure: this post was drafted with AI assistance and reviewed by the author.
來源:DEV Community · dev.to