+ Reply to Thread
Results 1 to 6 of 6

Non Array to extract values if condition is met

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

    Non Array to extract values if condition is met

    Looking for non-array formula to look into A2:C10 and extract the correct values using E1 as the requirement to pull values into G2:G6 and H2:H6. Desired outcome is in G2:G6 and H2:H6. See sample file.

    Requirement: E1: Feb, Mar

    Thanks
    Last edited by bjnockle; 04-27-2021 at 08:02 PM.

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Non Array to extract values if condition is met

    Try this in G2:

    =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(A$2:A$10)/($C$2:$C$10=$E$1),ROWS(G$2:G2))),"")

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

    Re: Non Array to extract values if condition is met

    Phuocam: Not pulling correctly when I adjusted the formula to this:

    Please Login or Register  to view this content.
    Please help fix. Thanks

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Non Array to extract values if condition is met

    =IFERROR(INDEX($A$2:$A$10,AGGREGATE(15,6,ROW(A$2:A$10)/($C$2:$C$10=$E$1),ROWs(G$2:G2))-1),"")

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

    Re: Non Array to extract values if condition is met

    Phuocam: Proposed formula (
    Please Login or Register  to view this content.
    solution works pulling values in column A into column G. Would like a non-array to pull the corresponding values (column B - dates) for column A to be pulled into column H.

    Thanks

  6. #6
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Non Array to extract values if condition is met

    use the formula provided in post#2, in G2, and copy down and to right and you will get the desired results in both Cols G (A) & H (B)

    Quote Originally Posted by Phuocam
    =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(A$2:A$10)/($C$2:$C$10=$E$1),ROWS(G$2:G2))),"")
    there is no need to modify the initial INDEX range from A:A

+ 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 from F15:S20 into F3:S10 if Condition Met
    By bjnockle in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 04-26-2021, 11:52 PM
  2. Extract Values into Column F if Condition is Met
    By bjnockle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-08-2021, 09:22 PM
  3. Extract Values If Condition is Satisfied
    By bjnockle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-11-2021, 04:40 AM
  4. Extract values with non-array formula if condition met
    By bjnockle in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-02-2020, 08:14 PM
  5. Extract values based on one condition
    By bjnockle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-26-2017, 04:24 AM
  6. [SOLVED] Extract values with condition (VBA)
    By izk630 in forum Excel General
    Replies: 3
    Last Post: 01-24-2017, 04:51 PM
  7. Extract corresponding multiple values after the condition is met
    By akshay20 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-23-2015, 09:24 AM

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