+ Reply to Thread
Results 1 to 4 of 4

Create a hyperlink to matching string in another worksheet, same workbook

  1. #1
    Registered User
    Join Date
    05-21-2015
    Location
    Austin, TX
    MS-Off Ver
    2013
    Posts
    20

    Create a hyperlink to matching string in another worksheet, same workbook

    I was able to take the code from this thread (http://www.excelforum.com/excel-gene...ml#post4283066) and embed an additional INDEX and MATCH function to get a link that works to search for a matching string in another sheet, and take the user directly there upon clicking. Unfortunately, with multiple rows in the sheet with the links, every time I change a single HYPERLINK formula in a single cell, all the formulas in all cells of that column change to match it exactly - without taking into account the next row number.

    I've recreated this sheet from scratch with only copying data over from the original (no formatting) and the problem persists.

    The formula looks at data in column B of Sheet1, matches it to data in column A of SvcRepInfo, and then creates a link to take the user from Sheet1 directly to that matching cell on the SvcRepInfo sheet.

    Please Login or Register  to view this content.
    TEST hyperlink to matching string.xlsm

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Create a hyperlink to matching string in another worksheet, same workbook

    Try this instead...
    =HYPERLINK("#"&"SvcRepInfo!A"&MATCH(B2,SvcRepInfo!A:A,0),"Link")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-21-2015
    Location
    Austin, TX
    MS-Off Ver
    2013
    Posts
    20

    Re: Create a hyperlink to matching string in another worksheet, same workbook

    Works great! I'll need to spend some time on Mon researching your changes, but wanted to let you know that it definitely works as expected!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Create a hyperlink to matching string in another worksheet, same workbook

    Thank you for the feedback.

    In your version, your INDEX isd actually a text, you have it wrapped in ""

    I am simply looking for a row number - using MATCH - and then putting that into the sheet/column string

+ 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. Matching a string to a range in a different workbook
    By mwgates81 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-25-2015, 04:46 PM
  2. [SOLVED] Macros to Create New Sheet, Rename, and Create HyperLink to New Worksheet
    By jacksum in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-19-2015, 12:44 PM
  3. Create Graph by matching string with other worksheet value
    By rinko in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-23-2015, 03:46 AM
  4. Hyperlink to cell by matching a value in another worksheet
    By JimCog14 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-31-2014, 01:29 PM
  5. How to create email, adn add hyperlink for workbook filepath?
    By Rerock in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-11-2012, 02:51 AM
  6. Auto Create Hyperlink and move to another workbook
    By Ninjai in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-10-2010, 03:16 AM
  7. Create Hyperlink to another worksheet within the entire worksheet?
    By mugziegumz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2008, 12:43 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