Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Changing fill colour of cells in a range

If I have a row of numbers, and I want the highest (or lowest) value
cell in that range to stand out using a different fill colour, does
anyone know of a way of doing this automatically?
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Changing fill colour of cells in a range

Paul,

Use conditional formatting.

Select your range of cells then:-

Format|conditional formatting|cell value is|equal to

enter the formula

=Max($A$1:$A$5)
Pick a colour

Click add and repeat this but this time use Min instead of Max in the formula.

Mike

"Paul Hyett" wrote:

If I have a row of numbers, and I want the highest (or lowest) value
cell in that range to stand out using a different fill colour, does
anyone know of a way of doing this automatically?
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Changing fill colour of cells in a range

In microsoft.public.excel.misc on Wed, 11 Jul 2007, Mike H
wrote :
Paul,

Use conditional formatting.

Select your range of cells then:-

Format|conditional formatting|cell value is|equal to

enter the formula

=Max($A$1:$A$5)
Pick a colour

Click add and repeat this but this time use Min instead of Max in the formula.

OK - this does work, but I have several hundred rows of figures*, and
IIRC you can only have around 3 conditional formats on one spreadsheet?

*One row for each day of the year, with 20+ years of daily temperature
readings across it - I want to highlight which year had the
hottest/coldest reading for each date.
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Changing fill colour of cells in a range

In microsoft.public.excel.misc on Wed, 11 Jul 2007, Paul Hyett
wrote :
In microsoft.public.excel.misc on Wed, 11 Jul 2007, Mike H
wrote :
Paul,

Use conditional formatting.

Select your range of cells then:-

Format|conditional formatting|cell value is|equal to

enter the formula

=Max($A$1:$A$5)
Pick a colour

Click add and repeat this but this time use Min instead of Max in the formula.

OK - this does work, but I have several hundred rows of figures*, and
IIRC you can only have around 3 conditional formats on one spreadsheet?

*One row for each day of the year, with 20+ years of daily temperature
readings across it - I want to highlight which year had the
hottest/coldest reading for each date.


I'm guessing this can't be done, then?
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Changing fill colour of cells in a range

Make that 3 CF per cell, not worksheet.


Gord Dibben MS Excel MVP

On Fri, 13 Jul 2007 17:35:02 GMT, Paul Hyett
wrote:

OK - this does work, but I have several hundred rows of figures*, and
IIRC you can only have around 3 conditional formats on one spreadsheet?




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Changing fill colour of cells in a range

In microsoft.public.excel.misc on Fri, 13 Jul 2007, Gord Dibben
wrote :

On Fri, 13 Jul 2007 17:35:02 GMT, Paul Hyett
wrote:

OK - this does work, but I have several hundred rows of figures*, and
IIRC you can only have around 3 conditional formats on one spreadsheet?


Make that 3 CF per cell, not worksheet.

Gord Dibben MS Excel MVP


Thanks - either that is different for the latest versions of Excel, or I
misinterpreted something previously.
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Changing fill colour of cells in a range

format=Conditional Formatting

Select column

first CF:

Formula Is: =MIN(A:A)=A1

Set colour (pattern)


Second CF:

Formula Is: =MAX(A:A)=A1

Set colour

OK

HTH


"Paul Hyett" wrote:

If I have a row of numbers, and I want the highest (or lowest) value
cell in that range to stand out using a different fill colour, does
anyone know of a way of doing this automatically?
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)

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
Is there a way to add cells based on their shading / fill colour? ChefAtSea Excel Discussion (Misc queries) 2 July 4th 07 01:22 PM
Changing font colour in some cells Di W New Users to Excel 4 March 12th 06 05:58 PM
Sum cells by fill colour jamiemal Excel Discussion (Misc queries) 2 August 17th 05 01:51 PM
Sum cells according to colour fill JanB Excel Discussion (Misc queries) 1 February 2nd 05 11:21 PM
Changing Cell Fill Colour Nick Excel Discussion (Misc queries) 4 December 6th 04 10:05 PM


All times are GMT +1. The time now is 08:01 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"