Results 1 to 14 of 14

Remove all characters after third instance of /

Threaded View

  1. #3
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: Remove all characters after third instance of /

    Something I learnt from one of the gurus here, I think it's called.. padding with spaces and trim? Anyhoo, formulas something like this.

    Formula: copy to clipboard
    =TRIM(LEFT(SUBSTITUTE($A$1,"/",REPT(" ",1000),3),1000))
    Last edited by quekbc; 09-02-2015 at 08:04 PM. Reason: Edit following Pete_UK's advice, re-edited after OPs post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA, remove all characters within a string, except numerical characters and full stops
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-25-2015, 09:24 PM
  2. [SOLVED] Remove all characters before or after X# of characters
    By Ocean Zhang in forum Excel General
    Replies: 8
    Last Post: 07-22-2014, 12:13 AM
  3. Remove instance variable from User Define Class
    By rubedario_86 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-04-2013, 01:47 AM
  4. Replies: 3
    Last Post: 02-08-2012, 06:26 AM
  5. Remove all but one instance of a value in one column based on records in another colu
    By TheCyrusVirus in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-20-2010, 11:31 AM
  6. Replies: 9
    Last Post: 06-19-2009, 03:38 PM
  7. How to return # characters based on 2nd instance of value
    By JDay01 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-19-2005, 01:06 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