+ Reply to Thread
Results 1 to 8 of 8

Need to extract words or text from a cell containing numeric / alpha-numeric and words

  1. #1
    Registered User
    Join Date
    02-25-2014
    Location
    Oman
    MS-Off Ver
    Excel 2013
    Posts
    4

    Need to extract words or text from a cell containing numeric / alpha-numeric and words

    I am using Excel 2013. In Column A I have both numeric and names. For eg.

    203010010005-ABDULLAH NASSER

    The numbers are codes and words are names.

    The length of number differs from 9 to 13 and followed by hypen "-" and without space and the name starts. The length of name is very long

    The number sometimes contain alpha numeric also. I would like to separate the codes and names separately.

    Can anyone help me in this?

    Thanks for your help in advance.

    Vatsan

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Need to extract words or text from a cell containing numeric / alpha-numeric and words

    Did you try using Text To Columns (Under Data Tab)?

    Select Text To Column >> Delimited >> Others (Put - ) >> Finish

    Hope this helps!

    Deep
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    02-25-2014
    Location
    Oman
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Need to extract words or text from a cell containing numeric / alpha-numeric and words

    Thanks. It helped only partially

    As the delimiter takes only the first few characters and others in next few columns. Still it helped.

    I use concatenate to merge these columns.

    Any way thanks.

    Vatsan

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Need to extract words or text from a cell containing numeric / alpha-numeric and words

    There could have been other solutions also!

    If required you can attach a sample workbook!



    Deep

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Need to extract words or text from a cell containing numeric / alpha-numeric and words

    Use LEFT for code and RIGHT for name:
    =TRIM(LEFT(SUBSTITUTE($A1,"-",REPT(" ",255)),255))
    Quang PT

  6. #6
    Registered User
    Join Date
    02-25-2014
    Location
    Oman
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Need to extract words or text from a cell containing numeric / alpha-numeric and words

    Deep

    The file is attached for reference.

    Vatsan
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-25-2014
    Location
    Oman
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Need to extract words or text from a cell containing numeric / alpha-numeric and words

    Hi bebo021999,

    Thanks dear. It helped and worked perfectly.

    Thanks
    Vatsan

  8. #8
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Need to extract words or text from a cell containing numeric / alpha-numeric and words

    Nice to hear it works!

    please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Extract words/numeric after each specific word
    By chweetvjy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-22-2014, 06:40 AM
  2. Replies: 9
    Last Post: 11-18-2013, 07:40 AM
  3. Replies: 2
    Last Post: 06-18-2010, 05:10 PM
  4. only extract numeric value from alpha numeric cell
    By Fam via OfficeKB.com in forum Excel General
    Replies: 5
    Last Post: 04-26-2006, 01:55 PM
  5. [SOLVED] Extract Numbers from Alpha-Numeric String
    By MrBill in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-02-2005, 06:20 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