+ 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
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    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!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,029

    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, England
    MS-Off Ver
    365
    Posts
    15,029

    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
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    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)

Similar Threads

  1. [SOLVED] Remove duplicate characters from a text string in a cell
    By sam99 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-22-2020, 06:10 PM
  2. [SOLVED] Extract cell text string between 2 different characters
    By Shallabee in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-18-2019, 08:09 AM
  3. [SOLVED] delete text after characters appear in cell.
    By Shamz41 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-18-2017, 07:54 AM
  4. Delete Characters Before Last Space In Text String [SOLVED]
    By alacey425 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-01-2016, 11:30 PM
  5. Replies: 2
    Last Post: 01-02-2015, 08:57 PM
  6. Replies: 7
    Last Post: 07-25-2014, 08:21 AM
  7. [SOLVED] Backspace event text box string formatting not able to delete characters
    By Code Flunkie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-28-2014, 04:30 PM

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