+ Reply to Thread
Results 1 to 8 of 8

Help needed in splitting the text and getting the characters at specific places

  1. #1
    Registered User
    Join Date
    05-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Help needed in splitting the text and getting the characters at specific places

    Hi All,

    I have a string of 16 characters. I need to split it into 3 parts (1-6, 7-11 and 12-16 places)

    Eg.

    String
    ABCDEF1234567890

    Text1 ABCDEF
    Text2 12345
    Text3 67890


    Please help urgently.

    Regards

    Shakeel

  2. #2
    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: Help needed in splitting the text and getting the characters at specific places

    Hi and welvome to the forum.

    Are always your data in the same size?
    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.

  3. #3
    Registered User
    Join Date
    05-22-2012
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Help needed in splitting the text and getting the characters at specific places

    Hi Shakeel and welcome to the forum
    if your string is at cell A1 then try this:
    for the Text1 ---> Left(A1,6)
    for the Text2 ---> Mid(A1,7,5)
    for the Text1 ---> Right(A1,5)
    JiMcOt

  4. #4
    Forum Contributor
    Join Date
    01-24-2011
    Location
    Sheppey
    MS-Off Ver
    Excel 2010
    Posts
    239

    Re: Help needed in splitting the text and getting the characters at specific places

    Try
    Please Login or Register  to view this content.
    &
    Please Login or Register  to view this content.
    &
    Please Login or Register  to view this content.
    where B5 is where your string is.

  5. #5
    Registered User
    Join Date
    05-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Help needed in splitting the text and getting the characters at specific places

    Yes the data is of same size.

  6. #6
    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: Help needed in splitting the text and getting the characters at specific places

    ..So you get your solution..

  7. #7
    Registered User
    Join Date
    05-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Help needed in splitting the text and getting the characters at specific places

    Great. It worked.. Thanks a lot

  8. #8
    Registered User
    Join Date
    05-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Help needed in splitting the text and getting the characters at specific places

    Thanks everyone for the quick help.

+ 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