+ Reply to Thread
Results 1 to 6 of 6

Extract Data from Range with Condition

  1. #1
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Extract Data from Range with Condition

    If Crt from B:B is I3, I need formula at T5, to the left.....
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Extract Data from Range with Condition

    Unable to understand your desired output and the conditions


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    10-30-2003
    Location
    Singapore
    MS-Off Ver
    Excel 2019
    Posts
    197

    Re: Extract Data from Range with Condition

    Perhaps,

    1] In Q5, CSE formula copied across right to T5

    =AGGREGATE(14,6,LOOKUP((ROW($1:$5)-1),MMULT(N(COLUMN($A:$E)<ROW($1:$6)),TRANSPOSE(INDEX($C$4:$G$7,MATCH($I$3,$B$4:$B$7,0),0))),$C$3:$G$3),COLUMN(A1))

    2] and, in P6 used the same CSE formula, copied across right to S6

    Regards
    Bosco

  4. #4
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Extract Data from Range with Condition

    Thank you so much but I messed up !
    So I have reattached the file.
    It the same but VERTICAL
    Attached Files Attached Files
    Last edited by ionelz; 09-04-2019 at 07:38 AM.

  5. #5
    Forum Contributor
    Join Date
    10-30-2003
    Location
    Singapore
    MS-Off Ver
    Excel 2019
    Posts
    197

    Re: Extract Data from Range with Condition

    The revised vertical Result Table can narrow down to one table with 2 dropdown list for selection, please see my attached file.

    1] I5, CSE formula copied down :

    =IF(ROWS($1:1)<=SUM(INDEX($C$4:$G$7,MATCH(I$3,$B$4:$B$7,0),0))*J$3,LOOKUP(MOD(ROWS($1:1)-1,SUM(INDEX($C$4:$G$7,MATCH(I$3,$B$4:$B$7,0),0))),MMULT(N(COLUMN($A:$E)<ROW($1:$6)),TRANSPOSE(INDEX($C$4:$G$7,MATCH(I$3,$B$4:$B$7,0),0))),$C$3:$G$3),"")

    2] J4 CSE formula copied down :

    =IF((I4<>"")*(I5=""),"Stop",IF(ROWS($1:1)<=SUM(INDEX($C$4:$G$7,MATCH(I$3,$B$4:$B$7,0),0))*J$3,LOOKUP(MOD(ROWS($1:1)-1,SUM(INDEX($C$4:$G$7,MATCH(I$3,$B$4:$B$7,0),0))),MMULT(N(COLUMN($A:$E)<ROW($1:$6)),TRANSPOSE(INDEX($C$4:$G$7,MATCH(I$3,$B$4:$B$7,0),0))),$C$3:$G$3),""))

    Regards
    Bosco
    Last edited by Bosco; 09-04-2019 at 11:05 AM.

  6. #6
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Extract Data from Range with Condition

    Thank you so much !

+ 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] Extract unique value from range a1:a500 with one condition
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 02-17-2018, 02:44 AM
  2. [SOLVED] Basing on the condition, needs to extract the data
    By sateesh konduru in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-10-2016, 02:38 PM
  3. [SOLVED] Computation for a range of data with a range of condition
    By Dewdrop in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-26-2015, 07:01 AM
  4. [SOLVED] Need Help to Extract data from required tab as per condition
    By Naveed Raza in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2013, 01:54 AM
  5. [SOLVED] Extract data that meets specific condition from large raw data
    By tekobayashi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-27-2012, 03:50 AM
  6. [SOLVED] Extract data based upon Yes/No condition
    By dramadog in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-07-2012, 05:15 PM
  7. Using condition to extract data by matching values from 2 different Excel files
    By schellam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-29-2005, 04:43 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