+ Reply to Thread
Results 1 to 4 of 4

Separating alphanumeric data

  1. #1
    Registered User
    Join Date
    06-07-2007
    Posts
    2

    Separating alphanumeric data

    Hi, I have the following data in a cell:

    "Business Services Manager $125-105K Complement your track record."

    I need to strip out the 125 and the 105 numbers into two new cells.

    Any ideas as to how to do it. I have 2000 cells to sort!

    The first number I need is always after a '$" and is always between two and three digits in length.

    The second number always has a 'k' after it and again is always between two and three digits long.

    Any help much appreciated.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =MID(A1,FIND("$",A1)+1,FIND("-",A1)-FIND("$",A1)-1)

    and

    =MID(A1,FIND("-",A1)+1,FIND("K ",A1)-FIND("-",A1)-1)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-07-2007
    Posts
    2
    Thanks NBVC, that does it perfectly and has saved me a lot of time and hassle.

    Really appreciate it.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    No problem!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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