+ Reply to Thread
Results 1 to 5 of 5

Hyperlink to last used text cell plus one on a different worksheet.

Hybrid View

  1. #1
    Registered User
    Join Date
    08-07-2012
    Location
    Tasmania, Australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Hyperlink to last used text cell plus one on a different worksheet.

    Hi,

    I am trying to put a series of hyperlinks on worksheet #1 that acts as an index.

    I want the hyperlink to jump to the next unused cell in column C on, for example, a worksheet called "COKE & COAL" The user can then put the next row of data in.

    I have got as far as

    =HYPERLINK("#COKE!"&ADDRESS(MATCH(REPT("z",255),COKE!C:C),3),LOOKUP(REPT("z",255),COKE!C:C))

    Qn 1. How do I make it go plus one row down?

    Qn 2. Can I use the insert hyperlink function and put the formula in the cell reference? This will enable me to label the hyperlink cell COKE & COAL.

    Qn 3. Also found that the above formula does not allow for characters and spaces in the sheet name - thefore the truncation to COKE. Can I have COKE & COAL? Just easier to use COKE??

    Thanks,


    Ben.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Hyperlink to last used text cell plus one on a different worksheet.

    Assuming the hyperlinked column contains text values...
    try this regular formula:
    =HYPERLINK("#'COKE & COAL'!"&ADDRESS(MATCH(REPT("z",255),'COKE & COAL'!C:C)+1,3),
    LOOKUP(REPT("z",255),'COKE & COAL'!C:C))
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    08-07-2012
    Location
    Tasmania, Australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Hyperlink to last used text cell plus one on a different worksheet.

    Thanks Ron.

    =HYPERLINK("#'COKE & COAL'!"&ADDRESS(MATCH(REPT("z",255),'COKE & COAL'!C:C)+1,3) works as I want it to. I can see the aspostphes on COKE & COAL and the +1. Figured it was +1 just not sure where.

    Is the a way I can change the underlined 0 to a sensible label? Without macros or code etc. Some people at work dont like enabling macros on their PC.

    When I cut and pasted the LOOKUP(REPT("z",255),'COKE & COAL'!C:C)) dropped into the next cell. And so it was not necessary.
    Last edited by Ben Verbeeten; 09-02-2012 at 10:20 AM.

  4. #4
    Registered User
    Join Date
    08-07-2012
    Location
    Tasmania, Australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Hyperlink to last used text cell plus one on a different worksheet.

    Thought I could fix the label with cutom cell format to "COKE & COAL"

    But once you click the link it goes to #'COKE & COAL'!$C$###
    Last edited by Ben Verbeeten; 09-02-2012 at 10:51 AM.

  5. #5
    Registered User
    Join Date
    08-07-2012
    Location
    Tasmania, Australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Hyperlink to last used text cell plus one on a different worksheet.

    Hi Ron,

    For some reason I couldn't get the friendly name to work. Works fine now!!! So with the friendly name tacked on the end the working formula is.......

    =HYPERLINK("#'COKE & COAL'!"&ADDRESS(MATCH(REPT("z",255),'COKE & COAL'!C:C)+1,3),"COKE & COAL")

    Solved. Looks good, link works.

+ 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