XL AI Automation
Home › Guides › How to clean a Tally export in Excel

How to clean a Tally export in Excel

6 min read · Updated 4 December 2026

Exporting a report from Tally to Excel is easy: open the report and use Export (Alt+E in TallyPrime), choosing Excel as the format. But the file isn't ready for pivots or Power BI. You usually see:

  • Company name and period on the first few rows.
  • The date, party and voucher number only on the first line of each voucher, and blank below it.
  • Dates as text like 3-Nov-26.
  • Amounts as text like 45,200.00 Dr.
  • Opening balance, closing balance and grand total rows mixed with the data.

Step 1: Remove the title rows

Delete the rows above the real heading row so the headings are in row 1.

Step 2: Fill down the blank cells

  1. Select the Date, Particulars, Vch Type and Vch No columns.
  2. Press F5 → Special → Blanks → OK. Only the empty cells are selected.
  3. Type = and press the Up arrow once, then press Ctrl+Enter.
  4. Every blank now copies the value above it. Select the columns, copy, and Paste Special → Values to remove the formulas.

Step 3: Remove total and balance rows

Filter the Particulars column for "Grand Total", "Opening Balance" and "Closing Balance", delete those rows, and clear the filter.

Step 4: Convert Dr/Cr amounts

For a value in B2 like 45,200.00 Dr:

Debit:  =IF(RIGHT(TRIM(B2),2)="Dr", VALUE(SUBSTITUTE(LEFT(TRIM(B2),LEN(TRIM(B2))-3),",","")), "")
Credit: =IF(RIGHT(TRIM(B2),2)="Cr", VALUE(SUBSTITUTE(LEFT(TRIM(B2),LEN(TRIM(B2))-3),",","")), "")

Step 5: Fix the dates

=DATEVALUE(A2) converts 3-Nov-26 into a real date. See converting text to dates for other formats.