See one card’s charges and refunds by category
Two fictional credit cards both appear as “Everyday card.” Pick an account ID to see its November spending. A refund lowers the category total. A payment between accounts stays out of spending.
If you just want to filter Tiller transactions by account and total them by category, start with the existing Transaction Report+ template. The exercise below adds separate charge and credit columns and flags rows that still need a category.
Compare the two cards
| Category | Charges | Credits | Net spend | Rows |
|---|
On card A, Food has a 45.00 charge and a 10.00 refund. The 48.00 card payment and the 30.00 income entry are outside the expense categories. Rows with missing or unrecognized categories stay visible for review.
Try it in a private Google Sheet
- Download the exercise workbook (.xlsx) and open it as a Google Sheet.
- Download the Apps Script (.gs). In the Sheet, open Extensions → Apps Script, paste the function and save.
- Copy the formula text in Start!B7 into Start!A11. The selector is B2, with inclusive dates in B3 and B4. Change B2 to
card-band the Food total should become 5.00.
Checking a marketplace deposit instead? Trace an Etsy sale from activity date to available funds in a six-row worksheet.
Reuse the function in a template
Download the complete MIT kit (.zip) for the source, workbook, two synthetic CSV files, instructions and license. The function reads only the supplied ranges and makes no external requests. A copied tab needs the function installed separately in its destination spreadsheet.
Keep the headers for Date, Account ID, Amount and Category in the transaction range, and Category and Type in the category range. Use the account’s exact ID and one currency with at most two decimal places. Eligible expenses include categories you might hide in other reports.
If you tried it in your own workbook or incorporated it into a template, tell us which step you reused. A description of the step is enough. Keep account IDs, balances and transaction rows private.
Which $75 market check cleared?
A stallholder wrote two $75 checks to Town Market. The first was dated November 3 and the second November 10. When a $75 debit arrived on November 11, GnuCash suggested the newer check. The paid-check reference showed 501, the older check.
Download the two GnuCash books, OFX statement and check references (.zip)
| Check | Date written | Amount | After matching |
|---|---|---|---|
| 501 | Nov 3 | $75 | Cleared |
| 502 | Nov 10 | $75 | Outstanding |
Open the first book and import the fictional statement into Assets → Shop checking. Double-click the proposed match. In our GnuCash 5.14 test the newer check scored 7 and the older check scored 5. Select November 3, then choose C in the matcher to preserve the date written. Save and reopen the register.
The book balance is $100. The statement balance is $175 because check 502 is still outstanding. Import the statement again and GnuCash recognizes the one transaction it already matched. START-HERE.txt walks through both passes. Compare the two candidate checks in Sheets using the included reference CSV. GnuCash import manual.