+ Reply to Thread
Results 1 to 6 of 6

Need help to correct an ADDRESS & MATCH formula for Hyperlinking hlookup result

  1. #1
    Registered User
    Join Date
    04-06-2012
    Location
    India
    MS-Off Ver
    Pro Plus 2019
    Posts
    86

    Need help to correct an ADDRESS & MATCH formula for Hyperlinking hlookup result

    Hi!

    I need help in correcting a formula
    Please Login or Register  to view this content.
    that gives the result of a hlookup and also hyperlinks so that I can go directly to the result cell.

    The formula works correctly for results that come from VLOOKUP
    Please Login or Register  to view this content.
    but fails for HLOOKUP.

    On analysis I found that the formula for ADDRESS & MATCH combination
    Please Login or Register  to view this content.
    is probably the culprit that is pointing to the correct distance in vertical direction but vertically even for hlookup function.

    Any help in identifying as to what am I missing here, so that it works for HLOOKUP also?

    SAMPLE FILE ATTACHED

    Regards,

    Naira
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Need help to correct an ADDRESS & MATCH formula for Hyperlinking hlookup result

    The syntax of the Address function is

    =ADDRESS(ROW#,COLUMN#,abs,a1,sheettext)

    You seem to have the Row and Column reversed.

  3. #3
    Registered User
    Join Date
    04-06-2012
    Location
    India
    MS-Off Ver
    Pro Plus 2019
    Posts
    86

    Re: Need help to correct an ADDRESS & MATCH formula for Hyperlinking hlookup result

    Quote Originally Posted by Jonmo1 View Post
    The syntax of the Address function is

    =ADDRESS(ROW#,COLUMN#,abs,a1,sheettext)

    You seem to have the Row and Column reversed.
    Hi!
    I know the syntax but I still cant get it to work.
    Can someone please give the exact formula or modify it in the attached worksheet?

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Need help to correct an ADDRESS & MATCH formula for Hyperlinking hlookup result

    I'm not sure of that..

    =ADDRESS(MATCH(D2,Sheet3!$A$1:$Z$1,0),2,,,)

    What is the MATCH function doing? Finding the COLUMN Number where D2 exists in A1:Z1.
    But you put that in the ROW# part of the Address function.

    So you probably want
    =ADDRESS(2,MATCH(D2,Sheet3!$A$1:$Z$1,0),,,)

  5. #5
    Registered User
    Join Date
    04-06-2012
    Location
    India
    MS-Off Ver
    Pro Plus 2019
    Posts
    86

    Re: Need help to correct an ADDRESS & MATCH formula for Hyperlinking hlookup result

    Quote Originally Posted by Jonmo1 View Post
    So you probably want
    =ADDRESS(2,MATCH(D2,Sheet3!$A$1:$Z$1,0),,,)
    PERFECT!!!

    Thanks it works now

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Need help to correct an ADDRESS & MATCH formula for Hyperlinking hlookup result

    You're welcome

+ 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