+ Reply to Thread
Results 1 to 12 of 12

Creating Hyperlinks to Worksheets as per Value selected in Dependent Drop Down List

  1. #1
    Registered User
    Join Date
    07-06-2011
    Location
    Ottawa, IL
    MS-Off Ver
    Excel 2010
    Posts
    8

    Question Creating Hyperlinks to Worksheets as per Value selected in Dependent Drop Down List

    Hi everyone,

    I apologize if this topic has been covered in some other thread but I looked really well and couldn't really find anything.

    I have multiple worksheets in a excel file. On the first sheet I have a drop down list with the names of all the other sheets.

    What I want to do is as follows -
    In another cell (on the same worksheet as the drop-down list) I want to create a hyperlink to the other worksheets but I want the hyperlink to reach the worksheet which has been selected in the drop down list. So, basically I want one hyperlink to work as a connection to different sheets based on the value selected in the drop-down list.

    Is this even possible?

    Thanks,
    Sahar.
    Last edited by sahar; 07-08-2011 at 12:33 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Creating Hyperlinks to Worksheets as per Value selected in Drop Down List

    Welcome to the Forum!

    See attached for a simple example. The key is to use the HYPERLINK function. (Edit: I assumed that when you say "dropdown box" you are talking about list validation, rather than a combobox control.)
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    07-06-2011
    Location
    Ottawa, IL
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Creating Hyperlinks to Worksheets as per Value selected in Drop Down List

    Thanks 6StringJazzer. It is exactly what I was looking for.

  4. #4
    Registered User
    Join Date
    07-06-2011
    Location
    Ottawa, IL
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Creating Hyperlinks to Worksheets as per Value selected in Drop Down List

    I have a question that's again very closely related so I did not want to start a new thread. If it's against the rules please let me know and I will begin a new thread. While 6StringJazzers solution works for a normal drop down list it does not work for a dependent drop down list.

    Specifically, I want a hyperlink to be created based on the value in a drop down list but this drop down list is a dependent on another drop down list.

    Once again any help will be appreciated.

    Thank you.

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Creating Hyperlinks to Worksheets as per Value selected in Drop Down List

    My solution only cares about what value the user selected from the list, not how the list choices are built.

    Quote Originally Posted by sahar View Post
    ...it does not work for a dependent drop down list.

    Specifically, I want a hyperlink to be created based on the value in a drop down list but this drop down list is a dependent on another drop down list.
    I'm not sure I understand what you've done here. Can you describe what is in the list, and how you build it, or attach an example?

  6. #6
    Registered User
    Join Date
    07-06-2011
    Location
    Ottawa, IL
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Creating Hyperlinks to Worksheets as per Value selected in Dependent Drop Down Li

    Hello again,

    I am attaching my sheet here. On the Basic Input Sheet I am trying to hyperlink the sheets in the cell adjacent to the To Proceed cell based on the sheet selected in the Process Being Used Drop Down List.

    Thanks.

    PS: You'll find all the lists on the "Worksheet" Sheet at the end.
    Attached Files Attached Files

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Creating Hyperlinks to Worksheets as per Value selected in Dependent Drop Down Li

    I was able to get it to work like this, by adding single quotes around the sheet name (although I'm not sure why, because it doesn't contain spaces). You posted it with a different file name; I also had to save it with the original file name (as below) to get it to work.

    =HYPERLINK("[Bid.xlsx]'"&K19&"'!A1","Please Click Here")

  8. #8
    Registered User
    Join Date
    07-06-2011
    Location
    Ottawa, IL
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Creating Hyperlinks to Worksheets as per Value selected in Dependent Drop Down Li

    Thanks again 6StringJazzer that worked perfectly.

  9. #9
    Registered User
    Join Date
    07-08-2011
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Creating Hyperlinks to Worksheets as per Value selected in Dependent Drop Down Li

    I am using your Hyperlink formula, but keep getting "Cannot open specified file" (getting same error when clicking on link in your sample).

    Help?

  10. #10
    Registered User
    Join Date
    03-23-2012
    Location
    Iowa
    MS-Off Ver
    Excel 2010
    Posts
    1

    Thumbs up Re: Creating Hyperlinks to Worksheets as per Value selected in Dependent Drop Down List

    this thread is a life saver. Thank you Very MUCH!!!

  11. #11
    Registered User
    Join Date
    12-18-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    2

    Re: Creating Hyperlinks to Worksheets as per Value selected in Dependent Drop Down List

    Hi I was wondering if it is possible to hyperlink a cell in one worksheet to another cell in another worksheet based on the value in the cell. For eg. if A2 in Worksheet1 has a value of 5, I want to link it to A6 in Worksheet2, if A3 in Worksheet1 has a value of 10, I want to link it to A11 in Worksheet2, if A4 in Worksheet1 has a value of 27, I want to link it to A28 in Worksheet2, and so on. Please help!

  12. #12
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Creating Hyperlinks to Worksheets as per Value selected in Dependent Drop Down List

    totallycluelessabout, you have asked a question that is unrelated to the original question, and have done so in a thread that is three years old. As a new user, please take the time to review our rules. There aren't many, and they are all important.

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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