+ Reply to Thread
Results 1 to 11 of 11

Splitting Numbers and Symbols from Aplhanumber/symbol String

  1. #1
    Registered User
    Join Date
    05-26-2015
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    15

    Splitting Numbers and Symbols from Aplhanumber/symbol String

    PLEASE help.

    I am trying to separate/extract the contents of an alphanumeric and symbol containing cells.

    I'd like to extract Numbers (0 through 9) and Symbols/Punctuation/Non letter characters (example: &^%$#@()_+>?"|}{) in one cell and all the remaining letters in another cell.

    Example: is attached

    Please can someone help? I have tried various codes that people have shared but none have been able to split alphabetical letters from numbers and all other symbols/characters.

    Thank you so much!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Splitting Numbers and Symbols from Aplhanumber/symbol String

    Quick solution and simple may be (see attached),

    Please Login or Register  to view this content.
    See how that works.
    Attached Files Attached Files

  3. #3
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Splitting Numbers and Symbols from Aplhanumber/symbol String

    or variation
    Please Login or Register  to view this content.
    or

    Marco rip
    Please Login or Register  to view this content.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,522

    Re: Splitting Numbers and Symbols from Aplhanumber/symbol String

    2 in 1
    =AlphaNum(A1,True/False)
    True for Alhpabets
    False for others
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Splitting Numbers and Symbols from Aplhanumber/symbol String

    Great pike!

    Still learning about character sets and RegEx, but when it comes to the the character set "[A-Z,a-z, ]", I think you can exclude exclude ",". It would not change the result in this sample data but using "[A-Za-z ]" instead would not exclude any commas and only letters for the No_Letter function.

    Cheers

  6. #6
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Splitting Numbers and Symbols from Aplhanumber/symbol String

    Very true and modification with jindons boolean
    Please Login or Register  to view this content.

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,522

    Re: Splitting Numbers and Symbols from Aplhanumber/symbol String

    Pike,
    It needs bit of more work to meet OP's requirement
    Please Login or Register  to view this content.

  8. #8
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Splitting Numbers and Symbols from Aplhanumber/symbol String

    or just

    Please Login or Register  to view this content.

  9. #9
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,522

    Re: Splitting Numbers and Symbols from Aplhanumber/symbol String

    No, not like that easy.

    ALY&ONK.A BM 100GR N E-OBYED.KONDITERY
    should be
    ALY ONK A BM GR N E OBYED KONDITERY
    not
    ALYONKA BM GR N EOBYEDKONDITERY

  10. #10
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Splitting Numbers and Symbols from Aplhanumber/symbol String

    arrrr ok did not see that bit
    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    05-26-2015
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    15

    Re: Splitting Numbers and Symbols from Aplhanumber/symbol String

    All of the comments are awesome and solve the question i posted - THANK YOU!

    You guys are awesome for helping. Thoroughly Appreciated.

+ 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. [SOLVED] Splitting a string of numbers and letters in to multiple rows
    By muddbog in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-22-2014, 05:34 PM
  2. [SOLVED] Splitting a string of numbers into separate cells: where to even begin?
    By confused_teacher in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-03-2013, 02:33 PM
  3. Replies: 3
    Last Post: 05-04-2013, 09:57 PM
  4. Replies: 6
    Last Post: 03-18-2013, 05:30 PM
  5. Formula to find a number in a string of numbers separated by a symbol
    By cslm001 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-12-2012, 11:23 AM
  6. Replies: 1
    Last Post: 10-08-2008, 11:26 AM
  7. remove symbols and numbers from list of string
    By elaine in forum Excel General
    Replies: 1
    Last Post: 05-11-2006, 01:25 PM
  8. [SOLVED] Splitting string into letters and numbers
    By Foss in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2005, 07:06 AM

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