How can I trim "4|+|23.68^" into "23.68" in excel 2000?

N

N Harkawat

If the number that you want to extract always begins after second instance
of "|" and ends just before "^" then use the following: -
=--(MID(A1,FIND("xx",SUBSTITUTE(A1,"|","xx",2))+1,FIND("^",A1)-(FIND("xx",SUBSTITUTE(A1,"|","xx",2))+1)))

If the number that you want to extract always begins after second instance
of "|" and ends just before "^" then use the following: -
 
H

Harlan Grove

N Harkawat said:
If the number that you want to extract always begins after second instance
of "|" and ends just before "^" then use the following: -
....

If these assumptions hold, better to use Edit > Replace to eliminate the ^s,
then use Data > Text to Columns, Delimited, specify | as the delimiter, and
skip the first two fields.
 
Top