+ Reply to Thread
Results 1 to 6 of 6

Lookup some text based on three criterias.

  1. #1
    Registered User
    Join Date
    05-11-2015
    Location
    Denmark, KBH
    MS-Off Ver
    2013
    Posts
    8

    Lookup some text based on three criterias.

    Hi.

    I'm new to the place, so I don't really know how this works.. But I have a work-related excel problem where I have to lookup some text from a cell, that's based on three criterias. I've tried using the sumproduct function, but it says I'm using the wrong type of data (I can only assume this means text).

    Any suggestions to a function I can use to find the corresponding data using three text criterias?

    //Peter

  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: Lookup some text based on three criterias.

    Hi,

    Welcome to the Forum.

    Can you please post a sample template of your workbook in excel format describing the different texts that you need to lookup?

  3. #3
    Registered User
    Join Date
    05-11-2015
    Location
    Denmark, KBH
    MS-Off Ver
    2013
    Posts
    8

    Re: Lookup some text based on three criterias.

    Kopi af Udkast.xlsx

    I've written an explanation in the excel to show you what I mean. Hopefully it makes sense.

    //Peter

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

    Re: Lookup some text based on three criterias.

    Hi,

    SUMPRODUCT won't work here coz you have text not numbers in the last column (Sheet4, Column Q). If you change them to numbers and modify your formula as following, it works.

    =SUMPRODUCT(--('Sheet 4'!A17:A28=H2),--('Sheet 4'!B17:B28=G2),--('Sheet 4'!C17:C28=I2),'Sheet 4'!Q17:Q28)



    Alternatively, you can use the following array formula, this needs to be confirmed by pressing CTRL+SHIFT+ENTER

    ={INDEX('Sheet 4'!A17:Q28,MATCH(H2&G2&I2,'Sheet 4'!A17:A28&'Sheet 4'!B17:B28&'Sheet 4'!C17:C28,0),17)}

    I have updated this in Sheet1 AN3
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-11-2015
    Location
    Denmark, KBH
    MS-Off Ver
    2013
    Posts
    8

    Re: Lookup some text based on three criterias.

    Wow, thanks a million. Really helpful!

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

    Re: Lookup some text based on three criterias.

    You are welcome.

    If that takes care of your question, please mark this thread as Solved by selecting Thread Tools --> Mark thread as solved. Also, I would like to inform you that you can thank those who have helped you by clicking on the * which is at the bottom left corner of the respective post.

+ 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. [SOLVED] LookUp Text by two criterias
    By dLhx in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-25-2015, 04:36 PM
  2. [SOLVED] Lookup for 2 criterias in 3 sheets.
    By thilag in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-26-2015, 11:30 PM
  3. [SOLVED] count if match based on two criterias not working with text
    By elrophin in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-30-2012, 06:28 PM
  4. Lookup with 2 different criterias
    By frostie77 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-13-2012, 10:14 AM
  5. [SOLVED] Lookup with 3 criterias
    By Ginger in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-30-2005, 05:06 PM

Tags for this Thread

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