Results 1 to 8 of 8

Extracting a certain string of text from a cell

Threaded View

  1. #1
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2003
    Posts
    19

    Extracting a certain string of text from a cell

    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!
    Last edited by Jnap; 07-06-2015 at 02:52 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Extracting particular data from a string of text in a cell...
    By Reggie A in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-06-2014, 01:04 AM
  2. Extracting particular data from a string of text in a cell...
    By Reggie A in forum Hello..Introduce yourself
    Replies: 3
    Last Post: 08-04-2014, 10:32 PM
  3. Extracting a portion of text string from a cell
    By TKJ in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-30-2013, 12:49 PM
  4. Extracting Text from a string in a Cell (Excel VBA)
    By jimmy_nora in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-22-2010, 05:30 AM
  5. Replies: 2
    Last Post: 09-07-2010, 04:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1