+ Reply to Thread
Results 1 to 2 of 2

Return subsequent list based on true/false array

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    MI
    MS-Off Ver
    Excel 2010
    Posts
    1

    Return subsequent list based on true/false array

    I have an array of true/false values in P15:49. In R15:49 corresponding items show if the value is true, are hidden if the value is false. I need to aggregate these selectively shown items into a subsequent list (no spaces in between rows) with a function....?

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Return subsequent list based on true/false array

    Welcome to the forum.

    If you're OK to use a helper column (which can be hidden) then this is one way:
    I'll use column S for the helper, so in cell S15 this: =IF(P15=TRUE,ROW(),"") and drag down to S49
    In the cell where you want your list to start place this: =IF(COUNT($S$15:$S$49)>ROW(A1)-1,INDEX(R:R,MATCH(SMALL(S:S,ROW(A1)),S:S)),"")
    and drag that down for 35 rows

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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