+ Reply to Thread
Results 1 to 6 of 6

Creating a dynamic hyperlink to a different sheet in the same workbook.

  1. #1
    Registered User
    Join Date
    05-04-2017
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    47

    Creating a dynamic hyperlink to a different sheet in the same workbook.

    Hi All

    I have a workbook with two tabs, one named EMP which is a list of all employees, with these names starting in Col E. There is a Line reference number in Col A. (I.e where they can be found on the worksheet). their information goes from Col F to Col BP. (Table format)

    In the other tab, named ADV, (essentially a search) a name can be entered in Cell C4, it pulls all the data from the EMP tab and displays it throughout the sheet. In Cell B5 is a formula which references their name against the line number found in the EMP tab Column A). (=VLOOKUP(C4,choose({1,2},EMP!E:E,EMP!A:A),2,0). (I.e if Joe Bloggs was entered in C4, result (Line Ref) 45.

    What I'm trying to achieve is a dynamic hyperlink that uses the line reference number in B5 and jumps to that line number in the EMP tab allowing an easier edit or update to information supplied. I would like the formula to be in cell c5.
    Some parts of the information is updated very regularly, namely any training which is in the EMP tab, Column X. I would also like to have another dynamic hyperlink that would take me to the training section in the EMP tab, e.g. if Joe Bloggs was the input, the hyperlink link would go to Cell X45.

    Can you help?

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Creating a dynamic hyperlink to a different sheet in the same workbook.

    Something like below, but without a sample, I don't think that you will get much help.

    =HYPERLINK("#"&CELL("address",INDEX(B:B,MATCH(F2,A:A,0))),INDEX(B:B,MATCH(F2,A:A,0)))

  3. #3
    Registered User
    Join Date
    05-04-2017
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    47

    Re: Creating a dynamic hyperlink to a different sheet in the same workbook.

    Hi I've attached a copy of the spread sheet. I've had to delete most of the table out because of the file size. All data entered is made up.

    If you look at Cell B5 on the ADV tab, it has correctly referenced the person against Col A of the EMP tab

    What I would like therefore in C5 is a hyperlink, which in this case would take me to Cell A4 in the EMP tab
    Attached Files Attached Files

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Creating a dynamic hyperlink to a different sheet in the same workbook.

    in C5: =HYPERLINK("#"&CELL("address",INDEX(EMP!$A$3:$A$364,MATCH(ADV!$B$5,EMP!$A$3:$A$364,0))),"Jump")

  5. #5
    Registered User
    Join Date
    05-04-2017
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    47

    Re: Creating a dynamic hyperlink to a different sheet in the same workbook.

    Thank you. Works a treat.

  6. #6
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Creating a dynamic hyperlink to a different sheet in the same workbook.

    Glad to help. Thanks for rep.

+ 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. Creating a Hyperlink on a dynamic cell
    By HGL in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-14-2016, 11:20 AM
  2. [SOLVED] Creating Hyperlink to new sheet
    By rigby in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-28-2013, 02:10 AM
  3. Creating a dynamic hyperlink by matching a value
    By bvknight in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-31-2011, 05:01 PM
  4. Hyperlink function using a dynamic sheet name
    By skysurfer in forum Excel General
    Replies: 0
    Last Post: 07-25-2011, 04:25 PM
  5. Creating Dynamic Folders/WorkBook from a Sheet with Dynamic Path.
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 03-28-2011, 05:42 AM
  6. Creating a hyperlink to another workbook
    By Christian411 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2010, 01:51 AM
  7. creating a macro for a dynamic workbook
    By dreams in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-15-2010, 05:39 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