For (2,553.57) you can use VALUE , for example VALUE("(2,553.57)") .
Excel doesn't seem to recognize 2,553.57- as a valid number if it is a string, so assuming you have the value “2,553.57-” in A1, you will need to do a bit more work:
<stroke> = VALUE (IF (RIGHT (A2,1) = "-", "-" & SUBSTITUTE (A2, "-", ""))) strike>
EDIT
=VALUE(IF(RIGHT(A2,1)="-","-"&SUBSTITUTE(A2,"-",""),A2))
On the Microsoft website:
- The text can be in any of the recognized constant numbers, dates or times in Microsoft Excel. If the text is not in one of these formats, VALUE returns # COST! error value.
- Normally, you don’t need to use the VALUE function in a formula because Excel automatically converts text to numbers as needed. This feature is provided for compatibility with other spreadsheet programs.
More information can be found on the Microsoft website: Value Function
LittleBobbyTables
source share