
In this article
Tally exports are designed for printing, not analysis: company name rows on top, blank lines, amounts like “1,25,000.00 Dr” stored as text, and ledger names only on the first row of each group.
The goal
One row per entry with Date, Voucher type, Voucher no., Ledger, and a single signed Amount column (debit positive, credit negative).
Amounts with Dr/Cr suffix
=LET(t,TRIM(B2), sign,IF(RIGHT(t,2)="Cr",-1,1),
sign*VALUE(SUBSTITUTE(TRIM(LEFT(t,LEN(t)-2)),",","")))
"1,25,000.00 Dr" β 125000 "4,500.00 Cr" β -4500
If debits and credits are in separate columns instead: =N(Debit)-N(Credit).
Fill ledger names down
Select the ledger column β Home β Find & Select β Go To Special β Blanks β type = and press β β Ctrl+Enter. Then copy the column and Paste Values.
Power Query (repeatable every month)
- Data β From Table/Range (or From Workbook).
- Remove top rows until the header row; Use First Row as Headers.
- Filter out blank rows and “Total”/”Opening balance” rows.
- Select the ledger column β Transform β Fill β Down.
- Add a custom column for the signed amount, change type to Decimal.
Next month, drop the new export in the same place and click Refresh β no formulas to redo. See our Power Query course for the details.
Check the totals
The sum of the signed Amount column for a day book should be zero (every debit has a credit). If it isn’t, a row was lost or a Dr/Cr sign was misread.
Stuck on a step? Ask a question and the AI answers using this article.