I have data something like this
sr r1 r2 r3 r4 r5
1 12 21 25 33 39
2 14 18 25 33 41
3 12 19 21 32 33
4 8 14 19 25 32
I want color the cell depending how many nos repeated
for ex: 12, 14,19,21,32 repeated twice , so I want color them red
25,33 repeated thrice so i want color them blue
8,18,39,41 are unique , so I want colon them red
Kindly guide me to write vba
thanks in advance
sr r1 r2 r3 r4 r5
1 12 21 25 33 39
2 14 18 25 33 41
3 12 19 21 32 33
4 8 14 19 25 32
I want color the cell depending how many nos repeated
for ex: 12, 14,19,21,32 repeated twice , so I want color them red
25,33 repeated thrice so i want color them blue
8,18,39,41 are unique , so I want colon them red
Kindly guide me to write vba
thanks in advance