• IMPORTANT NOTICE: The Excelguru Help Forums will be permanently shut down on Friday, June 26, 2026.

    With AI taking a more prevalent role in answering user questions, the traffic to the Excelguru Help Forums has seen a sharp decrease in traffic over the past couple of years. We do not see this trend changing anytime in the near future. As such, continuing to run the forums is just no longer feasible, so we have made the difficult decision to close them down at the end of the month.

    We appreciate everyone who joined our forums to ask and answer questions over the past decade – and in particular – want to say a huge THANK YOU to the moderators and administrators who volunteered their time and expertise on a daily basis. You made the community what it was.

    NOTE: NEW USER ACCOUNTS CAN NO LONGER BE CREATED.

How to covert Cr amount as Negative while data exported from Tally Software

Prodip Das

New member
Joined
Dec 9, 2015
Messages
3
Reaction score
0
Points
0
I often need to export data from Tally Accounting Software to Excel. While exporting data from Tally the positive amount transferred as Dr and credit amount as Cr . However I need to show the Dr amount as positive and Cr amount as negative like (-) 10,000 or (10,000). I have tried to use function like IF.. RIGHT..SUBSTITUTE or IF..RIGHT..LEFT...LEN, but it doesn't work. Though the Dr or Cr followed by number is displaying in excel, however when i put the cursor in respective cell it shows only the number and no Dr or Cr appears. More over the range in auto sum considered the numbers as positive.
Please refer the file attached herewith. I would appreciate you for solving the above problem.
 

Attachments

  • TrialBal.xls
    20 KB · Views: 2,608
Last edited:
Hi Prodip Das.
That is a bit tricky, but after much consulting with the Google God, I came up with this:-

1. Select Cell C5 of Trial Balance Sheet
2. Press Ctrl+F3 > New and in the Name box, type cell_format
3. In the Refers to box, enter this formula =GET.CELL(53,'Trial Balance'!$C5) and click on Close

On Sheet1 Cell C5 enter this formula and copy down: =IF(RIGHT(cell_format,2)="Cr",-('Trial Balance'!C5),'Trial Balance'!C5)

Edit: If you wish to get rid of the Cr/Dr just reformat the cells as currency.
 
Last edited:
Wow..its great..thanks a lot..I was trying this solution and visit several sites. But u are great man..
 
Very much Thanks, it is still working in office 365 and is amazing,solved the problem.
 
Back
Top