+ Reply to Thread
Results 1 to 4 of 4

removing strings after the second "-" in the cell

  1. #1
    Registered User
    Join Date
    06-08-2019
    Location
    india
    MS-Off Ver
    2010
    Posts
    5

    removing strings after the second "-" in the cell

    Dear all,

    I need to remove the texts and strings after the second occurrence of "-". For example I have a long list of rows containing EB-1-1/2, I want to remove -1/2 in all rows.

    Thanks

    Krish

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    2007, Office 365
    Posts
    11,601

    Re: removing strings after the second "-" in the cell

    With the understanding the source is in A1 try this.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  3. #3
    Registered User
    Join Date
    06-08-2019
    Location
    india
    MS-Off Ver
    2010
    Posts
    5
    Thanks a lot sir
    Last edited by AliGW; 06-12-2019 at 02:22 AM. Reason: Please don't quote unnecessarily!

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    2007, Office 365
    Posts
    11,601

    Re: removing strings after the second "-" in the cell

    You are welcome.

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

+ 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] Text strings separated with "/", ",", "-" or "&"
    By alice2011 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-27-2015, 02:13 PM
  2. [SOLVED] Removing ".", "?" or "!" from last word of sentence and replacing it later in vba.
    By staggers47 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-16-2013, 07:20 AM
  3. Strings Variables in Range("A1").Formula = "=index/match" ?
    By nadnerb5 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2012, 05:07 PM
  4. [SOLVED] Colomn of strings, how to count each string with "abc" OR "def"
    By Ron Rosenfeld in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-06-2005, 08:05 PM
  5. Colomn of strings, how to count each string with "abc" OR "def"
    By Tommy T in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  6. Colomn of strings, how to count each string with "abc" OR "def"
    By Tommy T in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  7. Colomn of strings, how to count each string with "abc" OR "def"
    By Tommy T in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM

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