Consulting

Results 1 to 5 of 5

Thread: combining vlookup & hlookup

  1. #1
    VBAX Mentor jammer6_9's Avatar
    Joined
    Apr 2007
    Location
    Saudi Arabia
    Posts
    318
    Location

    combining vlookup & hlookup

    How can I combine vlookup & hlookup?

    =INDEX('DRILLDOWN DATA'!AZ,MATCH($A$4,A:A,0),MATCH($E$1,'DRILLDOWN DATA'!1:1,0))
    Attached Files Attached Files
    T-ogether
    E-veryone
    A-chieves
    M-ore


    One who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Try

    =INDEX('DRILLDOWN DATA'!$A:$DZ,MATCH($A$4,'DRILLDOWN DATA'!$A:$A,0),COLUMN())
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Mentor jammer6_9's Avatar
    Joined
    Apr 2007
    Location
    Saudi Arabia
    Posts
    318
    Location
    What a .... I was twisting the formula for almost an hour and you did in a minute ... Thanks!

    Quote Originally Posted by xld
    Try

    =INDEX('DRILLDOWN DATA'!$A:$DZ,MATCH($A$4,'DRILLDOWN DATA'!$A:$A,0),MATCH($E$1,'DRILLDOWN DATA'!$1:$1,0))
    T-ogether
    E-veryone
    A-chieves
    M-ore


    One who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever.

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Note, I amended it to make it more usable for all columns.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Mentor jammer6_9's Avatar
    Joined
    Apr 2007
    Location
    Saudi Arabia
    Posts
    318
    Location
    Thanks xld. But that one I have managed

    Quote Originally Posted by xld
    Note, I amended it to make it more usable for all columns.
    T-ogether
    E-veryone
    A-chieves
    M-ore


    One who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •