+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Registered User
    Join Date
    10-16-2008
    Location
    home
    Posts
    20

    how can I display another cell as hyperlink text?

    Hi, I'm new here and pretty new to excel. I have recently moved jobs and need to use excel alot more than previously and have found one or two stumbling blocks.
    I have a workbook that has a main sheet which provides stats from other sheets within the workbook. I have a hyperlink which goes to a certain place of sheet 2 and the displayed text shows the contents of a cell on sheet 2.
    I know it's possible to have the hyperlink go to a certain cell on another workbook as opposed to worksheet, but I cant display the contents of a cell on another workbook as the text on the hyperlink.
    I'm sorry if this seems confusing, but I dont really know how else to explain it!
    Thanks in advance for any help.

    Scouse.
    Last edited by scorpioscouse; 10-16-2008 at 12:17 PM.

  2. #2
    Forum Contributor
    Join Date
    10-16-2008
    Location
    Iowa
    Posts
    120
    If I understand you, you want workbook 1, sheet 1 to display the contents of workbook 2, sheet 1. If so then open both workbooks, select cell in workbook 2 and paste link into cell in workbook 1. It will look something like this: =[Book2.csv]Sheet1!$D$1

  3. #3
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    618
    I think this is what you need


    Code:
    =HYPERLINK("[TEST.XLS]Sheet1!A1",Sheet1!A1)

  4. #4
    Registered User
    Join Date
    10-16-2008
    Location
    home
    Posts
    20
    kinda.. I'll try to explain a little better.
    ok, I have value X in book1, sheet1, A1. I would like a hyper link on book2 to link to the cell on book 1. On the text to display for the hyperlink I would like it to show the contents of the cell on book1.
    I have done it for different sheets, but not work books. The code I used was
    Code:
    =sheet2!a1
    and I wrote this in the 'text to display' box so that on sheet 1 the hyper link displayed whatever was in cell A! on sheet 2 and acted as a hyperlink to that cell.

    Thanks again.

    Scouse.

  5. #5
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    618
    Ok, I think I understand now
    1. any cell, key in "=", then go to the target cell whose content you want to display
    2. then press enter
    3. close the target cell, you will see the full address of the workbook and worksheet and cell
    4. copy the formula to "Text to display"

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944
    This displays the contents of A1 on sheet1 in book3.xls

    =HYPERLINK("#[Book3.xls]Sheet1!$A$1",[Book3.xls]Sheet1!$A$1)
    Cheers
    Andy
    www.andypope.info

  7. #7
    Registered User
    Join Date
    10-16-2008
    Location
    home
    Posts
    20
    The link works Andy, but the displayed text is "0" and not what is shown in the target cell.. I'm sorry to be an ***, but I can't figure it out!

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944
    0 would suggest the cell being linked to is empty.

    Let's start simple, can you get it to work when all the information is on the same sheet?
    Cheers
    Andy
    www.andypope.info

  9. #9
    Registered User
    Join Date
    10-16-2008
    Location
    home
    Posts
    20
    yea. I can link from one cell to another and display the contents of the target in the cell that is hyperlinked. I can also link to another sheet in the book and also display the contents of the target on sheet2 in the cell on sheet1. The problem comes when trying to link to another book all together. The link works, and it opens the target book and selects the target cell, but it wont echo the contents and display that as the text for the link. Do I make any sense? :D

  10. #10
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944
    It makes sense but it is not what I get when testing.
    What version are you using?
    Cheers
    Andy
    www.andypope.info

  11. #11
    Registered User
    Join Date
    10-16-2008
    Location
    home
    Posts
    20
    ermm pass! Probably an old one cause I work for the DWP :oD

    It says Microsoft office XP enterprise edition?!?!?!?!?!

  12. #12
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944
    I just tested in xl2000, version prior to yours, and it works.

    Again the displaying of 0 would indicate the cell the 'Friendly_name' text is referencing is empty.
    Cheers
    Andy
    www.andypope.info

  13. #13
    Registered User
    Join Date
    10-16-2008
    Location
    home
    Posts
    20
    hmm. Ok, the code you wrote up there ^^^ should I put this in the function bar or do I make the cell a hyperlink and put the string into the 'TEXT TO DISPLY' box?!?

    Sorry to be such a noob!

  14. #14
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944
    That's a worksheet function so would go in a cell.
    Cheers
    Andy
    www.andypope.info

  15. #15
    Registered User
    Join Date
    10-16-2008
    Location
    home
    Posts
    20
    would it make a difference if the workbooks were on a shared network?
    When I paste that function in it displays "1" when the value on sheet 3 is "5" and the function line is changed to
    Code:
    =HYPERLINK("#[Book3.xls]Sheet1!$A$1",'\\DFZ72594\Data\199711015\workgroup\RPCfat\CFAT\UNASSIGN\UNASSIGNED RECEIPTS MANAGEMENT\ARAT General Info\Name Search Rota\[Book3.xls]Sheet1'!$A$1)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to display text & fractions, referencing another cell?
    By stir-crazy in forum Excel General
    Replies: 4
    Last Post: 03-02-2011, 12:53 PM
  2. Replies: 2
    Last Post: 03-13-2008, 01:18 PM
  3. Replies: 2
    Last Post: 01-24-2008, 11:24 PM
  4. Replies: 5
    Last Post: 08-29-2007, 10:32 AM
  5. Cell to display one of twelve cells that have data..
    By kAustin79 in forum Excel Worksheet Functions
    Replies: 1
    Last Post: 08-23-2007, 01:43 AM

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.2.0