+ Reply to Thread
Results 1 to 14 of 14

Hyperlink within workbook without changing the name of link

  1. #1
    Registered User
    Join Date
    08-16-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    15

    Hyperlink within workbook without changing the name of link

    I have an overview worksheet that features a list of dates; I want to hyperlink the dates to the another worksheet within the workbook that represents the month. I want to do this without changing the dates in the overview sheet. For example, I have 2014-05-23, 2014-05-24,2014-05-25 in my overview sheet and I have a worksheet titled May 2014. When I try to hyperlink the dates to the May worksheet it turns the dates to #### in the overview sheet. How can I stop that from happening? 

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Hyperlink within workbook without changing the name of link

    Something like
    with the date in A3 and we want to look in B7 of sheet May
    =INDIRECT(TEXT(A3,"mmmm yyyy") & "!"&B7)
    Does that make sense?
    Last edited by ChemistB; 05-27-2014 at 02:46 PM.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-16-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Hyperlink within workbook without changing the name of link

    I do not understand the formula. I tried it but it didn't work. Essentially, I want to be able to click a date in my overview sheet and it will jump to the worksheet corresponding to month of the date.

  4. #4
    Registered User
    Join Date
    08-16-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Hyperlink within workbook without changing the name of link

    Quote Originally Posted by ChemistB View Post
    Something like
    with the date in A3 and we want to look in B7 of sheet May
    =INDIRECT(TEXT(A3,"mmmm yyyy") & "!"&B7)
    Does that make sense?
    ________________________________________________

    I tried this: =INDIRECT(TEXT(A4,"yyyymmdd") & "!"&'May 2014 '!) but not working

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Hyperlink within workbook without changing the name of link

    Try something like this...

    Data Range
    A
    B
    1
    Date
    Hyperlink
    2
    2014-05-23
    Go
    3
    2014-05-24
    Go
    4
    2014-05-25
    Go


    This formula entered in B2 and copied down:

    =HYPERLINK("#'"&TEXT(A2,"mmm yyyy")&"'!A1","Go")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Registered User
    Join Date
    08-16-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Hyperlink within workbook without changing the name of link

    It now says that the reference is invalid but I do feel like I am closer to my goal.Please find attached my workbook and see sheet titled Walkley's Editorial Calendar. I want to link the dates to the corresponding worksheet that reflects the month.
    Attached Files Attached Files

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Hyperlink within workbook without changing the name of link

    The sheet tab name for sheet May 2014 has a trailing space:

    \May 2014[space]/

    When I removed that space:

    \May 2014/

    And used this formula in cell C4 on the Walkley's Editorial Calendar sheet:

    =HYPERLINK("#'"&TEXT(A4,"mmm yyyy")&"'!A1","Go")

    It worked as expected.

  8. #8
    Registered User
    Join Date
    08-16-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Hyperlink within workbook without changing the name of link

    Why does it refuse to work when I enter the formula. I still get "Reference is not valid". What am I missing

  9. #9
    Registered User
    Join Date
    08-16-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Hyperlink within workbook without changing the name of link

    I deleted the name of the sheet and rewrote May 2014 and now it works. When I add the worksheet June 2014 would it be the same formula? I ask because I am not sure what the formula arguments mean.
    Last edited by excellearner1990; 05-27-2014 at 08:33 PM.

  10. #10
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Hyperlink within workbook without changing the name of link

    Quote Originally Posted by excellearner1990 View Post
    I deleted the name of the sheet and rewrote May 2014 and now it works.
    Good deal!

    When I add the worksheet June 2014 would it be the same formula? I ask because I am not sure what the formula arguments mean.
    Yes, same formula. As long as the cell the formula is referencing contains a valid date and the sheet name matches, it should work.

  11. #11
    Registered User
    Join Date
    08-16-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Hyperlink within workbook without changing the name of link

    Thank you so much. Upon closer inspection, I figured out that the "mmm" refers to the month. So for June I should put "mmmm" and it will read my worksheet name. Does this mean that for August and going I have to use "mmm" format?

  12. #12
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Hyperlink within workbook without changing the name of link

    =TEXT(A1,"mmm yyyy")

    mmm is the format code for the SHORT month name:

    Jan
    Feb
    Mar
    Apr
    May
    Jun
    Jul
    Aug
    Sep
    Oct
    Nov
    Dec

    mmmm is the format code for the LONG month name:

    January
    February
    March
    April
    May
    June
    July
    August
    September
    October
    November
    December

    yyyy is the format code for the LONG year number:

    2010
    2011
    2013
    2014

    A1 = 8/26/2014

    =TEXT(A1,"mmm yyyy") = Aug 2014
    =TEXT(A1,"mmmm yyyy") = August 2014

    So, you want to make sure that all the monthly sheet names use the same format so you can use the same formula.

  13. #13
    Registered User
    Join Date
    08-16-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Hyperlink within workbook without changing the name of link

    Thank you so much for your help. My issue is resolved.

  14. #14
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Hyperlink within workbook without changing the name of link

    You're welcome. Thanks for the feedback!

+ 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. [SOLVED] Link formula referring to other workbook keeps changing.
    By leaning in forum Excel General
    Replies: 14
    Last Post: 06-07-2013, 03:15 AM
  2. Replies: 4
    Last Post: 10-04-2012, 01:42 AM
  3. Replies: 3
    Last Post: 02-26-2011, 01:19 AM
  4. How to link a document to a workbook with a hyperlink in excel
    By Jyoung4992 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-07-2005, 09:06 AM
  5. Changing bulk Link references to different workbook.
    By Simon Westenra in forum Excel General
    Replies: 2
    Last Post: 01-31-2005, 06:06 PM

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