Thread
:
How to change "xxx CR" and "y,yyy DB" to "+xxx" and "-yyyy"
View Single Post
#
5
Posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
Posts: 2,389
How to change "xxx CR" and "y,yyy DB" to "+xxx" and "-yyyy"
Try this:
=IF(RIGHT(A1,2)="CR",-(LEFT(A1,LEN(A1)-3)),--(LEFT(A1,LEN(A1)-3)))
Regards,
Fred.
"vud i" <vud
wrote in message
...
I have copied a printed report to Excel. For further calculations, I need
to
change the credit and debit notations to positive and negative numbers or
numerical text. To do this, one must ... ???
Reply With Quote
Fred Smith[_4_]
View Public Profile
Find all posts by Fred Smith[_4_]