+ Reply to Thread
Results 1 to 5 of 5

extract info from a link

  1. #1
    Registered User
    Join Date
    06-22-2015
    Location
    milano
    MS-Off Ver
    2010
    Posts
    30

    extract info from a link

    Hi all,

    I have a file with many links and i need a dynamic formula for getting the last part of the link (was using right, but the string length might vary) ex:

    https://www.zoro.com/sk-professional...36mm-hex-48236/i/G4426721/ i would need the (/i/G1539781/ ) as an outcome on a different excel file, the problem is that sometimes the lenght of that part might either change or start with a different letter for example it might be /g/G1556639781/

    Thanks in advance to anyone that can help!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: extract info from a link

    What is the indicator (the 4th / in the link)?
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: extract info from a link

    =mid(a1,find("&&",substitute(a1,"/","&&",4),1),99)

  4. #4
    Registered User
    Join Date
    06-22-2015
    Location
    milano
    MS-Off Ver
    2010
    Posts
    30
    Quote Originally Posted by oeldere View Post
    What is the indicator (the 4th / in the link)?
    Yes the 4th

  5. #5
    Registered User
    Join Date
    06-22-2015
    Location
    milano
    MS-Off Ver
    2010
    Posts
    30

    Re: extract info from a link

    Quote Originally Posted by Shareez Saleem View Post
    =mid(a1,find("&&",substitute(a1,"/","&&",4),1),99)
    thanks this work !!

+ 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. Fill in info from web link
    By irisha in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-17-2015, 03:24 PM
  2. How to link 2 worksbook together to get all info
    By COLTS12OG in forum Excel General
    Replies: 1
    Last Post: 03-21-2013, 07:53 PM
  3. how do u link info and numbers
    By ajrc in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-09-2007, 11:43 AM
  4. Please help: Extract some info. from a cell
    By Bobsus5 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-06-2006, 10:10 PM
  5. Replies: 1
    Last Post: 02-21-2006, 10:30 PM
  6. trying to link but not lose info
    By Bryan J Bloom in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-10-2005, 10:35 AM
  7. [SOLVED] how to extract XML info with VBA?
    By Fred Smif in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-26-2005, 05:19 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