# - on wrong side of number (negative number)

#### mlchman

##### New Member
I get a report from work every month that has been converted from an Adobe PDF report to Excel. At line 59 the - for negative is on the right side of the numbers instead of the left side. Excel reads this as text, so will not format as currency. How do I change/reformat so I can use the data as currency in my calculations?

Thanks for the help.

Michael

### Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi, welcome to the board!

Is it always in Row 59 and in what column? Is there more than 1 value like this?

Welcome to MrExcel Board!

You can convert the whole column to numbers with a formula like this:
=IF(NOT(ISNUMBER(--RIGHT(A1))),--LEFT(A1,LEN(A1)-1),A1)

and copy down; adjust the column (A) to wherever your numbers are. Data, Text to Columns might also work for this.

Hope that helps!

mlchman

Welcome to the Mr Excel board!

Here are three other possible ways, take special note of 3 as it is the easiest (provided you have an appropriate version of Excel):

1. =IF(RIGHT(A1)="-",-LEFT(A1,LEN(A1)-1),A1)

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

3. If you want to do it without creating another column and are using Excel 2002 or later:
a) Select the cells (or columns) that contain the numbers
b) Data|Text to Columns...
d) Ensure 'Trailing minus for negative numbers' is checked and click OK
e) Finish
NOTE: If you know the 'Trailing minus for negative numbers' is checked, then you only need to perform steps a), b) and e) - very easy!

Thank you for all the replys. With the info I received, I am now able to correct the problem easily.

Thanks again,

Mlchman

Replies
3
Views
143
Replies
2
Views
221
Replies
8
Views
250
Replies
1
Views
151
Replies
5
Views
309

1,211,983
Messages
6,105,208
Members
447,955
Latest member
BWheezy

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back