View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Jake Marx Jake Marx is offline
external usenet poster
 
Posts: 22
Default Copy only the number from a text string

Hi Trevor,

"Trevor Shuttleworth" wrote in message
...
Let's try this:

=VALUE(MID(RIGHT(A3,6),FIND(" ",RIGHT(A3,6))+1,LEN(RIGHT(A3,6))-FIND("
",RIGHT(A3,6))))


That one doesn't work for me with a value like "a a 233" or similar. It
seems that it won't work for anything with 2 separate spaces in the last 6
digits.

Regards,

Jake Marx
MS MVP - Excel