+ Reply to Thread
Results 1 to 6 of 6

Vlookup and Hlookup combined

  1. #1
    Forum Contributor
    Join Date
    09-29-2011
    Location
    Cape Town
    MS-Off Ver
    Excel 2010
    Posts
    107

    Vlookup and Hlookup combined

    Hi,

    I'm not sure if I need a vlookup and and hlookup in a single formula.

    I have attached a workbook. In short I have two tables and the cells highlighted in yellow need to pull the correct figures from the above table. Basically it need to read off an intersection.

    Any help would be appreciated.

    Thanks!
    Attached Files Attached Files
    Last edited by concatch; 10-30-2013 at 10:30 AM.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Vlookup and Hlookup combined

    =INDIRECT(ADDRESS(MATCH(A3,A$10:A$11,0)+9,MATCH(B3,B$9:C$9,0)+1))
    In C3 and copy down

  3. #3
    Forum Contributor
    Join Date
    01-30-2013
    Location
    Wales
    MS-Off Ver
    Excel 2013
    Posts
    231

    Re: Vlookup and Hlookup combined

    Add a helper column to the left of your table. Concatenate both columns to create the lookup value. =B3&C3 works

    In your table concatenate the vertical and horizontal elements in your extended table.

    =VLOOKUP($B10&C$9,$A$2:$D$6,4,FALSE)

    Hey Presto. Hide column A if you don't want to see it.

    Hope this helps

    Chris
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    09-29-2011
    Location
    Cape Town
    MS-Off Ver
    Excel 2010
    Posts
    107

    Re: Vlookup and Hlookup combined

    Thanks Chris! Brilliant solution and also dynamic.

  5. #5
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Vlookup and Hlookup combined

    Ooops, sorry, misread your post and did it backwards:
    =INDEX($C$3:$C$6,MATCH(INDEX($A:$A,ROW(B10))&INDEX($9:$9,COLUMN(B10)),$A$3:$A$6&$B$3:$B$6,0))

    That's another option without a helper column. It's an array formula so needs confirming with ctrl+shift+enter, drag across/down as neccessary.

  6. #6
    Registered User
    Join Date
    01-03-2017
    Location
    DELHI , INDIA
    MS-Off Ver
    2007
    Posts
    3

    Re: Vlookup and Hlookup combined

    concatch
    Vlookup and Hlookup combined

    Hi,

    I'm not sure if I need a vlookup and and hlookup in a single formula.

    I have attached a workbook. In short I have two tables and the cells highlighted in yellow need to pull the correct figures from the above table. Basically it need to read off an intersection.

    Any help would be appreciated.


    Hey Buddy here is the solution of your problem. You can download the sheet and check it.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Is there a combined VLOOKUP & HLOOKUP function?
    By AndyGW in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-04-2012, 10:08 AM
  2. [SOLVED] VLookup and HLookup Combined?
    By Jmarsh4 in forum Excel General
    Replies: 2
    Last Post: 05-15-2012, 01:44 PM
  3. Hlookup and Vlookup Combined (Match?)
    By batman1056 in forum Excel General
    Replies: 3
    Last Post: 06-21-2010, 04:33 PM
  4. VLookup and Hlookup combined using separate workbooks
    By trentonm in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-29-2008, 03:18 PM
  5. Offset And Hlookup Combined
    By gacollege in forum Excel General
    Replies: 4
    Last Post: 01-28-2005, 01:45 PM

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