ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do you convert 100- to -100 in excel? (https://www.excelbanter.com/excel-discussion-misc-queries/225829-how-do-you-convert-100-100-excel.html)

How to convert from 100- to -100[_2_]

How do you convert 100- to -100 in excel?
 
I have a spread sheet that instead of showing negaive 100 as -100, it shows
negative 100 as 100-, is there any way to convert 100- to -100 by formular?
Thanks.

David Biddulph[_2_]

How do you convert 100- to -100 in excel?
 
Data/ Text to Columns
--
David Biddulph

"How to convert from 100- to -100"
m wrote in message
...
I have a spread sheet that instead of showing negaive 100 as -100, it shows
negative 100 as 100-, is there any way to convert 100- to -100 by
formular?
Thanks.




Ron Coderre[_3_]

How do you convert 100- to -100 in excel?
 
Since you asked to convert "100-" to -100 via formula,
try this

With numeric text in A1
B1: =SIGN(--(RIGHT(L3,1)&1))*SUBSTITUTE(L3,"-","")

Does that help?

Regards,

Ron Coderre
Microsoft MVP (Excel)

"How to convert from 100- to -100"
m wrote in message
...
I have a spread sheet that instead of showing negaive 100 as -100, it
shows
negative 100 as 100-, is there any way to convert 100- to -100 by
formular?
Thanks.



L. Howard Kittle

How do you convert 100- to -100 in excel?
 
Try

=LEFT(D1,3)*-1

And if the length of the text varies try

=LEFT(D1,FIND("-",D1)-1)*-1

HTH
Regards,
Howard

"How to convert from 100- to -100"
m wrote in message
...
I have a spread sheet that instead of showing negaive 100 as -100, it shows
negative 100 as 100-, is there any way to convert 100- to -100 by
formular?
Thanks.




Shane Devenshire[_2_]

How do you convert 100- to -100 in excel?
 
Hi,

Little doubt that the text to columns command is the way to go, but if you
want a formula here is another one:

=IF(RIGHT(A1)="-",-SUBSTITUTE(A1,"-",),A1)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"How to convert from 100- to -100" wrote:

I have a spread sheet that instead of showing negaive 100 as -100, it shows
negative 100 as 100-, is there any way to convert 100- to -100 by formular?
Thanks.



All times are GMT +1. The time now is 07:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com