Templates

Khata Book Excel Template: Free Download with Formulas

A free Excel khata with an udhar khata, a supplier khata, a cash book and a daily sales record, where every balance is worked out for you. There is also a printable khata register in English with Urdu or Hindi.

Quick answer

A khata book Excel template is a ready-made spreadsheet for keeping udhar and shop accounts on a computer. Ours is free and has seven sheets: Customer Khata, Customer Balances, Supplier Khata, Supplier Balances, Cash Book, Daily Sales and a Summary. You type the date, name and amount, and formulas work out each customer’s balance, what you owe suppliers and your cash in hand. It works in Excel, Google Sheets, LibreOffice and WPS Office. If you would rather write by hand, download the printable khata register PDF below.

Key takeaways

  • Type only in the white cells. The grey cells have formulas and fill themselves in.
  • Write each customer’s name the same way every time, or their balance is split in two.
  • Filter the Customer column to see one customer’s khata page with a running balance.
  • Back up the file every week. A lost laptop or phone takes the Excel file with it.

Download the free khata book Excel template

The template is one Excel file (.xlsx, about 100 KB). You can download, edit, print and share it for free, without signing up. It does not use macros, so Excel does not show a security warning when you open it.

Download the khata book Excel template (.xlsx)

Inside the file:

SheetUse it forWorked out for you
Customer KhataEvery udhar you give and every payment you receive, one line eachThe customer’s balance after each line
Customer BalancesOne line per customer, with their phone number and an optional credit limitTotal given, total received, balance, and “Over limit” in red
Supplier KhataGoods you take on credit from wholesalers, and the payments you makeWhat you still owe that supplier after each line
Supplier BalancesOne line per supplierTotal taken, total paid, and what you owe each one
Cash BookYour roznamcha: all cash in and cash out, in date orderCash in hand after every line
Daily SalesOne line per day: cash, mobile or bank, and udhar sales, plus shop expensesTotal sales per day and totals for the sheet
SummaryYour numbers on one screenTo receive, to pay, cash in hand, sales and expenses

Amounts have no currency sign, so the same file works for rupees, afghani, taka or dirhams. Each khata sheet has room for 500 entries. When you need more, select the last row and drag it down; the grey formula cells copy with it.

Printable khata register (PDF)

Prefer pen and paper? These are A4 khata register pages to print and fill in by hand. Each PDF has four pages: a customer khata page, a supplier khata page, a cash book page and a month of daily sales. Print as many copies as you need, and staple or file them into a register.

  • Printable customer khata page with English and Urdu headings: date, details, udhar diya, jama and balance

    English + Urdu

    کھاتہ رجسٹر
    4 pages, A4

  • Printable customer khata page with English and Hindi headings: date, details, udhar diya, jama and balance

    English + Hindi

    खाता रजिस्टर
    4 pages, A4

The columns follow the standard khata book format: date, details, given, received and balance, with a line at the top to bring the balance forward from the last page and one at the bottom to carry it to the next.

How to start using the template

  1. Add your names first. Type each customer’s name in Customer Balances (column A) and each supplier’s name in Supplier Balances. Add a phone number and, if you like, a credit limit.
  2. Carry over old balances. If you are moving from a paper khata, add one line per customer in Customer Khata with the details “Opening balance” and what they owe today in Udhar diya.
  3. Record every udhar and payment as it happens. Type the date, pick the name from the drop-down list, write what was bought or how it was paid, and put the amount in Udhar diya (given) or Wapas mila (received), never both on one line.
  4. Clear the examples. The orange rows show how the sheets work. Select those orange cells and press Delete before you start; leave the grey cells alone.
  5. Check the Summary once a day. It shows what customers owe you, what you owe suppliers and how much cash should be in the galla.

To look at one customer’s khata page, click the filter arrow on the Customer heading and choose their name. You see only their entries, with the balance after each one, just like a page in a paper khata. Choose “Select all” to see everyone again.

Customer ledger format in Excel (udhar khata)

Most templates give each customer a separate sheet. That gets slow when you have fifty customers. This template keeps all customers in one list and works out each customer’s own running balance. Here is how the first rows look:

DateCustomerDetailsUdhar diyaWapas milaCustomer balance
01-NovAhmadOpening balance from paper khata2,0002,000
03-NovAhmad10 kg flour, 2 kg sugar2,4004,400
04-NovBilalCooking oil 5 L2,9502,950
10-NovAhmadCash payment3,0001,400
12-NovSanaRice, tea, soap1,8001,800
15-NovBilalJazzCash payment2,9500

Notice that Ahmad’s balance runs 2,000, then 4,400, then 1,400, even with Bilal’s and Sana’s entries in between. The formula in the balance column (row 6) is:

=IF(B6="","",SUMIFS(D$6:D6,B$6:B6,B6)-SUMIFS(E$6:E6,B$6:B6,B6))

In plain words: if there is a name on this line, add up everything given to this customer from the first row down to this row, and subtract everything received from them. The $ signs keep the start of each range fixed on row 6 while the end moves down as you copy the formula. SUMIFS works in Excel 2010 and later, Google Sheets and LibreOffice.

The Customer Balances sheet adds up the same columns for each name with SUMIFS('Customer Khata'!D:D,'Customer Khata'!B:B,A6). If you set a credit limit, the line turns red with “Over limit” once the balance goes above it.

Supplier ledger format in Excel

The Supplier Khata works the same way from the other side. Goods you take on credit go in Maal liya and payments you make go in Payment di. The last column shows how much you still owe that supplier after each line, and Supplier Balances totals it for each dealer. Write the bill number in the details so you can match it against the supplier’s own statement when the two of you settle up.

Cash book format in Excel with formula (roznamcha)

A khata tells you who owes what. A cash book tells you how much cash came in and went out each day, so you can check the galla at closing time. Type the cash you start with in Opening cash in hand (cell C3). After that, every line shows the cash you should have:

=IF(AND(C6="",D6=""),"",$C$3+SUM(C$6:C6)-SUM(D$6:D6))

That is opening cash, plus all cash in so far, minus all cash out so far. If the galla has less than the sheet says, something was missed: an expense not written down, change given wrongly, or a payment taken by mobile but recorded as cash. Find it the same day, while you still remember.

Only write cash in the cash book. Udhar sales and JazzCash, Easypaisa, UPI or bank payments do not go in the galla, so leave them out here and record them in Daily Sales and the khata.

Daily sales record sheet

The Daily Sales sheet has one line per day with four amounts: cash sales, mobile or bank sales, udhar sales and shop expenses. Total sales are worked out for you, and the totals row at the top adds up the whole sheet.

Keeping udhar sales in their own column matters. A day with high sales but most of it on udhar can still leave you short of cash for tomorrow’s stock. For a simple routine that uses these numbers, including a monthly profit sum, see Dukan ka hisab kaise rakhe.

Make your own khata sheet in Excel

If you would rather build your own, this is the shortest way to a working udhar khata sheet:

  1. In row 1, type the headings: Date, Customer, Details, Given, Received, Balance.
  2. Select row 2 and choose View then Freeze Panes, so the headings stay on screen as the list grows.
  3. In F2, type =IF(B2="","",SUMIFS(D$2:D2,B$2:B2,B2)-SUMIFS(E$2:E2,B$2:B2,B2)).
  4. Copy F2 down as far as you expect to write, for example to row 1000.
  5. Select the headings and choose Data then Filter, so you can show one customer at a time.
  6. Format columns D to F as numbers with a thousands separator, and column A as a date.

For one sheet per customer instead (columns Date, Details, Given, Received, Balance), use a simpler balance: in E2 type =C2-D2, then in E3 type =E2+C3-D3 (previous balance plus given minus received) and copy it down. The template above saves you the work and adds the balances, cash book and summary sheets.

Using the Excel khata on your phone

The template opens in the free Microsoft Excel, Google Sheets and WPS Office apps on Android and iPhone. It works, but the cells are small, the drop-down list is fiddly with one hand, and two people cannot easily share one file and type in it at the same time. If you put it in Google Sheets, everyone you share it with can edit it, but the sheet needs internet to keep the copies in step.

That is where most shopkeepers move to a khata app on the phone, and keep Excel for checking accounts on a computer at the end of the month.

Excel khata or khata app: which should you use?

Excel templateKhata app (MobiKhata)
PriceFree (needs Excel, Google Sheets or another free spreadsheet app)Free, no ads
Best onA computerA phone at the counter, plus the web on a computer
BalancesFormulas, as long as no one types over themCalculated by the app after every entry
BackupYou copy the file yourselfSynced to your account when you are online
Without internetWorks (the Google Sheets version needs internet to stay up to date)Works; entries are saved on the phone and sync later
Show a customer their khataFilter, print or save as PDF, then sendShare a PDF statement or their balance on WhatsApp or by SMS
RemindersNoneScheduled balance reminders on Android
MistakesA typo in a name splits a balance; a deleted formula breaks totalsEach party is picked from a list; deleted entries go to a recycle bin

Excel is enough if you have a handful of credit customers, sit at a computer every day and are comfortable with spreadsheets. An app is easier if you write udhar at the counter all day, want to send customers their balance, or worry about losing the file.

Where MobiKhata helps

MobiKhata is the same khata on your phone, free and without ads. Each customer or supplier is a party; udhar you give is a Cash Out entry and payment you receive is a Cash In entry, and the app shows every balance, plus To Receive and To Pay totals on the home screen. It works without internet and syncs to your account when you are back online, so the same khata is on your phone and in the web app on a computer. Statements and reports are PDFs that you can print or share on WhatsApp.

Moving from the template is quick: in MobiKhata, add each customer once with their balance from Customer Balances as the first entry, and carry on from there. Our mobile khata app guide walks through it.

Your khata, without the formulas

Record udhar at the counter, see every balance and send statements on WhatsApp. Free, with no ads, in 8 languages including Urdu, Hindi, Pashto and Dari.

Get MobiKhata on Google PlayDownload MobiKhata on the App Store

On a computer? Use the same account in the MobiKhata web app.

Frequently asked questions

Is this khata book Excel template free?

Yes. You can download, edit, print and share the Excel template and the printable khata register for free, without signing up. Please do not sell them.

Does the template work in Google Sheets?

Yes. In Google Sheets choose File, then Import, and upload the .xlsx file. The formulas, drop-down names and filters keep working. It also opens in LibreOffice and WPS Office.

How do I calculate the running balance for each customer in Excel?

Add up everything given to that customer so far and subtract everything received from them so far. With all customers in one sheet, the formula in row 6 is =IF(B6="","",SUMIFS(D$6:D6,B$6:B6,B6)-SUMIFS(E$6:E6,B$6:B6,B6)), copied down the column.

How do I see one customer’s khata in the Excel sheet?

Click the filter arrow on the Customer heading in Customer Khata and choose the customer’s name. You will see only their entries, with the balance after each one. Clear the filter to see everyone again.

Can I use the khata Excel sheet on my phone?

Yes, in the free Microsoft Excel, Google Sheets or WPS Office apps. The cells are small on a phone screen, so many shopkeepers use a khata app on the phone and keep Excel for the computer.

Is there an Urdu or Hindi version?

The Excel template has English headings with Roman Urdu words such as udhar diya and wapas mila. The printable khata register comes in two versions: English with Urdu, and English with Hindi.

What happens if I write a customer’s name two different ways?

Excel treats them as two customers, so the balance is split. Pick names from the drop-down list, and check the Name check column, which warns you when a name is not in Customer Balances.

Related reading

Keep your khata on your phone

Every balance calculated, statements on WhatsApp and a backup to your account. Free on Android and iPhone.

Get MobiKhata on Google PlayDownload MobiKhata on the App Store

Free on Android and iPhone. Also on the web.