+ Reply to Thread
Results 1 to 11 of 11

Lookup cell value based on multiple criteria

  1. #1
    Registered User
    Join Date
    09-14-2015
    Location
    New Delhi
    MS-Off Ver
    2013
    Posts
    35

    Lookup cell value based on multiple criteria

    Request assistance to figure out a formula to pull data onto a table based on multiple criteria. I tried using the INDEX and MATCH formula but it gave an error. In screenshot below and in attached file as well, I have mentioned the requirement. Please advise and help.

    Will be helpful if could get a solution without VBA as I don't have much knowledge about it.


    Scrolable TableJPG.JPG


    Attachment 623155
    Attached Files Attached Files
    Last edited by cherias; 05-09-2019 at 06:46 AM. Reason: Added the updated screenshot

  2. #2
    Registered User
    Join Date
    09-14-2015
    Location
    New Delhi
    MS-Off Ver
    2013
    Posts
    35

    Re: Lookup cell value based on multiple criteria

    Hello @DavesExcel,

    Thanks for the suggestion but doesn't look like its working or at least I am not able to make it work.

    I tried using this formula : =SUM((A3:A21=I2)*(F3:F21="In Progress")*(B3:B21)) [ Column A = Priority No#, Cell I2 = Combo Reference, Column F = Status, Column B = Description]. So basically, I am putting criteria's on Priority and Status Column, so I can get the corresponding value in Description and that too only unique descriptions.

    The approach I am trying to follow is to have the separate table (show below) and get the extract from raw onto this, using formula. Then on the scrollable table I will use the index formula or offset formula to get the data.

    Scrolable Data Table Extract.JPG
    Last edited by cherias; 05-06-2019 at 01:53 PM.

  3. #3
    Registered User
    Join Date
    09-14-2015
    Location
    New Delhi
    MS-Off Ver
    2013
    Posts
    35

    Re: Lookup cell value based on multiple criteria

    Still the same using [=SUMPRODUCT((Data!A3:A21=Data!I2)*(Data!F3:F21="In Progress")*(Data!B3:B21))] . I am missing something and cant figure out what ? I tried by getting it into array formula as well (ctrl+shift+enter) but no working. Please advise.
    Last edited by cherias; 05-06-2019 at 11:01 PM.

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

    Re: Lookup cell value based on multiple criteria

    In H5 then copied across
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Registered User
    Join Date
    09-14-2015
    Location
    New Delhi
    MS-Off Ver
    2013
    Posts
    35

    Re: Lookup cell value based on multiple criteria

    Thank you for the help. However, I have few queries :-

    1) Will the formula change, if the extract has to be pulled to a different sheet than raw data. I tried applying the same formula on another sheet [Scrol Table Data], its not giving me results
    2) I assume that it wont matter if we have additional columns added in between the rows of the Raw Data
    3) Is it mandatory that the Raw Data has to start with a specific row, which is used in formula?

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

    Re: Lookup cell value based on multiple criteria

    In A2 then copied across
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 05-07-2019 at 10:46 AM.

  7. #7
    Registered User
    Join Date
    09-14-2015
    Location
    New Delhi
    MS-Off Ver
    2013
    Posts
    35

    Thumbs up Re: Lookup cell value based on multiple criteria

    Hello kvsrinivasamurthy,

    This works perfect. Thanks a lot for the help. Much appreciate the support. *

    Just a last query, how do we remove duplicates from the extracted list.

    Like as shown in the screenshot, the same risk no or description is showing multiple times due to the related entries in raw data. But how do get only unique entries based on unique description.

    Remove Duplicate from Extracted Data.JPG
    Last edited by cherias; 05-08-2019 at 09:51 PM.

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

    Re: Lookup cell value based on multiple criteria

    Duplicate means all the columns should have same data as shown in screen shot. Even one column data differs then it is not duplicate.

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

    Re: Lookup cell value based on multiple criteria

    Considering Column A and Column B together for duplicate here is the formula. Additional columns do not effect.
    In A2 then copied across.
    Please Login or Register  to view this content.
    Last edited by kvsrinivasamurthy; 05-09-2019 at 02:07 AM.

  10. #10
    Registered User
    Join Date
    09-14-2015
    Location
    New Delhi
    MS-Off Ver
    2013
    Posts
    35

    Re: Lookup cell value based on multiple criteria

    Works absolutely perfect .. Thanks a ton ..

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

    Re: Lookup cell value based on multiple criteria

    Welcome. Thanks for feed back.

+ 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 multiple cells with corresponding multiple criteria based on one table
    By eligt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-12-2018, 06:02 AM
  2. [SOLVED] How to lookup up a value based on multiple criteria?
    By Chris.Williams81 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-03-2015, 10:08 AM
  3. lookup for a value based on multiple criteria
    By holyexcel24 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2015, 04:12 AM
  4. Replies: 9
    Last Post: 08-20-2014, 04:43 PM
  5. [SOLVED] Lookup and sum multiple values based on a single criteria in multiple sheets.
    By paulsanett in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2014, 12:18 PM
  6. [SOLVED] vba lookup using multiple criteria based no cell values
    By rakeshr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2013, 07:11 AM
  7. Value Lookup based on Multiple Criteria
    By vanharca in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-01-2012, 11:22 AM

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