+ Reply to Thread
Results 1 to 6 of 6

How to delete the first 13 characters of a text string in a cell

  1. #1
    Registered User
    Join Date
    05-22-2020
    Location
    Allentown, PA
    MS-Off Ver
    16.16.22
    Posts
    2

    Question How to delete the first 13 characters of a text string in a cell

    I cannot find a function or write a formula that will allow me to delete characters from the left of a text string. Our bank only issues statement is a pdf format. I am able to convert pdf to EXCEL via Acrobat PC, but the data for the company making an EFT transfer is preceded by "CCD DEPOSIT, " followed by the company name. Consequently. I am unable to sort the data by company name. Manually deleting this phrase in each line would be very time consuming and since the text string are different lengths for almost evert transaction, using the TEXT RIGHT function to select the text elements over to the first letter of the company name is also very time consuming.
    Attached is a sample of the text strings. It would seem that deleting the "CCD DEPOSIT,(space)" would be the easiest solution.
    I appreciate any help and thoughts that you might have to addressing this problem.

    Pete
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Office 365 (Win 10 - Work) & Office 365 Subscription Insider (Win 10 - Home)
    Posts
    37,687

    Re: How to delete the first 13 characters of a text string in a cell

    Welcome to the forum.

    In C3 copied down:

    =MID(B3,14,99)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham
    MS-Off Ver
    365
    Posts
    7,087

    Re: How to delete the first 13 characters of a text string in a cell

    Another option
    =REPLACE(B3,1,13,"")

  4. #4
    Registered User
    Join Date
    05-22-2020
    Location
    Allentown, PA
    MS-Off Ver
    16.16.22
    Posts
    2

    Re: How to delete the first 13 characters of a text string in a cell

    Dear AliGW and Fluff13, thanks for the prompt replies. Both solutions work great and will be put to good use. kindest regards and stay well, Pete

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham
    MS-Off Ver
    365
    Posts
    7,087

    Re: How to delete the first 13 characters of a text string in a cell

    You're welcome & thanks for the feedback.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Office 365 (Win 10 - Work) & Office 365 Subscription Insider (Win 10 - Home)
    Posts
    37,687

    Re: How to delete the first 13 characters of a text string in a cell

    Glad to help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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