Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 271
Default Highlight highest numbers in a range.

I have a range say A1:A10. Each cell contains a number. I would like a code
that would search this range and autofill the cell of the highest number
green and the second hightest number blue??? Please and thank you.
--
Thanks
Shawn
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Highlight highest numbers in a range.

You may want to look at Format|Conditional formatting:

Select A1:a10
format|conditional formatting
Formula is:
=a1=max($a$1:$a$10)
(Give it a nice green pattern format)

Add a condition:
Formula is:
=a1=large($a$1:$a$10,2)
(Give it a nice blue pattern format)



Shawn wrote:

I have a range say A1:A10. Each cell contains a number. I would like a code
that would search this range and autofill the cell of the highest number
green and the second hightest number blue??? Please and thank you.
--
Thanks
Shawn


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Highest total of any three consecutive numbers in a range. [email protected] Excel Worksheet Functions 13 April 3rd 23 07:01 PM
highlight the highest cell in a column exhub58 Excel Worksheet Functions 1 October 27th 09 02:55 AM
how do i highlight the ten highest numbers in a range? Help Wanted Excel Discussion (Misc queries) 3 May 5th 09 06:39 PM
Highest 5 numbers in a range turn red mjones Excel Discussion (Misc queries) 4 September 13th 07 10:02 PM
How do I add only the highest three numbers in a range of data? emac_mommy Excel Worksheet Functions 4 January 9th 05 09:40 AM


All times are GMT +1. The time now is 05:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"