+ Reply to Thread
Results 1 to 5 of 5

Offset And Hlookup Combined

  1. #1
    Registered User
    Join Date
    10-12-2003
    Posts
    15

    Offset And Hlookup Combined

    I am trying to combine OFFSET and HLOOKUP but have some probs.

    I have a HLOOKUP that returns the correct value..........however instead of pulling that value... I would like to pull the value to the right 1 column.

    Example:
    =HLOOKUP($A$7,'JAN IND PROD'!$A$2:$Y$70,34,FALSE)

    But on the JAN IND PROD file I want to pull the column to the right of the 34 columns below the referenced A7. Make sense?

    I was thinking...

    =OFFSET(HLOOKUP($A$7,'JAN IND PROD'!$A$2:$Y$70,34,FALSE)-1,-2,1,1)

    But that does not work.....


    THANKS!

  2. #2
    Registered User
    Join Date
    10-12-2003
    Posts
    15
    Maybe leave off the ))??

  3. #3
    Registered User
    Join Date
    01-21-2005
    Posts
    4
    You need to use the Index and Match functions instead

  4. #4
    Registered User
    Join Date
    10-12-2003
    Posts
    15
    Thanks! I will try that...





    Quote Originally Posted by duality
    You need to use the Index and Match functions instead

  5. #5
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try the following...

    =INDEX('JAN IND PROD'!$A$2:$Y$70,34,MATCH($A$7,'JAN IND PROD'!$A$2:$Y$2,0)+1)

    Hope this helps!

    Quote Originally Posted by gacollege
    I am trying to combine OFFSET and HLOOKUP but have some probs.

    I have a HLOOKUP that returns the correct value..........however instead of pulling that value... I would like to pull the value to the right 1 column.

    Example:
    =HLOOKUP($A$7,'JAN IND PROD'!$A$2:$Y$70,34,FALSE)

    But on the JAN IND PROD file I want to pull the column to the right of the 34 columns below the referenced A7. Make sense?

    I was thinking...

    =OFFSET(HLOOKUP($A$7,'JAN IND PROD'!$A$2:$Y$70,34,FALSE)-1,-2,1,1)

    But that does not work.....


    THANKS!

+ 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