+ Reply to Thread
Results 1 to 4 of 4

Array formula to return a table excluding rows meeting a certain criteria

  1. #1
    Registered User
    Join Date
    09-12-2013
    Location
    Lausanne, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Array formula to return a table excluding rows meeting a certain criteria

    Good morning,

    I have this array formula that returns values from one table that contains blank rows (named CRSdata) into a new one without blanks:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I need to enhance it to skip not only the blank rows, but also the rows in which the values in column G are TRUE.

    I will be eternally grateful to anyone able to solve this conundrum!

  2. #2
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Array formula to return a table excluding rows meeting a certain criteria

    I have included two conditions to generate the final result.

    Please try this logic.
    Attached Files Attached Files
    Last edited by ramananhrm; 09-12-2013 at 05:29 AM.
    Please click 'Add reputation', if my answer helped you.

  3. #3
    Registered User
    Join Date
    09-12-2013
    Location
    Lausanne, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Array formula to return a table excluding rows meeting a certain criteria

    Thank you ramananhrm, I think this is correct, however it only works with single column tables..how would you have to modify the formula to make it work for a table with more than one column (as in the attached file)?

    puckman.xlsx

    Sorry if this sounds dumb but I'm not the one who created that formula and I'm struggling a bit to get my head around it and make it work for my purpose!
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Array formula to return a table excluding rows meeting a certain criteria

    You can modify the condition according to your desired result. (Marked in red)

    =IFERROR(INDEX($B$2:$B$33,SMALL(IF($A$2:$A$33&$B$2:$B$33<>"",IF(OR($A$2:$A$33<>"West",$B$2:$B$33<>"West",),ROW($B$2:$B$33)-ROW($B$2)+1)),ROWS(D$2:D2))),"")

    (Ctrl+Shift+Enter is required)
    Last edited by ramananhrm; 09-12-2013 at 07:56 AM.

+ 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] Formula to return specific text based on multiple cells meeting a single criteria
    By missydanni in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2013, 09:48 AM
  2. [SOLVED] Use array to get the total sum meeting some criteria?
    By BNCOXUK in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-14-2013, 01:55 PM
  3. [SOLVED] Array Formula to Lookup and Return All Rows in Table that Meet Single Criteria
    By Torkel74 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-15-2013, 10:41 PM
  4. Replies: 2
    Last Post: 12-25-2012, 08:49 AM
  5. Return Info After Meeting 2 Criteria
    By sabunabu in forum Excel General
    Replies: 13
    Last Post: 09-27-2007, 04:51 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