+ Reply to Thread
Results 1 to 5 of 5

Removing the first 6 character of the id number

Hybrid View

  1. #1
    Registered User
    Join Date
    09-01-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    44

    Cool Removing the first 6 character of the id number

    Do we have a formulae to remove a character? if there is, is there any way we can remove the first 6 digit character on column A and post the 7 up to last character in column C?. I'm trying to look for a better formulae since I will dump huge amount of data in column A and even call out the 7 up to last character in another worksheet.

    Greatly appreciate your feedback on this.
    Attached Files Attached Files

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Removing the first 6 character of the id number

    This will just remove the first 6 characters


    =RIGHT(A2, LEN(A2)-6)
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Removing the first 6 character of the id number

    Hi

    Try any of the below formula in C2 cell

    For Getting Text Output
    Formula: copy to clipboard
    =IF(ISERR(FIND("_",A2)),"",TRIM(MID(A2,FIND("_",A2)+1,255)))


    For Gettting Real Number
    Formula: copy to clipboard
    =IF(ISERR(FIND("_",A2)),"",--TRIM(MID(A2,FIND("_",A2)+1,255)))


    Refer the attachment file for details.

    Hope that helps!
    Attached Files Attached Files


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Contributor
    Join Date
    09-23-2008
    Location
    Mexico
    Posts
    200

    Re: Removing the first 6 character of the id number

    Two more:
    =RIGHT(A2,6)+0
    =RIGHT(A2,FIND("_",A2))+0
    Last edited by Armando Montes; 10-17-2012 at 03:06 AM. Reason: Typo

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Removing the first 6 character of the id number

    Another

    =MID(A2,7,6)*1

    The *1 converts the result into numeric so it can be omitted if you don't need that.
    The 6 can be any number >= the number of characters needed. So you can use, say, 50 if you have varying lengths of strings.

+ 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