+ Reply to Thread
Results 1 to 2 of 2

doing a lookupbased on 2 values

  1. #1
    Forum Contributor
    Join Date
    08-14-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2010
    Posts
    257

    doing a lookupbased on 2 values

    Hi All,

    I have attached a spreadsheet to show the example I am trying to get this to work with.
    I have a drop down box with the months in. and I want the cell on sheet2 C3 to display the value that is in the column "Com" related the the name in col A but the data is clustered together by 4 columns per month so a vlookup wont work so maybe an array or match.

    Can anyone offer some assistance?

    lookup2.xls

    Thanks

    John

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,416

    Re: doing a lookupbased on 2 values

    Put this in C3:

    =INDEX(Sheet1!$B$3:$I$6,MATCH($A3,Sheet1!$A$3:$A$6,0),MATCH(C$1,Sheet1!$B$1:$I$1,0)+1)

    Hope this helps.

    Pete

+ 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