+ Reply to Thread
Results 1 to 3 of 3

Excel formula to Remove everything in a Column followed by a Single "/"(Forward slash)

  1. #1
    Registered User
    Join Date
    07-20-2011
    Location
    Kerala, India
    MS-Off Ver
    Excel 2013
    Posts
    93

    Smile Excel formula to Remove everything in a Column followed by a Single "/"(Forward slash)

    Hi!
    I use Windows 7 with MS Office 2010

    I have an excel file with a long list of links from social media, etc. in Column A

    Eg:
    Column A=

    https://in.linkedin.com/in/abhra-d-5...mename-profile
    https://in.linkedin.com/in/addy-bisht
    https://www.facebook.com/pages/categ...8653264378096/
    https://www.facebook.com/iMakeAnimations/
    https://www.facebook.com/dcreationsofficial/
    https://www.facebook.com/UofWA/reviews/
    https://www.facebook.com/biz/interne...08424279189115
    https://twitter.com/rebeltaxi
    https://twitter.com/rjsuspect


    I want a formula in COLUMN B to:
    Remove everything from the 'column A' which are followed by a (Single forward slash) "/"
    i.e.
    Result:
    Column B=

    https://in.linkedin.com/
    https://in.linkedin.com/
    https://www.facebook.com/
    https://www.facebook.com/
    https://www.facebook.com/
    https://www.facebook.com/
    https://www.facebook.com/
    https://twitter.com/
    https://twitter.com/

    I have attached an example file Test1
    where my original source list is in Column A
    The formula should be applied on Column B

    Note: Column C - contains desired result (done manually)

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Excel formula to Remove everything in a Column followed by a Single "/"(Forward slash)

    You can use:

    =LEFT(A2,FIND("/",A2,9))

    copied down.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

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

    Re: Excel formula to Remove everything in a Column followed by a Single "/"(Forward slash)

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

+ 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] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  2. [SOLVED] How can I remove a forward slash from Text????
    By bralew in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-24-2016, 04:59 AM
  3. [SOLVED] Remove the characters after last Forward slash
    By Shareez Saleem in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-14-2015, 01:34 AM
  4. How do you remove all text before the last forward slash?
    By lukesmith7 in forum Excel General
    Replies: 7
    Last Post: 05-22-2014, 07:59 AM
  5. How do you remove text before the last forward slash?
    By lukesmith7 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-22-2014, 07:31 AM
  6. Replies: 1
    Last Post: 02-04-2014, 08:43 PM
  7. [SOLVED] multiple record to single with frequent change in string at forward slash
    By cruise.alter in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-24-2012, 06:26 AM

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