mapping
file is provided for each Excel format. The mapping file has the same name as that of the Excel file.A template is a special format meant to be used as a starting point for creating new formats. A standard udi-Magic template comprises of 2 files viz: |
Excel to Tally
Import data into Tally
<Any-Standard-udiMagic-template>
Start
button to import data into TallyOn completion, you can view the data in Tally using option Gateway of Tally >> Display >> Daybook
.
map
your excel sheet columns with one of the udi-Magic Standard templates
. Mapping is done using Excel formulas.Excel to Tally
Create Custom Template
<Standard-udiMagic-template>
Example: Vouchers-V7-Sales-Purchase-Advanced.xls<Your-Excel-File>
save
button and <name>
your Custom template fileOn completion, a mapping file is generated.
A mapping file contains code / instructions to upload data from Excel into Tally. It is also called as XML file. |
Excel to Tally
Import data into Tally
<Your-Excel-file>
<Custom-Mapping-file>
Start
button to import data into TallyWhile uploading data using a Custom Excel template, you must enable the option "Use separate file for XML tags" and select the relavant mapping/xml file. |
Assuming, you want to map your Sales Excel format to one of the udi-Magic Standard templates, you will have to :
(1) List down all important and mandatory fields required for a Sales entry in Tally ERP.
Example: Voucher-type; Invoice-Date; Invoice-Number; Party-Name; Item-Name; Qty; Rate; Item-Amount; Tax-type; Tax-Rate; Tax-Amount etc.
(2) You must also note down your Excel-file Column-Name against each field.
Let's take an example of mapping Snapdeal Sales format. The relavant files are :
udi-Magic Standard template : c:\udi-MagicV70\Vouchers-V7-Sales-Purchase-Advanced.xls
Excel File to be mapped : c:\udi-MagicV70\MyTemplates\Snapdeal-Sales.xls
.
A table is given underneath wherein Mapping details are given in the 2nd column named MAP (your-excel-sheet)
udi-Magic template Column |
Map with (Your-Excel-sheet) |
Remarks |
---|---|---|
UniqueID | C | Specify the Mapping as given for InvoiceNo. |
InvoiceNo | C |
Q: In which column of your Excel sheet does the Invoice Number appear? A: In the Snapdeal excel file, it appears in Column C. Hence, we have specified |
InvoiceDate | left(L#,10) |
Q: In which column of your Excel sheet does the Invoice Date appear? A: In the Snapdeal excel file, it appears in Column L. However, as the DATE is in long format (dd/mm/yyyy HH:MM:SS), we use the excel function |
Voucher-type | "SD-Sales" |
Q: In which column of your Excel sheet does the Voucher-type appear? A: No, it is not there in the Snapdeal excel file. Hence, we have taken fixed value as |
Customer or Party-Name | "Jasper" |
Q: In which column of your Excel sheet does the Customer-Name appear? A: In case of e-tailers, instead of maintaining separate ledgers for each buyer, it is generally preferred to have a single Party Ledger A/c and then use the bill-by-bill feature to track receipts. Hence, we have taken fixed value as |
StockItem-Name | D |
Q: In which column of your Excel sheet does the StockItem-Name appear? A: In the Snapdeal excel file, it appears in Column D. Hence, we have specified |
Units | "Pcs" |
Q: In which column of your Excel sheet does the Unit of measurement appear? A: No, it is not there in the Snapdeal excel file. Hence, we have taken fixed value as |
Qty | 1 |
Q: In which column of your Excel sheet does the Item-Qty appear? A: No, it is not there in the Snapdeal excel file. Hence, we have taken fixed value as |
Rate | Round(AP#*100/(100+AR#),2) |
Q: In which column of your Excel sheet does the Rate appear? A: In the Snapdeal excel file, it appears in Column AP. However, the rate is inclusive of Tax, and the Tax-rate is given in Column AR. Now we have to reverse calculate the rate-excluding-tax. |
Amount | Round(AP#*100/(100+AR#),2) |
Q: In which column of your Excel sheet does the StockItem-Amount appear? A: As the Qty is always 1, we take the Formula as used for Rate. |
TaxType | AQ# & " " & AR# & "%" |
Q: In which column of your Excel sheet does the Tax-Type appear? A: Tax-Rate is not specified in Snapdeal Excel sheet. We have added two columns at the end viz AQ and AR which contain Tax-type and Tax-Rate. |
Tax-Amount | Round(AP#*AR#/(100+AR#),2) |
Q: In which column of your Excel sheet does the Tax-Amount appear? A: It is quite similar to the Item-Rate formula. Here, we need the Tax-amount which is computed as follows : |
The mapped Snapdeal Sales format is provided with udi-Magic Software. Use these steps to view/modify it:
|
Description | Excel Formula | udi-Magic Mapping Formula |
---|---|---|
Formula with single Column | =A2*5/100 | A#*5/100 |
Formula with multiple Columns | =(A2+B2+C2)*5/100 | (A#+B#+C#)*5/100 |
Static text with Cell-references | ="Order Id: " & B2 | "Order Id: " & B# |
Rounding off to 2 decimals | =Round(A2,2) | Round(A#,2) |
Offset Formula to get cell-value from next row | =Offset(A2,0,1) | Offset(A#,0,1) |
Sum value for a specific Column for multiple rows | =Sum(A2:A5) | {Round(A#,2)} |
Fixed-value ex. VoucherType | ="Local Sales" | "Local Sales" |
Absolute and Relative Cell-references | =A2+B$1 | A#+B$1 |
Use "#" for relative row numbers like A#,B# etc. |