Marg Data Guides

Export All Marg Data into One Excel Workbook One workbook for a whole company, with checks that it is complete

Leena Taylor Paul By Updated October 12, 2026 8 min read
Quick Answer

Marg sends one report to Excel at a time, so a full company takes dozens of exports.

To get everything at once, use a tool that parses the Data folder and saves one workbook with separate sheets for accounts, items, batches, bills, ledger entries and unpaid invoices. Then compare row counts and the trial balance.

An auditor wants every bill in a sheet, or a new accountant wants the full year and not a stack of PDFs. The books sit in Marg, which hands over one report at a time, so the work becomes a long run of exports that all look slightly different and never quite line up.

Who Needs All Marg Data in One Excel File?

OutputOne .xlsx workbook
ScopeOne company and period
Needs MargNo
Runs onWindows PC

Where are you stuck? Pick the card and jump to the part that helps.

Excel is where most accountants sort, filter and sample, but the books live in table files that Excel cannot open. This guide shows you how to get a whole company into a workbook, what the workbook holds and how to tell that nothing was lost on the way.

Why Does Exporting Marg Data to Excel Take So Long?

The program sends one report to Excel at a time. A user on Techjockey asks how to get more than that and gets the same answer. A full company then means dozens of runs with their own dates and filters, and every sheet takes its shape from the report that made it.

Limitations of the built-in export: one report per run, Marg kept open on that company for the whole job and no single file that holds the whole year.

Marg Care does document a bulk export, but it is for TallyPrime. Under the Utilities menu the program writes a masters file and a day book file in XML. That is a migration tool and not a spreadsheet export, so it does not answer the Excel question. The Tally transfer guide covers it in full.

Which way should you use? If one report is all a meeting needs and Marg is open, export it from the report screen. If you need the whole company, or Marg is not on the PC, use the converter. If you are moving to Tally, use the XML route and not Excel.

Which Ways Get Marg Data Into Excel?

RouteCoversEffortMain risk
Export each report from the programOne report per runHigh for a full yearDozens of files with different layouts
The Utilities export for TallyMasters and day book as XMLMediumIt is made for Tally and not for a spreadsheet
Retyping or copying from screensWhatever you copyVery highTyping errors
Univik Marg Data ConverterThe whole company in one workbook, plus CSV, JSON and PDF cardsLowWindows only. Saving beyond the sample needs a licence

How to Export All Marg Data to One Excel Workbook

Univik Marg Data Converter belongs to Univik Marg Data Recovery Toolkit and parses the table files on its own, so Marg can stay uninstalled. The steps below take about ten minutes for a mid-size company, and most of that is waiting for the workbook to write.

The workbook was checked against the books it came from: ledger debit and credit equalled the sum of month postings in 100% of ledgers, bill total equalled the sum of bill lines in 100% and the batch name repeated the item name in 214 of 214 batches. The bill sample is small, 6 and 3 bills in two companies and none in the third, so treat the bill rules as held so far rather than proven at scale.

  1. Copy the Data folderCopy the folder to a local drive, with every table file and both ini lists. Run the export on the copy and keep the original as received.
  2. Open the company and periodRun the Univik toolkit and choose the copied folder. Double-click the company and period you want from the list.
  3. Pick the Everything in Excel cardClick Export and choose Everything in Excel. Choose the dates and select which voucher types to include. Add deleted records only if you need them.
  4. Save the workbookCheck the output folder and save. A free copy writes ten items per section. That is plenty to see how the sheets look.
  5. Tie the workbook to the booksMatch the row counts on the Summary sheet with the viewer tabs. Compare the trial balance with one the client printed from Marg.
Export window with save options Invoices as PDF, Everything in Excel, CSV files, JSON data, Ledger statements and Day book
Everything in Excel is one of the save options. The trial note limits each section to ten items.
Put a whole company into one workbook

Univik Marg Data Converter reads the Data folder and writes the workbook without Marg on the PC.

Download Free Trial Order Now - From $99

Needs Windows 11 or 10. A free build writes the first ten items per section. Converter page

What Is Inside the Workbook?

SheetWhat each row isUseful for
SummaryThe company, the financial year, the date of export and the row count of every sheetA first check that nothing is missing
AccountsA party, bank or expense head with GSTIN, opening, debit, credit and balanceParty balances and trial balance checks
ItemsA stock item with its pack and ratesStock listings
BatchesA batch with expiry, MRP and stockExpiry and slow-moving checks
DocumentsA bill header (party, date and total) with who entered it and whenSales and purchase sampling
Document linesOne item line of a billItem-wise sales and purchase checks
Ledger entriesOne debit or credit leg of a voucherVouchers, day book, narration search
OutstandingA pending bill with the days it is overdueCollection follow-up

Balances are shown without a sign and marked Dr or Cr. Note: a Recovery notes sheet is added only when some rows came from damaged files, so if you see it, read it before you trust the totals.

Other cards write the same records as CSV or JSON for Power BI and similar tools, and as PDF reports for the day book, ledgers, outstanding bills, stock and trial balance. See the Power BI guide for the CSV and JSON route.

How to Check That the Excel Export Is Complete

Tie the workbook to the books before you rely on it
  • The row count of each sheet matches the Summary sheet and the matching viewer tab
  • The trial balance from the workbook matches one printed from the program
  • The date range you set covers the whole financial year
  • Deleted records were either left out on purpose or marked clearly
  • You kept the folder name, the export date and the period beside the file
Choose a company screen in Univik Marg Data Recovery Toolkit: UNIVIK PHARMA DISTRIBUTION, data set a01, with record counts
Counts per company on the chooser give figures to hold against the rows of the saved workbook.
One company at a time

A company and period make one export. In the sample folder Univik tested, order.a01 held 75 accounts, order.b01 held 195 and order.c01 held 113, because a, b and c were three different companies and not three years. The company or year guide explains the naming.

An accountant compares an Excel workbook, its sheets and a printed trial balance before sharing the export.
Check that each required sheet is present and that the workbook totals match the trial balance.

Fix Common Problems When Exporting Marg Data

1. The workbook has only ten rows per sheet

Do this: That is the free sample. Add a licence to save everything. The counts shown on screen are the full counts.

2. A sheet is empty

Do this: Look at the dates and the voucher types you selected. A narrow range or an unticked type leaves a sheet with nothing.

3. Totals do not agree with the printed trial balance

Do this: Compare deleted records first. If they were switched on, the totals will move. Then check that you opened the same company letter and period as the printed report.

Counts that will not tie? Contact our support team with the sheet name and the two numbers you are comparing.

Questions About Exporting All Marg Data to Excel

Yes, for one company and period at a time. Univik Marg Data Converter opens the Data folder and puts accounts, items, batches, bills, ledger entries and unpaid invoices into one workbook. Inside the program, reports go to Excel one by one.

Not to Excel. Marg Care documents a Tally export that writes a masters file and a day book file in XML. For spreadsheets, users export report after report, which is the complaint behind many questions on Techjockey.

A Summary sheet comes first and names the company, the financial year and the row count of every other sheet. Then come Accounts, Items, Batches, Documents, Document lines, Ledger entries and Outstanding. Deleted records, when included, are shaded amber.

Yes. Set a from and to date, then tick sales, purchases or other vouchers. The same filters apply to the CSV and JSON cards. Leave them wide open for a full year.

Compare counts and totals. The result screen lists the rows written for each sheet and warns when a count does not match the data. The trial balance should also match a report printed from the program. Try one month first if the year is large.

Only if you ask. A separate option brings in rows flagged as deleted that remain in the files. Leave it off for a clean ledger. Switch it on when you are reviewing what changed.

A licence lifts the cap on the free build, which writes 10 items per section. Choose Personal at $99 or Technician at $199 or Forensics at $599. Each one covers two PCs and returns are accepted for 30 days after purchase.

Not in one run. You open one company and period, then export. Repeat for the next one. Remember that order.a01 and order.b01 are different companies, not different years.
Leena Taylor Paul

Staff at Univik reviewed the draft. Marg Care supplied the Tally export steps and a Techjockey thread supplied the one-report-at-a-time point. We read both on October 12, 2026. Converter details come from the converter page.

Pages we read: Marg Care article on exporting to Tally · Marg ERP 9 questions on Techjockey

More Marg Data Guides

Pick the guide that matches the job on your desk.