+ Reply to Thread
Results 1 to 4 of 4

Lookup Values from three different columns in a table matrix

  1. #1
    Forum Contributor
    Join Date
    06-03-2004
    Location
    India
    MS-Off Ver
    2013
    Posts
    205

    Arrow Lookup Values from three different columns in a table matrix

    Hello All
    I am using Excel 2010 and have the problem as shown in the attached file.

    There are 3 Sheets Report, EmpName,Target

    Range Names - EmpName, EmpTable,MonthHeader,YearHeader

    I am trying to look up for Targets for each Year against each Employee Name entered in Cell B2 in the Report Sheet

    I tried the formula which gives the #REF Error

    =VLOOKUP($B$2,EmpTable,INDEX(EmpTable,MATCH(A7,MonthHeader,0),MATCH($D$6,YearHeader,0)))

    Can anyone guide me with this problem?

    Thanks in advance.
    Rashid
    Attached Files Attached Files
    Last edited by prkhan56; 12-23-2011 at 03:24 PM. Reason: Solved

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Lookup Values from three different columns in a table matrix

    Something like this?

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Lookup Values from three different columns in a table matrix

    Hello Rashid, Try this,

    =SUMPRODUCT((Target!$A$2:$A$13=$B$2)*(Target!$B$2:$B$13=B$6)*(Target!$C$1:$N$1=$A7),Target!$C$2:$N$13)

    Copy down & across
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Forum Contributor
    Join Date
    06-03-2004
    Location
    India
    MS-Off Ver
    2013
    Posts
    205

    Re: Lookup Values from three different columns in a table matrix

    Thank you
    Both Solutions are perfect.

    Rashid

+ 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