View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
AndyF AndyF is offline
external usenet poster
 
Posts: 3
Default HOW DO I EXTRACT NUMBERS FROM TEXT STRING

Thanks Mike. This formula works for this example, but is there any way I can
extract any number from the text as the spacing and length of digits may
differ.

eg.

(NETT) - 68/58kgs
/NET: 338/320 KG

I only need the figure always after the '/'.

Regards,




"Mike H" wrote:

Hi,

Not really enough information but this works for your example.

=MID(A1,FIND("/",A1,FIND("/",A1,1)+1)+1,1)

Mike

"AndyF" wrote:

I need to extract specific numbers from a text string that varies.

For example: I need to extract the second weight from each text i.e 9.
' GW/NW: 10/9 kgs'

Can anyone help please?