+ Reply to Thread
Results 1 to 8 of 8

hyperlink+vlookup

  1. #1
    Registered User
    Join Date
    04-21-2007
    Posts
    26

    hyperlink+vlookup

    hi

    in cell b2 i have a formula that contain hyperlink+vlookup.
    when i want to get this link ("push" cell b2) , i get this message "cannot open the specified file".
    what can i do ?
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: hyperlink+vlookup

    Try:

    =HYPERLINK("#"&CELL("Address",INDEX($A$4:$B$7,MATCH(A2,A4:A7,0),2)),VLOOKUP(A2,$A$4:$B$7,2,0))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-21-2007
    Posts
    26

    Re: hyperlink+vlookup

    thank's , but there is no other way ???

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: hyperlink+vlookup

    The formula has to return a cell address in order for it to get the link...

    what's wrong with the formula provided... the first part finds the address (using a variant of the Vlookup() formula) and the second part, returns the actual Vlookup() result...

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: hyperlink+vlookup

    Similar to NBVC but without use of CELL you could use:

    Please Login or Register  to view this content.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: hyperlink+vlookup

    Quote Originally Posted by DonkeyOte View Post
    Similar to NBVC but without use of CELL you could use:

    Please Login or Register  to view this content.
    Yeah, I was trying to figure out a way to get the Index function to return the cell address without the CELL() function, but it just wasn't working...

    I had tried: =HYPERLINK("#"&INDEX(B4:B7,MATCH(A2,A4:A7,0),1),VLOOKUP(A2,A4:B7,2,0))

    I guess the trick I missed was having the double-quotes around the Index() function too.

    but still not sure why this would be more satisfactory, if at all, to the OP. The result is the same without much added complexity.

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: hyperlink+vlookup

    Re: OP - yes not sure either

    CELL is Volatile so I'd opt for the other.

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: hyperlink+vlookup

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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