+ Reply to Thread
Results 1 to 3 of 3

Split data in alpha and numeric

  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    Karachi
    MS-Off Ver
    Excel 2010
    Posts
    1

    Split data in alpha and numeric

    Hi this is Adeel

    I am using Excel 2010. I have to separate the data of cells which has alpha and numeric values.

    For Example
    wqui321
    uiqewyr372
    ruwei1
    d938274
    e-5
    skldd-5378

    I have tried LEFT & RIGHT functions, =ROW(INDIRECT(A1)) and few more. but non worked. I will be great full if anyone can help me out. how can i split the data?

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Split data in alpha and numeric

    Try...in B1

    =LOOKUP(99^99,--("0"&MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0 123456789")),ROW($1:$10000))))

    This will give you the numbers..

    You could then use

    =Left(A1,len(A1)-len(b1))

    assuming your values are always in the format "abcd1234" or its variants
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Split data in alpha and numeric

    Hi

    For text, this Array formula(C+S+E)

    =LEFT(A1,MATCH(1,ISNUMBER(MID(A1,COLUMN($1:$1),1)*1)*1,0)-1)

    For numbers.

    =LOOKUP(9^9,1*RIGHT(TRIM(A1),COLUMN($2:$2)))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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