Double-entry in columns: three practice problems, solved step by step
Think of the books as one spreadsheet with five columns. Then work through three exam-style problems from a software company (a first month, a short payment with tax, and SaaS subscriptions) and check your answers.

The fastest way we know to make double-entry click is to stop thinking about "books" and think about one spreadsheet. Every row is one line of a journal entry. Every entry is two or more rows. And one formula at the bottom tells you whether you made a mistake.
Below is that sheet, then three problems of the kind you would meet in an exam or in your first month running a software company's accounts. Try each one on paper or in a spreadsheet before you open the answer.
Want to click instead of write? Open our ledger simulator: press an event like “Invoice a client” and watch the journal, the accounts and the equation update live.
The sheet: five columns
| Entry | Date | Account | Debit | Credit |
|---|---|---|---|---|
| 1 | 1 Jan | Bank | 5,00,000 | |
| 1 | 1 Jan | Owners' capital | 5,00,000 | |
| 2 | 3 Jan | Computers | 1,80,000 | |
| 2 | 3 Jan | Bank | 1,80,000 |
Three rules turn this sheet into a ledger:
- Every entry balances. For each entry number, the debit column and the credit column add up to the same amount. In a spreadsheet:
SUMIF(A:A, 1, D:D) = SUMIF(A:A, 1, E:E). - A balance is a filter and a sum. Bank's balance is the sum of its debits minus the sum of its credits.
SUMIF(C:C, "Bank", D:D) − SUMIF(C:C, "Bank", E:E). - The whole sheet balances. Total debits equal total credits. If they do not, an entry is wrong, and rule 1 tells you which.
Remember which side increases each type: assets and expenses go up with a debit; liabilities, equity and income go up with a credit.
Problem 1: a software company's first month
In January, a new company:
- Receives ৳5,00,000 from the owners into the bank.
- Buys laptops for ৳1,80,000 from the bank.
- Receives a ৳60,000 advance from Client A for work starting next month.
- Invoices Client B ৳2,00,000 for a finished website (not paid yet).
- Pays salaries of ৳1,20,000.
- Pays ৳8,000 for hosting by card from the bank.
Questions: (a) write the journal; (b) what is the bank balance? (c) what is January's profit? (d) does the trial balance agree?
Show the answer
| # | Account | Debit | Credit |
|---|---|---|---|
| 1 | Bank | 5,00,000 | |
| 1 | Owners' capital | 5,00,000 | |
| 2 | Computers | 1,80,000 | |
| 2 | Bank | 1,80,000 | |
| 3 | Bank | 60,000 | |
| 3 | Customer advances (liability) | 60,000 | |
| 4 | Accounts receivable | 2,00,000 | |
| 4 | Project revenue | 2,00,000 | |
| 5 | Salaries | 1,20,000 | |
| 5 | Bank | 1,20,000 | |
| 6 | Cloud hosting | 8,000 | |
| 6 | Bank | 8,000 |
(b) Bank = 5,00,000 − 1,80,000 + 60,000 − 1,20,000 − 8,000 = ৳2,52,000.
(c) Revenue 2,00,000 − salaries 1,20,000 − hosting 8,000 = ৳72,000 profit. The ৳60,000 advance is not revenue (no work delivered yet), and buying laptops is not an expense this month (they are an asset; depreciation comes later).
(d) Trial balance:
| Account | Debit | Credit |
|---|---|---|
| Bank | 2,52,000 | |
| Computers | 1,80,000 | |
| Accounts receivable | 2,00,000 | |
| Salaries | 1,20,000 | |
| Cloud hosting | 8,000 | |
| Owners' capital | 5,00,000 | |
| Customer advances | 60,000 | |
| Project revenue | 2,00,000 | |
| Total | 7,60,000 | 7,60,000 |
It agrees. The most common mistake here is booking the advance as revenue: profit becomes ৳1,32,000, and next month, when the work is done, there is nothing left to recognise.
Problem 2: a short payment with VAT and tax at source
You invoice ৳1,00,000 plus VAT at an example rate of 15%. The client deducts ৳10,000 advance income tax and the full VAT at source, and sends the rest by bank transfer. Their bank takes a ৳100 charge on the way.
Questions: (a) how much reaches your bank? (b) write the entry for the payment; (c) how much is your revenue?
Show the answer
(a) Invoice total 1,15,000 − AIT 10,000 − VAT 15,000 − charge 100 = ৳89,900.
| Account | Debit | Credit |
|---|---|---|
| Bank | 89,900 | |
| Bank charges | 100 | |
| AIT receivable | 10,000 | |
| VAT payable (paid by the client’s VDS) | 15,000 | |
| Accounts receivable | 1,15,000 | |
| Total | 1,15,000 | 1,15,000 |
(c) Revenue is still ৳1,00,000, booked when you invoiced. The payment only explains where the ৳1,15,000 receivable went: some to the bank, some to a tax asset, some to settle VAT, a little to charges.
Problem 3: subscriptions across two quarters
A school-management SaaS sells a yearly plan for ৳12,000, paid up front. On 1 January, 30 schools pay. On 1 April, 10 more schools pay.
Questions: (a) revenue for January–March; (b) revenue for April–June; (c) deferred revenue on 30 June.
Show the answer
Each school is worth ৳1,000 a month (12,000 ÷ 12).
(a) 30 schools × ৳1,000 × 3 months = ৳90,000.
(b) 30 × 1,000 × 3 = 90,000, plus 10 × 1,000 × 3 = 30,000, total ৳1,20,000.
(c) Received 3,60,000 + 1,20,000 = 4,80,000. Recognised so far 90,000 + 1,20,000 = 2,10,000. Deferred revenue = ৳2,70,000. Check another way: the January schools have 6 months left (30 × 6,000 = 1,80,000) and the April schools 9 months (10 × 9,000 = 90,000): 1,80,000 + 90,000 = 2,70,000. Two methods, one answer: that is the habit to build.
Turning this into software
Everything above is what a good finance system does for you, one row at a time: it refuses an entry that does not balance, keeps every line forever, and computes balances by summing lines. When we build finance software at MHD Soft, these practice problems double as our tests. If the system's trial balance and the hand-worked answer disagree, the system is wrong.
Building a finance system? Talk to us
At MHD Soft we build finance and accounting software with two kinds of people in the room: developers, and people who have done the accounts themselves, in agencies, factories, NGOs and shops. Their field experience decides how a screen should work; their feedback goes back into every release. That is how we keep systems correct (double-entry underneath, VAT and AIT handled, bKash and bank payments matched) while keeping the price within reach of a growing Bangladeshi business.
If you have a case that does not fit your current software, tell us about it. Odd cases are where we learn the most.


