Trial balance and journals: practice exercises
Debit and credit columns, checking a trial balance, journal batches that must net to £0, errors that cancel out, listing the bad batches by size, mapping nominal codes to the accounts. 6 exercises on real-looking data, each marked the moment you press Check. The first exercise is below to try now; the full lesson is part of Pro.
The ledger export gives each balance as one number: debits are plus and credits are minus. Column D already shows the debits. In E2, show each credit balance as a plus number in the Credit column, and 0 for a debit balance.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Code | Account | Balance | Debit | Credit |
| 2 | 20 | Office equipment | £321.67 | £321.67 | |
| 3 | 50 | Motor vehicles | £2,610.12 | £2,610.12 | |
| 4 | 1100 | Debtors control | £20,202.73 | £20,202.73 | |
| 5 | 1200 | Bank current account | £11,268.80 | £11,268.80 | |
| 6 | 1230 | Petty cash | £6,379.37 | £6,379.37 | |
| 7 | 2100 | Creditors control | -£20,022.53 | £0.00 | |
| 8 | 2200 | VAT | -£2,327.77 | £0.00 | |
| 9 | 2210 | PAYE and NI | -£1,584.82 | £0.00 | |
| 10 | 3000 | Capital | -£89,723.18 | £0.00 | |
| 11 | 3100 | Drawings | £7,417.35 | £7,417.35 | |
| 12 | 7000 | Wages | £19,221.42 | £19,221.42 | |
| 13 | 7200 | Electricity | £16,475.90 | £16,475.90 | |
| 14 | 7500 | Stationery | £10,535.85 | £10,535.85 | |
| 15 | 7900 | Bank charges | £19,225.09 | £19,225.09 |
How it works
A trial balance lists every nominal account with its balance in a debit or credit column. Every entry has a debit and a credit of the same amount, so the two columns should add up to the same total. If they don't, something was keyed wrongly.
Adjustments go in through journals: small batches of lines that must each net to £0. A check on the total of all journals isn't enough, because one batch £250 over and another £250 under add up to £0. Look at each batch, and at the size of each error.
=MAX(0,C2) =MAX(0,-C3) =SUM(D2:D6)-SUM(E2:E6) =SUMIFS($D$2:$D$60,$A$2:$A$60,G2)-SUMIFS($E$2:$E$60,$A$2:$A$60,G2) =SUMPRODUCT(ABS(H2:H7)) =XLOOKUP(A2,$F$2:$F$8,$G$2:$G$8,,-1)
Debits and credits
Every entry in the books has a debit and a credit of the same amount. Assets and costs usually have debit balances: the bank, debtors, purchases, rent. Liabilities, capital and income usually have credit balances: creditors, a loan, sales.
Accounts software often exports each balance as one number, with debits as plus and credits as minus. To split it into the two columns of a trial balance: =MAX(0,C2) for the debit and =MAX(0,-C2) for the credit. The minus turns a credit into a plus number, and MAX gives 0 when it's on the other side.
Worked example: a trial balance
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Code | Account | Balance | Debit | Credit |
| 2 | 1200 | Bank current account | £4,250.00 | ||
| 3 | 2100 | Creditors control | -£1,830.00 | ||
| 4 | 4000 | Sales | -£9,400.00 | ||
| 5 | 5000 | Purchases | £4,380.00 | ||
| 6 | 7100 | Rent and rates | £2,600.00 | ||
| 7 | Total |
=MAX(0,C2)in D2. The plus balances go in the Debit column: the bank, purchases and rent.=MAX(0,-C2)in E2. The minus balances go in the Credit column as plus numbers: creditors £1,830 and sales £9,400.=SUM(D2:D6)-SUM(E2:E6)in D7. Debits £11,230 and credits £11,230: the difference is £0.00, so it balances.
When it doesn't balance
The difference is the debits total take away the credits total: =SUM(D2:D16)-SUM(E2:E16). Two clues help find the cause:
- A difference that divides exactly by 9 often means two digits were swapped: £4,380 keyed as £4,830 is out by £450, which is 9 × 50.
- A balance put on the wrong side makes the difference twice its size: half the difference may be an amount in the list.
To test whether it balances, round first: =IF(ROUND(SUM(D2:D16)-SUM(E2:E16),2)=0,"Balances","Doesn't balance"). Computers store pennies such as 0.10 as very slightly off, so a total of many of them can come out as 0.0000000001 rather than 0. ROUND to 2 places takes that away.
Journals, and errors that cancel out
A journal is a batch of adjusting lines, such as an accrual or a correction, and each one must net to £0: its debits the same as its credits. SUMIFS gives each journal's net: =SUMIFS(debits,journal,G2)-SUMIFS(credits,journal,G2). Run the ranges to the bottom of the space left, such as row 40, so new lines are counted.
Checking that all the journals together net to £0 isn't enough. If J202 is £250 over and J205 £250 under, the total is still £0. Add up the size of each net instead: =SUMPRODUCT(ABS(H2:H7)) gives £500. To list the bad ones, biggest first, filter the ones whose size is more than 0 and sort by the size column: =SORT(FILTER(A2:C9,C2:C9>0),3,-1).
Nominal codes and the accounts
Nominal codes come in bands, and each band is a line of the accounts. In this course's chart of accounts, codes from 0 are fixed assets, 1000 current assets, 2000 liabilities, 3000 capital (all on the balance sheet), and 4000 income, 5000 cost of sales and 7000 overheads (the profit and loss account). Your business's chart may differ.
Put the band starts in a table and look up each code with XLOOKUP's match mode -1, which takes the band whose start the code has reached: =XLOOKUP(A2,$G$2:$G$8,$H$2:$H$8,,-1). Code 7100 is in the 7000 band: Overheads.
What you'll practise
- The ledger export gives each balance as one number: debits are plus and credits are minus. Column D already shows the debits. In E2, show each credit balance as a plus number in the Credit column, and 0 for a debit balance.
- This trial balance doesn't balance. In H1, work out the difference: the total of the debits take away the total of the credits.
- Each journal must net to £0: its debits the same as its credits. In H2, work out the net of the journal in G2, the debits take away the credits. More journal lines will be added below, so cover rows 2 to 40. Your formula will be copied down to H7.
- The net of all the journals in H1 is £0.00, so they look fine. But one journal is £250 over and another £250 under. In H2, add up the size of every journal's net, ignoring whether it's plus or minus, so errors like these can't hide.
- Column C shows the size of each journal's net with ABS. In E2, list the journals that don't net to £0, with their net and size, biggest error first, whether it's over or under.
- Nominal codes come in bands: every code from the one in column G up to the next band is on that line of the accounts. In D2, look up the line for each account's code.
Guides with worked examples: Bank reconciliation in Excel: matching the cash book to the statement · Accruals and prepayments in Excel: spreading a bill over the months · Excel for AAT: practise for the spreadsheet tasks on any computer