Hi everyone,
Basically, I'm trying to extract a numbers from a cell containing text (for anyone interested, I'm basically trying to get the quantity bought/sold of a stock). For example, in cell A1, I could have the text string:
SOLD 565 MGNT.MM
or
BGHT 10,203,123 M.LN
Basically, it will start with the the 4-letter words 'SOLD' or 'BGHT' and then a number (of varying length) followed by a string of text of varying length (I think it's between 4 and 7 characters long)
Is there a way I can extract the number easily?
I was thinking of using the method shared here (http://www.mrexcel.com/forum/excel-q...xt-string.html) but I don't fully understand the formula. Basically, the number I need (in the above examples, it would be 565 or 10,203,123) always comes after a space.
Thanks!
Bookmarks