+ Reply to Thread
Results 1 to 7 of 7

Slit numbers from begining of text

  1. #1
    Registered User
    Join Date
    01-16-2014
    Location
    uk
    MS-Off Ver
    Excel 2013
    Posts
    99

    Slit numbers from begining of text

    Hi

    I have lost the formula for this looked everywhere, I have Content that looks like this e.g 1dg, 15gh, 8fj, 20lk,

    I reqiure the formula to split the number into another cell(numbers will be no more than 2 digits), I already have the formula for the letters.

    Thanks

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Slit numbers from begining of text

    If you have the formula for the text, then use =left(a1,(find(your-text-formula)-1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-16-2014
    Location
    uk
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Slit numbers from begining of text

    This is what i have not sure how i would go about it.

    =IF(ISNUMBER(MID(K3,2,1)+1),MID(K3,3,10),MID(K3,2,10))

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Slit numbers from begining of text

    OK if your data is in A1 down, use this for the numbers....
    =LEFT(A1,IF(ISNUMBER(--MID(A1,2,1)),2,1))
    and this for the letters...
    =MID(A1,LEN(B1)+1,99)

  5. #5
    Registered User
    Join Date
    01-16-2014
    Location
    uk
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Slit numbers from begining of text

    That works

    Thanks Pal

  6. #6
    Registered User
    Join Date
    03-22-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2010
    Posts
    39

    Re: Slit numbers from begining of text

    Hi MATU70

    if your letter contains 2 character and it is always preceded by number. try to use below formula

    =MID(B3,1,LEN(RIGHT(B3,2))-1)

    Regards,

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Slit numbers from begining of text

    Happy to help 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. Slit Up Cell Value Into Multiple Other Cells
    By Stasis in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-25-2014, 05:50 PM
  2. Started Begining :)
    By addinsalpha in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-17-2013, 01:53 AM
  3. Replies: 2
    Last Post: 05-12-2010, 05:09 AM
  4. Append text to the begining of each row in column A
    By gjack72 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2010, 03:18 PM
  5. About zeros at the begining of the numbers
    By RazBoss in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-02-2009, 05:55 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