+ Reply to Thread
Results 1 to 3 of 3

Need help with a formula to look for unique combinations of 3 values from 3 diffrent

  1. #1
    Registered User
    Join Date
    10-24-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    6

    Question Need help with a formula to look for unique combinations of 3 values from 3 diffrent

    Hey,

    I am looking for a formula to check if a combination of 3 values is unique, i have a excel file with around 10.000 rows. I want to make sure if the combination of A + B + C is Unique

    Example


    Column A Column B Column C

    10291323 1517247478 1
    10291323 1517247478 2
    10291323 1517247478 3
    12475798 1867400930 1
    12475798 1867400930 2
    12907374 1124674667 1
    12907374 1124674667 2
    12907374 1124674667 3
    12907374 1124674667 4


    Now what i want is to make sure the combination of A + B + C is unique in the workbook for every row. And if there was a duplicate it would turn red or something to make sure i know its a duplicate.

    I have been trying to do this myself but with my own limited excel knowledge i cant seem to find a solution

    I really hope you can help with this problem,

    Thanks!

  2. #2
    Registered User
    Join Date
    10-22-2013
    Location
    MN, USA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Need help with a formula to look for unique combinations of 3 values from 3 diffrent

    I'd create a new column D and set it to '=A&B&C' or maybe '=A&"-"&B&"-"&C' and then set conditional formatting on column D.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Need help with a formula to look for unique combinations of 3 values from 3 diffrent

    Hi,

    Assuming your data is in A2:C10, enter this formula in D2 and copy down as required:

    =IF(SUMPRODUCT(--($A$2:$A$10&$B$2:$B$10&$C$2:$C$10=A2&B2&C2))>1,"DUPLICATE","")

    You can then filter on this new column for DUPLICATE (or apply some basic Conditional Formatting).

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ 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. VLookup into diffrent worksheets in a diffrent workbook
    By joffy1979 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-26-2013, 11:35 AM
  2. Make and regularly update a list of all combinations of two lists of unique values
    By Sherelle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-19-2012, 07:21 PM
  3. Replies: 1
    Last Post: 07-02-2012, 02:07 AM
  4. Counting unique combinations of two cell values
    By macanudo67 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-15-2009, 11:56 AM
  5. Finding unique data between two diffrent spreadsheets
    By bigdogcc in forum Excel General
    Replies: 2
    Last Post: 04-19-2006, 09:07 PM

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