Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default pain cell max and min

need macro that search the max value and the min value and change the
color of the cell (green for max , red for min)

regards
yuval

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default pain cell max and min

Hi,
you need conditional formatting....Select your range, goto
FormatConditional Formatting...in the file menu then (assuming your
range is A1:A10) enter this

Formula Is = =A1=MAX($A$1:$A$10) and set the format you want.

Repeat with MIN for minimum value...
Hth,
OJ

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default pain cell max and min

Assume that your range is A1:A10.
Select the range, go to FORMAT CONDITIONAL FORMATTING
in condition 1 box, you will have 'cell value is', in the next box select
'equal to', and enter the following in the 3rd box: max($A$1:$A$10). Click
on format and select green in the pattern tab (third tab).
Then Click 'ADD' to enter the second condition. This time enter min($A$1:$A
$10) and select red color.

Click ok. Note that the above formula should not be inside double quotes in
the boxes mentioned as above.

Mangesh

--
Message posted via http://www.officekb.com
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
Task Pain tc Excel Discussion (Misc queries) 4 August 29th 07 04:44 PM
Comments on frozen pain Flints Excel Discussion (Misc queries) 2 August 8th 06 04:41 PM
Oh God the Pain! Help Please! jshpik1 Excel Discussion (Misc queries) 2 May 9th 06 08:25 AM
Is there any way to keep the Task Pane (pain) from displaying? Terrible I Excel Discussion (Misc queries) 2 February 6th 06 09:35 PM
Pivot Table Pain! Alastair MacFarlane Excel Programming 2 February 22nd 04 03:59 PM


All times are GMT +1. The time now is 04:45 AM.

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

About Us

"It's about Microsoft Excel"