Format top 3 values, exclude duplicates

pigsfoot

Board Regular
Joined
Dec 13, 2007
Messages
60
Office Version
  1. 365
Hi,

I have a spreadsheet of scores and i want to hightlight the top 3 scores in red.

However sometimes the scores are duplicated so there maybe 2 second places for example.

I have tried =Large(A1:A5,3) but if i have the following scores "1,2,2,3,4" both the seconds are both highlighted along with the 3rd and 4th i.e. 4 in total are highlighted.

Is there are way to ONLY hightlight the first 3 top scores

Thanks...Rod
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hi Aladin,

Not sure what you mean but if they were the resuts i woudl want to highlight score

40
40
30

As they are the top 3 hightest scores

It dosn't really matter what the top scores are, even if they are all the same as long as ONLY the top three are highlighted.

They could even be

40
40
40
40
40

I would still only want to highlight 3 of the 40 scores.

Thanks
 
Upvote 0
Hi,

"Small" won't really work as the number of matches will increase but only the top 3 will ever need highlighting.

Thanks
 
Upvote 0
Hi Aladin,

Not sure what you mean but if they were the resuts i woudl want to highlight score

40
40
30

As they are the top 3 hightest scores

It dosn't really matter what the top scores are, even if they are all the same as long as ONLY the top three are highlighted.

They could even be

40
40
40
40
40

I would still only want to highlight 3 of the 40 scores.

Thanks

In D2 enter and copy down:

=IF(ROWS($D$2:D2)<=3,LARGE($A$1:$A$5,ROWS($D$2:D2)),"")
 
Upvote 0
See if this works for you:
=AND(RANK($A1,$A$1:$A$5)<4,COUNTIF($A$1:$A1,$A1)<2)
 
Upvote 0
Thanks for your help everyone but maybe i havn't made myself very clear.

What i want to do i highlight the top three numbers, i.e. change font colour to Red, make it Bold, strikethrough, anything really to make them stand out. All three would be very helpfull.

I do not need a sum of the of the scores i simply what to highlight them.

( i have another formula that is adding scores together miinus these three discards )

The example i gave in my original post was an example to simplfy things, my scores acutually run from E2 to N2. Only one competition is run per month and we are on month 7 so far so only feilds F2 to L2 are completed with others to follow. As and when others are filled in i want it to automatically update the top three highest scores.

Below is an example of one line
F2 G2 H2 I2 J2 K2 L2
35 2 35 1 2 1 1

So what i want to happen is fields F2,H2 & G2 to be highlighted to stand out some how.

I hope this makes it clearer

Thanks
 
Upvote 0
I thought I understood you correctly. You have stated you want to exclude duplicates. But 35 is duplicate. Now I am confused. Did you try my suggestion?
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,136
Members
452,890
Latest member
Nikhil Ramesh

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