How to convert invalid numbers to valid numbers in Excel
In this example, somehow, we have a list of negative numbers that we need to make readable by Excel. The problem is, as shown in the image below, we have the negative sign on the right of the values. We need to change this so that the negative sign appears on the left. We will be using both the LEFT and LEN functions to achieve this. This tip should work in Excel 97, 2000, 2003 and 2007.
- In a worksheet, enter a series of numbers in cells A2:A10 that have a minus sign at the end.
- Select cells B2:B10 and type the following formula: =-LEFT(A2,LEN(A2)-1).
- Press CTRL+Enter.
You should now be set!
