+ Reply to Thread
Results 1 to 5 of 5

Three Way Lookup

  1. #1
    Registered User
    Join Date
    08-23-2017
    Location
    lulu
    MS-Off Ver
    2016
    Posts
    57

    Three Way Lookup

    Hi,

    i need your help guys.

    I have difficulties with a three way lookup.
    In sheet 2 is stated how much keys are per company and the dates.
    In sheet 1 in cel B3 i want a formula that searchs in sheet2 for the right match of the company and date and give the number of keys.
    i want this formula for all cells in sheet 1.

    Kind regards,

    Kareeem
    Attached Files Attached Files

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Three Way Lookup

    Try the following array formula in B3:

    =IFERROR(INDEX(Sheet2!$A$1:$C$183,MATCH($A3&B$2,Sheet2!$A$1:$A$183&Sheet2!$B$1:$B$183,0),3),"")

    to be confirmed by pressing CTRL+SHIFT+ENTER

    drag across and down the cells.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-23-2017
    Location
    lulu
    MS-Off Ver
    2016
    Posts
    57

    Re: Three Way Lookup

    hi Cbatrody,

    i tried it on the companies excel doc but it didn't work.
    attached the doc that i use within the company

    kind regards,

    Kareem
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,063

    Re: Three Way Lookup

    Adapt cbatrody's formula to as follow:

    F6=IFERROR(INDEX(Blad1!$A$1:$D$183,MATCH($E6&F$5,Blad1!$A$1:$A$183&Blad1!$B$1:$B$183,0),4),"")

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Three Way Lookup

    Try this, in F6 then drag down

    =SUMPRODUCT((Blad1!$A$1:$A$183=$E6)*(Blad1!$B$1:$B$183=F$5)*(Blad1!$D$1:$D$183))

+ 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. Two Lookup and Return (Lookup the column, then lookup the row)
    By Branbran10 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-05-2015, 04:55 PM
  2. Replies: 4
    Last Post: 05-19-2015, 08:42 PM
  3. Replies: 3
    Last Post: 04-08-2014, 03:11 AM
  4. Replies: 2
    Last Post: 05-19-2013, 08:46 AM
  5. Replies: 1
    Last Post: 11-07-2012, 01:57 PM
  6. Search lookup array to find lookup value contained within text string
    By Cookstein2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-02-2011, 09:42 AM
  7. Replies: 7
    Last Post: 06-19-2011, 12:51 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