+ Reply to Thread
Results 1 to 3 of 3

Multiple Lookups to get result

  1. #1
    Forum Contributor
    Join Date
    11-20-2009
    Location
    Melbourne
    MS-Off Ver
    Excel 365
    Posts
    263

    Multiple Lookups to get result

    Hi everyone. I have attached a sample spreadsheet with the required data and the outcome I need in bold.
    I need to pick out a cost from one column based on the selections made in Columns A, C and D.
    I assume it would be an INDEX/MATCH formula, but that's where it ends for me.
    Could someone advise what the formula would be?
    If I Select the Day, the time worked and the level of the person, I would like the formula to look up the corresponding Rate in the columns of Rates on the right of the spreadsheet.
    Thank you for your assistance/answers.
    Attached Files Attached Files

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

    Re: Multiple Lookups to get result

    Based on your sample file, this works,

    =SUMPRODUCT((G$2:G$19=TEXT(B2,"dddd"))*(H$2:H$19=C2),INDEX(I$2:N$19,0,MATCH(D2,I$1:N$1,0)))
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Multiple Lookups to get result

    Try this array formula** entered in E2:

    =INDEX(I$2:N$19,MATCH(1,IF(G$2:G$19=TEXT(B2,"dddd"),IF(H$2:H$19=C2,1)),0),MATCH(D2,I$1:N$1,0))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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