+ Reply to Thread
Results 1 to 4 of 4

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

  1. #1
    Registered User
    Join Date
    06-03-2004
    Posts
    34

    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 02:24 PM. Reason: Solved

  2. #2
    Valued Forum Contributor
    Join Date
    12-14-2009
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    986

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

    Something like this?
    To thank someone who has helped you, click on the star icon below their name.

    I hate reading

    Portfolio

    I need a job.
    I am young and incompetent

  3. #3
    Valued Forum Contributor Haseeb A's Avatar
    Join Date
    05-24-2011
    Location
    India | Kwt
    MS-Off Ver
    2007
    Posts
    1,453

    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$1 3)

    Copy down & across
    HTH; Haseeb

    If your problem is solved, please say so clearly, and mark your thread as Solved:
    Forum Rules & How to Mark a thread as SOLVED

  4. #4
    Registered User
    Join Date
    06-03-2004
    Posts
    34

    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.2.0