Cellwise Try it free

Excel for your field

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.

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.

ABCDEFGH
1DateBank descriptionVendorCategoryBank amountBooked amountKeywordCategory
2Oct 1, 2026ACH DEPOSIT STRIPE TRANSFERStripeSales48204820STRIPESales
3Oct 2, 2026POS ADOBE *CREATIVE CLDAdobeSoftware-89.99-89.99ADOBESoftware
4Oct 5, 2026CHECK 1042Harbor PropertiesRent-2400-2400GOOGLESoftware
5Oct 7, 2026POS STAPLES 0441StaplesOffice supplies-146.32-146.32STAPLESOffice supplies
6Oct 9, 2026ACH DEPOSIT STRIPE TRANSFERStripeSales3615.53615.5POWERUtilities
7Oct 12, 2026POS ADOBE *CREATIVE CLDAdobeSoftware-89.99-89.99SERVICE FEEBank fees
8Oct 14, 2026ONLINE PMT PACIFIC POWERPacific PowerUtilities-212.47-214.27
9Oct 19, 2026POS GOOGLE *WORKSPACEGoogleSoftware-43.2-43.2Opening balance8312.4
10Oct 22, 2026ACH DEPOSIT CLIENT PMT INV 2291Client paymentSales1950Office supplies budget150
11Oct 30, 2026MONTHLY SERVICE FEEBankBank fees-15Flag variances over0.1
12Oct 30, 2026POS STAPLES 0441StaplesOffice 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".

=INDEX(H2:H7,MATCH(TRUE,ISNUMBER(SEARCH(G2:G7,B8)),0))

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.

=SUMIFS(E2:E12,F2:F12,"")

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.

=MOD(ROUND((SUM(E2:E12)-SUM(F2:F12)-SUMIFS(E2:E12,F2:F12,""))*100,0),9)

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.

=-SUMIFS(E2:E12,D2:D12,"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.

=COUNTIFS(C2:C12,C7,E2:E12,E7)

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.

=-SUMIFS(E2:E12,D2:D12,"Office supplies")/H10-1

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.

=H9+SUM(E2:E12)

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.

  1. 1What was the total money in (deposits) for the month?

    Show answer

    =SUMIF(E2:E12,">0") = 10385.5. Only positive amounts are deposits: 4,820 + 3,615.50 + 1,950.

  2. 2What was the total money out, shown as a positive number?

    Show answer

    =-SUMIF(E2:E12,"<0") = 3055.07. Payments are negative in the bank export, so flipping the sign gives a figure a client can read.

  3. 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.

  4. 4How much was spent with Staples this month, as a positive number?

    Show answer

    =-SUMIFS(E2:E12,C2:C12,"Staples") = 204.42. Both Staples lines are added (146.32 + 58.10) and the sign is flipped.

  5. 5Categorize the description in B4 using the rules in G2:H7, showing "Review" when no keyword matches.

    Show answer

    =IFERROR(INDEX(H2:H7,MATCH(TRUE,ISNUMBER(SEARCH(G2:G7,B4)),0)),"Review") = Review. "CHECK 1042" contains none of the keywords, so MATCH fails and IFERROR shows "Review": checks need a person to say what they paid for.

  6. 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.

  7. 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.

  8. 8Show "Explain" if office supplies ran more than the threshold in H11 over the budget in H10, otherwise "OK".

    Show answer

    =IF(-SUMIFS(E2:E12,D2:D12,"Office supplies")/H10-1>H11,"Explain","OK") = Explain. Office supplies ran 36% over against a 10% threshold, so the line needs a note.

Free templates for bookkeeping

Guided project: Month-end accruals

Work out which October costs need accruing because no invoice has arrived, total them, and write the journal memo.

5 steps in the Cellwise app. Each step checks your formula in a real grid, with hints when you get stuck. Part of Cellwise Plus.

Open guided projects

Guides for these formulas

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

Updated