+ Reply to Thread
Results 1 to 3 of 3

Return unique values based on other column

  1. #1
    Forum Contributor
    Join Date
    07-13-2017
    Location
    Hong Kong
    MS-Off Ver
    MS Office 365
    Posts
    481

    Return unique values based on other column

    Hi all,

    I need to analyse the unique values within a range while neglecting zeros and blanks, but only from a certain category ("BOTTOMS" & "KNITS"). So far I have only managed to return the unique values but including 0. For some reason it does not ignore 0?? See sample file attached...
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Return unique values based on other column

    When you use the + sign in your array formula, Excel is treating the condition as the OR operator. The correct formula should be

    =IFERROR(INDEX($C$3:$C$1000,MATCH(0,IF((("BOTTOMS"=$D$3:$D$1000)+("KNITS"=$D$3:$D$1000))*($C$3:$C$1000<>0),COUNTIF($F$2:$F2,$C$3:$C$1000),""),0)),"")

  3. #3
    Forum Contributor
    Join Date
    07-13-2017
    Location
    Hong Kong
    MS-Off Ver
    MS Office 365
    Posts
    481

    Re: Return unique values based on other column

    Thanks!! so all I was missing was a bracket
    Last edited by esbencito; 05-31-2018 at 02:49 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. Replies: 8
    Last Post: 05-24-2018, 01:37 PM
  2. Return Multiple Text Reslts Sorted Based Unique Values in another Column
    By Fin Fang Foom in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-10-2015, 12:01 AM
  3. [SOLVED] Return Sequential Numbers Based on Unique Values
    By HangMan in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-06-2015, 08:13 PM
  4. Replies: 2
    Last Post: 08-19-2015, 10:22 AM
  5. Replies: 6
    Last Post: 07-24-2015, 11:40 PM
  6. Return number of unique values based on values in other column
    By Medir in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-26-2013, 11:17 AM
  7. [SOLVED] Return unique values based on another column's value
    By bd528 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-26-2013, 04:02 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