+ Reply to Thread
Results 1 to 8 of 8

Array Formula - Index / Match - Dedupe & filter criteria

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    California, United States
    MS-Off Ver
    Excel 2013
    Posts
    7

    Array Formula - Index / Match - Dedupe & filter criteria

    Hello Excel community!

    I have spent almost a week and been to dozens of sites trying to figure out a formula that I'm sure would take some of you only a few minutes to complete.

    The objective:
    Get unique values from one column then filter it further by a second column.

    The current formula in B2:B8 is an array formula (below) that indexes and dedupes the list in column D:

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


    Attached Example XLSX: ArrayFormula-Test.xlsx


    What I'm looking for now is to take the deduped list and then check to see if any of the values are in a second list in Column F where there is an "X" in Column G and filter those results out.

    Screenshot of the above Excel Attachment: Screenshot 2014-05-28 10.37.31.png

    I'm not sure if this is a nested IF statement or another Index/Match or a CountIF. I can do these functions separately but need it within a single array formula.

    Any help would be greatly appreciated.

    Thank you.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Array Formula - Index / Match - Dedupe & filter criteria

    Try..

    =IF(ROWS(A$1:A1)>COUNTBLANK($G$2:$G$8),"",INDEX($F$2:$F$8,SMALL(INDEX(($G$2:$G$8="")*(ROW($G$2:$G$8)-ROW($B$2)+1),),COUNTIF($G$2:$G$8,"<>")+ROWS(A$1:A1))))

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    07-24-2013
    Location
    California, United States
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Array Formula - Index / Match - Dedupe & filter criteria

    Thank you for the reply.

    I noticed that it doesn't reference Column D at all which is where the deduped list should come from. It would then be filtered by those matches in Column F that have an "x" in Column G. It is probably just a small change but wanted to get your input on that. Thanks for the help.
    Last edited by rtiger; 05-28-2014 at 05:53 PM.

  4. #4
    Registered User
    Join Date
    07-24-2013
    Location
    California, United States
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Array Formula - Index / Match - Dedupe & filter criteria

    Ace's response was great and it does filter results from Column F that have an "x" in column G.

    If anyone can help me combine this with the deduping of the results from Column D, I'd be greatly appreciative.

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

  6. #6
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Array Formula - Index / Match - Dedupe & filter criteria

    Maybe this should help you out, please have a look the file attach....

    Thanks
    Azumi
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-24-2013
    Location
    California, United States
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Array Formula - Index / Match - Dedupe & filter criteria

    This is EXACTLY what I was looking for. Thank you so much to ACE and Azumi for helping with this:

    The solution was the array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Array Formula - Index / Match - Dedupe & filter criteria

    Yes you're welcome, thanks for the feedback

+ 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. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  2. Replies: 4
    Last Post: 03-27-2014, 01:09 PM
  3. LOOKUP with Multiple Criteria (ARRAY INDEX and MATCH)
    By snowktt in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-14-2014, 02:24 AM
  4. [SOLVED] Index Match in an Array 2 Criteria
    By Dendrinos2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2013, 08:24 PM
  5. Replies: 6
    Last Post: 04-12-2013, 05:50 AM

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