fornula to convert text into number

R

Rob

Assuming that the text ALWAYS is a number followed by a
minus sign or a number with no other characters, this will
do the trick:
=VALUE(IF(RIGHT(A1,1)="-",MID(A1,1,LEN(A1)-1)*-1,A1))
There will be many more ways to skin this cat, this is one
way...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top