Excel: Conditional Highlighting

I have a list of numbers, many of which are duplicates.

Is there a way to highlight the duplicates, with different colors for the different sets of unique numbers?

Thanks in advance. Example attached.

Example-1.xlsx
Tim JackoboiceOwnerAsked:
Who is Participating?
 
Let's GoConnect With a Mentor Commented:
The attached file starts to do what you want.  You will need to choose the colours manually.

1. Column B tests whether there are any duplicate values.

2. Column C then allocates a new colour for each cell in column A with a duplicate value (note that there is a different formula in the first row of column C.

3. I have then set conditional formatting for two colours.  You can repeat this process for the number of colours you need.
Example-1.xlsx
0
 
Tim JackoboiceOwnerAuthor Commented:
I would prefer that no VBA or array solutions be offered ... I'm a relative rookie in those areas, and would rather use a formula. Thx.
0
 
adez12Commented:
Excel already has built-in Conditional Formatting rules to highlight cells with duplicate values.  There is also a built-in Conditioning Formatting rule to highlight cells with unique values.  

But since you are requesting unique colors for all inputs, take a look at this website with helpful tips and tricks on finding duplicate values in Excel:  http://www.excel-easy.com/examples/find-duplicates.html
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Tim JackoboiceOwnerAuthor Commented:
I'm very familiar with the conditional formatting feature in Excel. What my question concerns is how to conditionally format duplicate values, with different colors highlighting matching sets of values, as per the spreadsheet example I attached. Thanks for the link, but it doesn't quite address my question.
0
 
adez12Commented:
If there are 500 matching sets, will you require 500 different colors?
0
 
Tim JackoboiceOwnerAuthor Commented:
Lol. I'd only need 20-25 colors. But theoretically, if it works for 25, it should work for 500.
0
 
adez12Commented:
Ha sorry. I really need to read things more carefully.
0
 
Rob HensonFinance AnalystCommented:
Will you be working with one set at a time?

How about setting the CF to highlight all cells that are equal to the current active cell?

Thanks
Rob H
0
 
Tim JackoboiceOwnerAuthor Commented:
Worked perfectly. Exactly what I needed.

Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.