Highlighting different sets of duplicates with different colours/ symbols; but it has to be more than 3

Orkochu

New Member
Joined
Jul 10, 2024
Messages
2
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello. I am doing an internship in which we make use of Excel for a lot of different things. One of the things we do is entering values into an Excel sheet and then searching the values in another program to get more data specific to the value. This also includes duplicate values and if we manage to notice them, we can just copy and paste the previous data specific to the value without having to enter a value we have already queried into other program again. To make this more easy for me, I searched up ways to highlight/mark different duplicate values with different colours but unfortunately most methods I found were only limited to 3 distinct colours and we work with more unique sets if duplicates than 3. I thought assigning a variable to an RGB value that keeps increasing as more sets of duplicates are added but couldn’t manage to figure out how to implement it.

An example is uploaded
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I wasn’t able to upload a photo so I will give an example here:

Values
125 - Colour 1
402 - Colour 2
125 - Colour 1
112 - Colour 3
390
112 - Colour 3
125 - Colour 1
289 - Colour 4
525
402 - Colour 2
289 - Colour 4
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top