+ Reply to Thread
Results 1 to 6 of 6

Creating Dynamic Hyperlinks based on known cell value

  1. #1
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    373

    Creating Dynamic Hyperlinks based on known cell value

    Morning Gang

    Attached is a sample workbook using Hyperlinks to navigate easily between locations in the Workbook. The links on 'CU-7'! can remain static as the sheets they point to will not change in anyway to affect the link.

    The links at A1 on '07-E-1A'! and '07-E-1B'! are currently static and pointing back to a specific cell on 'CU-7'! These are the Hyperlinks that would need to be dynamic. It is very common to add/delete multiple rows on 'CU-7'! The goal would be to have the Hyperlink point to the cell in 'CU-7'!A:A containg the value from $B$2

    Notes in the workbook are in RED text.

    Thanks for the help.
    Attached Files Attached Files
    Last edited by scaffdog845; 01-13-2012 at 01:38 PM. Reason: Two great solutions provided
    Click here to read the Forum Rules
    Whatever it is in life you decide to go after, go after with great ferocity.

  2. #2
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: Creating Dynamic Hyperlinks based on known cell value

    Take a look at this thread. Does it do as you want?

    http://www.excelforum.com/excel-gene...html?p=2638625

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Creating Dynamic Hyperlinks based on known cell value

    1) Remove the Hyperlink built into your cell A1.
    2) Put this formula in A1 instead:

    =HYPERLINK("#'CU-7'!" & ADDRESS(MATCH($B2, 'CU-7'!$A:$A, 0), 1), "Turnaround History")
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Creating Dynamic Hyperlinks based on known cell value

    the same thing will work on the CU-7 sheet, too. Remove the hardcoded hyperlinks in column T, then put this formula in T4:

    =HYPERLINK("#'" & LEFT(A4, FIND(",",A4)-1) & "'!B2", "Click to View History")

  5. #5
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    373

    Re: Creating Dynamic Hyperlinks based on known cell value

    It does Whizbang! Thanks for the link.

  6. #6
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    373

    Re: Creating Dynamic Hyperlinks based on known cell value

    JBeaucaire. This worked as well as the other responce and it was a simpler solution fo rthe user who would be dealing with it. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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