+ Reply to Thread
Results 1 to 4 of 4

Separating Alpha and Numeric Characters

  1. #1
    Registered User
    Join Date
    04-25-2014
    Location
    Leeds, England
    MS-Off Ver
    Office 365
    Posts
    6

    Separating Alpha and Numeric Characters

    Hello Everybody,

    I have a problem and any help would be much appreciated.

    Cell A2: Houses of Parliament London England 27 Eiffel Tower 115 Washington 8

    or any combination: there can be one to five words before each number and
    the numbers may be from 1 - 999.

    What I would like is:

    Cell B2: Houses of Parliament London England 27
    Cell C2: Eiffel Tower 115
    Cell D2: Washington 8

    Many thanks,

    James

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Separating Alpha and Numeric Characters

    Here's one way. There may be neater ways, though. These are array formulae. Array Formulae are a little different from ordinary formulas in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly braces { } appear around the outside of your formula. If you do not CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again. Don't type the curly braces yourself - it won't work...


    B2:=LEFT(A2,FIND(" ",A2,MIN(IFERROR(SEARCH({0,1,2,3,4,5,6,7,8,9},A2),""))))

    C2:=LEFT(SUBSTITUTE(A2,B2,""),FIND(" ",SUBSTITUTE(A2,B2,""),MIN(IFERROR(SEARCH({0,1,2,3,4,5,6,7,8,9},SUBSTITUTE(A2,B2,"")),""))))

    D2: =SUBSTITUTE(SUBSTITUTE(A2,B2,""),C2,"")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    04-25-2014
    Location
    Leeds, England
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Separating Alpha and Numeric Characters

    Hello Glenn,

    Many thanks. Absolutely fantastic. It worked a treat.

    James

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Separating Alpha and Numeric Characters

    You're welcome and thanks for the feedback...

+ 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. Separating alpha, numeric and other characters
    By ldg in forum Excel General
    Replies: 10
    Last Post: 08-04-2015, 02:16 PM
  2. [SOLVED] Separating alpha and numeric characters, no delimiter, varying lengths
    By Trevor K in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-21-2015, 09:40 PM
  3. Convert Alpha characters back to numeric
    By CNE5x in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-13-2013, 11:46 PM
  4. Separate Alpha and numeric characters
    By sivdin in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-09-2013, 02:50 AM
  5. [SOLVED] Detecting transitions between alpha/numeric characters
    By quietsnow in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-17-2013, 08:23 PM
  6. separating numeric and alpha cell contents
    By lintcoop in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-02-2013, 07:45 PM
  7. Can you ID a cell that has both Alpha AND Numeric characters?
    By Phil in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-18-2006, 04:35 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