Thread
:
Highlighting the 5 Largest Numbers in a list
View Single Post
#
2
Posted to microsoft.public.excel.misc
Don Guillett
Posts: n/a
Highlighting the 5 Largest Numbers in a list
Does this help?
Sub highlightlargest()
lr = Cells(Rows.Count, "e").End(xlUp).Row
rng = Range("e2:e" & lr)
With Columns(5)
..Interior.ColorIndex = 0
..Find(Application.Large(rng, 1)).Interior.ColorIndex = 4
..Find(Application.Large(rng, 2)).Interior.ColorIndex = 5
'etc
End With
End Sub
--
Don Guillett
SalesAid Software
wrote in message
oups.com...
Hi all,
I have a Score column that runs into many entries.
Is there a way to highlight the top 5 scores on the list in different
colours.
Conditional format permits me to highlight the three largest only (yes
another gripe on this much needed excel feature!)
Any help is appreciated in advance!!
Regards
Manosh
Reply With Quote