+ Reply to Thread
Results 1 to 3 of 3

Find Unique Values - Need Not Array Formula

  1. #1
    Registered User
    Join Date
    11-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    99

    Find Unique Values - Need Not Array Formula

    I would be very appreciative of a help to come up with not array formula for finding unique values in column "D" that correspond each value in column "A" and insert the formula into the column "B". I need return 1 if the value is unique and zero if not unique. This table will be an input for a pivot table and will allow to count unique Product IDs for each Campaign in column "A".

    Column "A" contains a formula as well. The formula to find unique values that I inserted in column "B" is an array that really slows down the performance of the workbook that already has two data connectors and 8 pivot tables.

    The array formula used in B2: {=IF(SUMPRODUCT(($A$2:$A2=A2)*($D$2:$D2=D2))>1,0,1)}

    Sample data is attached.


    Find Unique Values.xlsx

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

    Re: Find Unique Values - Need Not Array Formula

    That formula need not be array entered. Enter it a a normal formula and you'll still get the same correct results. An alternative non-array formula would be

    In B2
    =IF(COUNTIFS($A$2:$A2,A2,$D$2:$D2,D2)>1,0,1)
    or simply
    =--(COUNTIFS($A$2:$A2,A2,$D$2:$D2,D2)=1)

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

  3. #3
    Registered User
    Join Date
    11-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Find Unique Values - Need Not Array Formula

    Hi Ace_XL,

    Thank you so much for the quick reply and assistance with the formula! I added reputation to your profile.

+ 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. Array Formula To Return Unique Values From a Column Using a Value
    By lucas813 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 02-13-2015, 12:07 PM
  2. [SOLVED] Formula or VBA - Comparison CSV Values between 3 cells for used range. Find unique values.
    By grphillips in forum Excel Programming / VBA / Macros
    Replies: 36
    Last Post: 06-09-2014, 02:12 PM
  3. Need an array formula to find unique records, but don't know how to do it
    By alchavar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-22-2013, 02:43 PM
  4. add to array formula to only return unique values
    By jason892 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-11-2013, 06:39 AM
  5. [SOLVED] Count unique values in list but NOT using ARRAY formula
    By alx0101 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-15-2013, 08:15 AM
  6. Replies: 3
    Last Post: 08-13-2012, 11:44 AM
  7. Replies: 3
    Last Post: 11-24-2011, 06:11 AM

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