+ Reply to Thread
Results 1 to 4 of 4

Remove partial text in string

  1. #1
    Registered User
    Join Date
    03-28-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    36

    Remove partial text in string

    Hi,

    I have a bunch of data that follows similar naming conventions, but the length of the text can vary depending on the entry.

    TEST - USA - Text I don't need to see variation one
    TEST - Canada - Text I don't need to see variation two
    TEST - UK - Text I don't need to see length variation three

    I want to create a column which extracts the "text I don't need see..." part, so the cell would only display "TEST - USA" or "TEST - Canada".

    I was trying to use the LEFT or MID function, but am getting caught up because the length of the of each instance can vary. Is there a way around this, or a better suited function that can be used?

    Thanks!

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

    Re: Remove partial text in string

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-28-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    36

    Re: Remove partial text in string

    Thank you so much! That does the trick!

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

    Re: Remove partial text in string

    You're welcome & 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. Replies: 5
    Last Post: 07-10-2017, 10:36 AM
  2. Edit/Remove Partial Text in each Row, HOW??
    By excelboxnovice in forum Excel General
    Replies: 1
    Last Post: 03-07-2016, 02:06 AM
  3. [SOLVED] Remove partial text from cell
    By shawnoot in forum Excel General
    Replies: 2
    Last Post: 07-13-2014, 11:33 PM
  4. [SOLVED] remove partial text from cell
    By D Casten in forum Excel General
    Replies: 6
    Last Post: 07-13-2014, 11:11 PM
  5. Remove partial text from 1 column?
    By IsabellaLearning in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2014, 04:06 AM
  6. [SOLVED] Find partial text string within another text string return original text into cell.
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-17-2013, 02:58 PM

Tags for this Thread

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