+ Reply to Thread
Results 1 to 4 of 4

Formula to remove all characters after a specific character

  1. #1
    Registered User
    Join Date
    04-29-2012
    Location
    Dayton, OH
    MS-Off Ver
    Excel 2016
    Posts
    19

    Formula to remove all characters after a specific character

    I need to remove all characters after the :
    The number of characters before the : vary as well as the number of characters after the :

    ex:
    R134TANK : R134A 30LB TANK
    VAS6189/1 : CLEANING TREATMENT
    WAP0500040LFMS : DRINKS BOTTLE BLACK
    WAP0506000J : LIZARD GREEN THERMAL
    WAP0506020L0MR : MARTINI RACING COLLE
    WAP0506200K : RIVIERA BLUE THERMAL
    WAP54300L0K0SP : MEN'S LONG-SLEEVE T-
    982121407C : COOLANT EXPANSION TA
    99917010390 : SPARK PLUG
    E2310LS101 : HOOD DEFLECTOR
    Last edited by rrcrossman; 07-28-2021 at 01:34 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,592

    Re: Formula to remove all characters after a specific character

    Try, B2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copied down
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    04-29-2012
    Location
    Dayton, OH
    MS-Off Ver
    Excel 2016
    Posts
    19

    Re: Formula to remove all characters after a specific character

    Thank you!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,592

    Re: Formula to remove all characters after a specific character

    You're welcome.

+ 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] Formula Remove slashes, insert X in front of first character and remove last to characters
    By Howardc1001 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-29-2020, 03:31 AM
  2. [SOLVED] VBA to remove text between to character (including those characters)
    By Hecky83150 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 03-13-2020, 12:41 PM
  3. [SOLVED] Create a formula to remove last two characters from a cell if the 2nd character is a space
    By SellMeTv2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-28-2019, 11:13 PM
  4. Removing characters IF a specific character exists
    By StKi1da in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-15-2017, 11:20 AM
  5. [SOLVED] How to replace all characters before a specific character
    By allsystems in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-08-2013, 08:40 AM
  6. Macros to remove a special character and all the characters after that....
    By Umapathy kumar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-07-2013, 01:27 AM
  7. Replies: 5
    Last Post: 08-29-2005, 11:05 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