Excel for bookkeepers and accountants
For bookkeepers and accountants who spend month-end tying a bank feed to the books for several clients at once. Your accounting software holds the ledger, but Excel is where you match, check and explain: which bank lines are not booked, why the difference is $1.80, which bills are overdue, and why office supplies ran 36% over budget. Every formula below runs on one month of a client's bank feed placed next to what was booked.
- Freelance and firm bookkeepers
- Staff accountants closing the month
- Office managers who keep the books
- Owners reviewing their bookkeeper's work
Sample data
Every result on this page comes from this sheet, calculated by the same engine the Cellwise app uses. Change a number and watch the formulas react.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Date | Bank description | Vendor | Category | Bank amount | Booked amount | Keyword | Category |
| 2 | Oct 1, 2026 | ACH DEPOSIT STRIPE TRANSFER | Stripe | Sales | 4820 | 4820 | STRIPE | Sales |
| 3 | Oct 2, 2026 | POS ADOBE *CREATIVE CLD | Adobe | Software | -89.99 | -89.99 | ADOBE | Software |
| 4 | Oct 5, 2026 | CHECK 1042 | Harbor Properties | Rent | -2400 | -2400 | Software | |
| 5 | Oct 7, 2026 | POS STAPLES 0441 | Staples | Office supplies | -146.32 | -146.32 | STAPLES | Office supplies |
| 6 | Oct 9, 2026 | ACH DEPOSIT STRIPE TRANSFER | Stripe | Sales | 3615.5 | 3615.5 | POWER | Utilities |
| 7 | Oct 12, 2026 | POS ADOBE *CREATIVE CLD | Adobe | Software | -89.99 | -89.99 | SERVICE FEE | Bank fees |
| 8 | Oct 14, 2026 | ONLINE PMT PACIFIC POWER | Pacific Power | Utilities | -212.47 | -214.27 | ||
| 9 | Oct 19, 2026 | POS GOOGLE *WORKSPACE | Software | -43.2 | -43.2 | Opening balance | 8312.4 | |
| 10 | Oct 22, 2026 | ACH DEPOSIT CLIENT PMT INV 2291 | Client payment | Sales | 1950 | Office supplies budget | 150 | |
| 11 | Oct 30, 2026 | MONTHLY SERVICE FEE | Bank | Bank fees | -15 | Flag variances over | 0.1 | |
| 12 | Oct 30, 2026 | POS STAPLES 0441 | Staples | Office supplies | -58.1 | -58.1 |
What Excel does for bookkeeping
Categorize bank lines from a keyword list
Bank descriptions are messy: "POS ADOBE *CREATIVE CLD", "ONLINE PMT PACIFIC POWER". Instead of reading each one, keep a small rules table of keywords and categories (G2:H7 here) and let a formula find the first keyword that appears anywhere in the description.
SEARCH(G2:G7,B8) looks for every keyword inside B8 and returns a position where it finds one and an error where it does not. ISNUMBER turns that into TRUE and FALSE, MATCH finds the first TRUE, and INDEX returns that rule's category. In Excel 365 it works as typed; in Excel 2019 and earlier, confirm it with Ctrl+Shift+Enter.
Two gotchas. The first matching rule wins, so put specific keywords above general ones. And short keywords match too much: "FEE" would also match "COFFEE", which is why the rule here is "SERVICE FEE".
Result: Utilities
Utilities: the keyword POWER appears in "ONLINE PMT PACIFIC POWER". Wrap it in IFERROR(...,"Review") so lines with no matching rule, like "CHECK 1042", are flagged for a person instead of showing #N/A.
Find bank lines that never made it into the books
The first pass of any bank reconciliation: what does the bank show that the books do not? Here the Booked amount column is blank where nothing was recorded. SUMIFS with an empty-text criteria ("") adds the bank amount only on those rows.
Usual suspects are bank fees, interest, customer payments that went straight to the bank, and automatic debits nobody told you about. COUNTBLANK(F2:F12) tells you how many lines there are.
Result: 1935
1,935: a $1,950 client deposit and a $15 service fee are in the bank but not in the books. Booking those two lines clears most of the difference.
Catch transposed digits (the divisible-by-9 check)
After you book the missing lines, a small difference often remains. The classic cause is two digits keyed in the wrong order, like 214.27 typed for 212.47. A transposition always leaves a difference that divides evenly by 9 once you count it in cents, so the check is a quick MOD.
The formula takes the total difference between bank and books, removes the unbooked lines found above, turns the leftover into cents and divides by 9. A remainder of 0 means: go looking for a swapped pair of digits. It is a clue, not proof, since plenty of other differences are also multiples of 9 cents.
Result: 0
0: the leftover difference is 1.80, or 180 cents, which is 20 x 9. Row 8 is the culprit: the bank paid 212.47 and the books say 214.27.
Total spending by category, the right way round
Bank exports usually show money out as negative numbers. SUMIFS adds them as they are, so a category total comes back negative. Put a minus in front of SUMIFS to report spending as a positive number, which is what clients expect to read.
Matching on the cleaned Category column (not the raw bank text) means "Adobe" and "Google" both land in Software.
Result: 223.18
223.18 spent on software in October: two Adobe charges of 89.99 and Google Workspace at 43.20.
Spot possible duplicate payments
Paying the same bill twice is one of the most expensive mistakes in bookkeeping, and it hides easily in a long feed. COUNTIFS on vendor and amount counts how many rows look like this one. Anything above 1 deserves a look.
Add the month or the invoice number as a third condition when you can. A monthly subscription legitimately repeats every month, so the same vendor and amount in different months is normal; in the same month it usually is not.
Result: 2
2: Adobe charged 89.99 on October 2 and again on October 12. Either the client has two seats or one is a duplicate. Ask before you book it as an expense.
Budget vs actual with a variance threshold
Clients do not need every variance explained, only the ones that matter. Work out actual spending, compare it with budget, and flag lines that run more than your threshold over (H11 holds 10% here; agree the number with the client or your manager).
Divide actual by budget and subtract 1 to get the variance as a percentage. A positive number means over budget on a cost line.
Result: 0.3628 shows as 36.3% with Percent format
36.3% over: $204.42 of office supplies against a $150 budget, well above the 10% threshold, so this line gets a note in the month-end pack.
Prove the closing bank balance
The bank balance at month end should equal the opening balance plus every line in between. If your running total disagrees with the statement, a line is missing from the export or was downloaded twice, and it is far better to find that now than halfway through the reconciliation.
SUM over a signed amount column handles money in and money out in one go.
Result: 15642.83
15,642.83: the $8,312.40 opening balance plus $10,385.50 in and $3,055.07 out. Compare it with the closing balance printed on the statement.
Practice: 8 exercises
Use the sample data above. Type a formula and press Check: it is graded by a real spreadsheet engine, the way Cellwise grades lessons. Solved: 0
-
1What was the total money in (deposits) for the month?
Show answer
=SUMIF(E2:E12,= 10385.5. Only positive amounts are deposits: 4,820 + 3,615.50 + 1,950.">0") -
2What was the total money out, shown as a positive number?
Show answer
=-SUMIF(E2:E12,= 3055.07. Payments are negative in the bank export, so flipping the sign gives a figure a client can read."<0") -
3How many bank lines have not been booked yet?
Show answer
=COUNTBLANK(F2:F12)= 2. COUNTBLANK counts truly empty cells (and empty text), so it finds the two lines missing from the books. -
4How much was spent with Staples this month, as a positive number?
Show answer
=-SUMIFS(E2:E12,= 204.42. Both Staples lines are added (146.32 + 58.10) and the sign is flipped.C2:C12, "Staples") -
5Categorize the description in B4 using the rules in G2:H7, showing "Review" when no keyword matches.
-
6How many booked lines disagree with the bank amount? Ignore lines that are not booked.
Show answer
=SUMPRODUCT((F2:F12<>"")*(E2:E12<>F2:F12))= 1. Only row 8 is booked with a different amount, so the count is 1. -
7What is the closing bank balance, starting from the opening balance in H9?
Show answer
=H9+SUM(E2:E12)= 15642.83. Deposits are positive and payments negative, so one SUM moves the balance correctly. -
8Show "Explain" if office supplies ran more than the threshold in H11 over the budget in H10, otherwise "OK".
Free templates for bookkeeping
- Bank reconciliation templateFor bookkeepers and owners who reconcile a bank account each month and want the working on one page.Free .xlsx
- Accounts payable tracker templateFor bookkeepers and office managers who need to see, on one page, what the business owes and what has to be paid this week.Free .xlsx
Guided project: Month-end accruals
Guides for these formulas
- SUMIFS with multiple criteria in Excel
- How to compare two columns in Excel
- How to find duplicates in Excel
- If a cell contains text, return a value in Excel
- How to use INDEX MATCH in Excel
- How to use IFERROR in Excel
- How to calculate percent change in Excel
- SUMIF returning 0 or not working: causes and fixes
FAQ
What Excel skills does a bookkeeper need?
SUMIFS and COUNTIFS for totals and checks by vendor, category and date, a lookup (XLOOKUP, or INDEX and MATCH) to map vendors or keywords to categories, IF and IFERROR for flags, ROUND so cents add up, and text functions like TRIM and SEARCH for cleaning bank descriptions. Pivot tables help with quick summaries too.
How do I compare a bank statement with my books in Excel?
Put both lists side by side and use COUNTIFS to check whether each bank amount (and date, if they match exactly) appears in the ledger: a 0 means not booked. For lines you have already paired up, a column with bank minus booked shows keying errors, and a difference that divides by 9 cents points to transposed digits.
Why does SUMIFS return a negative number for expenses?
Bank and card exports usually show money out as negative amounts, and SUMIFS adds the values exactly as they are. Put a minus sign in front (=-SUMIFS(...)) to report spending as a positive number, or use ABS on the total.
Can Excel replace my accounting software?
For a very small business with few transactions, a careful spreadsheet can work, but accounting software gives you double-entry checks, audit trails and reports your accountant expects. Most bookkeepers use both: the software for the ledger, Excel for reconciliations, reviews and client reports.
Excel for other fields
- Auto repair
- Cleaning services
- Construction and trades
- Event planning
- Farms and growers
- Fitness and habits
- Freelancers
- Home and family
- HR and people ops
- Marketing
- Medical office
- Nonprofits
- Personal finance and taxes
- Project management
- Real estate
- Restaurants
- Retail and ecommerce
- Sales teams
- Salons and spas
- Small business
- Students
- Teachers
- Warehouse and logistics
Updated