+ Reply to Thread
Results 1 to 5 of 5

Extract Values If Conditions are Satisfied

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Extract Values If Conditions are Satisfied

    Looking for non-array (preferred) formula to look into A2:E294 and extract values into M2:Q19 if conditions in I2, J2:J3 and K2:K3 are met. Note: When you check one of the check boxes in G2:G5, column I will be populated. If you select 2 check boxes, column I will populated as I2:I3 and the formula should pull based on this.

    Desired outcome is in M2:Q19.

    See sample file

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,633

    Re: Extract Values If Conditions are Satisfied

    1) Could you manual input the expected results for second "What", i.e, "MM"?
    2) Non array formula, it should require helper columns. Is it allowed?
    Quang PT

  3. #3
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Extract Values If Conditions are Satisfied

    bebo021999:
    Non array formula, it should require helper columns. Is it allowed? Yes.
    Could you manual input the expected results for second "What", i.e, "MM"? No. You have to check the check box for MM. If you check the check box for MM, you will have MM and Level - B in column I2:I3 and the non-array formula will have to pull values for both MM and Level-B.

    See sample file.

    Thanks
    Attached Files Attached Files
    Last edited by bjnockle; 07-06-2021 at 11:18 PM.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    18,521

    Re: Extract Values If Conditions are Satisfied

    This proposal employs a helper column (F) which may be moved and/or hidden for aesthetic purposes.
    The helper column is populated using: =SUMPRODUCT((I$2:I$5=A2)*(I$2:I$5<>"")+(J$2:J$5=C2)*(J$2:J$5<>"")+(K$2:K$5=E2)*(K$2:K$5<>""))=3
    The range M2:Q19 is populated using: =IFERROR(INDEX(A$2:A$294,AGGREGATE(15,6,(ROW($A$2:$A$294)-ROW($A$1))/($F$2:$F$294=TRUE),ROWS($A$1:$A1))),"")
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2408 and WPS V2024(12.1.0.18543)
    Posts
    3,834

    Re: Extract Values If Conditions are Satisfied

    Because of the tables and information you provided, it is obvious that array formulas must be used, and helper columns must be added to non-array formulas.
    Provide array formula solutions , Cell M2 array formula , Drag down and across

    HTML Code: 

+ 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. Extract Values If Condition is Satisfied
    By bjnockle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-11-2021, 04:40 AM
  2. [SOLVED] Return an answer if 4 conditions are satisfied
    By allen003 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-03-2020, 11:14 AM
  3. [SOLVED] compute an average if certain conditions are satisfied
    By anita2017 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-07-2017, 10:29 AM
  4. Replies: 5
    Last Post: 08-18-2016, 09:13 AM
  5. Extract values if condition is satisfied
    By bjnockle in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-26-2014, 08:39 AM
  6. Linked Lookup IF 2 conditions are satisfied
    By reghu in forum Excel General
    Replies: 0
    Last Post: 09-01-2010, 07:13 AM
  7. Replies: 10
    Last Post: 08-28-2008, 06:45 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