Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Conditional Format & Formula

Each cell in a column of data contains a formula that produces a numerical
value (see below). Within each cell, I want to set formatting so that
whichever cell contains the highest value in the column, it will be shaded
Pale Blue.

Column Value Produced by Formula
=IF(B3=0,0,G3/C3) 12.0
=IF(B3=0,0,G4/C4) 24.0
=IF(B4=0,0,G5/C5) 34.0
=IF(B5=0,0,G6/C6) 14.0
=IF(B6=0,0,G7/C7) 8.0

In this example, Row 3 would be shaded Pale Blue because it contains the
largest value. The other cells would retain a No Fill format.

Can anyone help?

Thanks,
Bob
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Conditional Format & Formula

Select all the cells you want to format this way, let's say they are cells
H3:H7
Select Format-Conditional Format
Select 'Cell value is" and 'equal to' and then enter =MAX($H$3:$H$7)
Click on the Format button, select the Pattern tab and select light blue
OK your way back to the spreadsheet


"bob" wrote:

Each cell in a column of data contains a formula that produces a numerical
value (see below). Within each cell, I want to set formatting so that
whichever cell contains the highest value in the column, it will be shaded
Pale Blue.

Column Value Produced by Formula
=IF(B3=0,0,G3/C3) 12.0
=IF(B3=0,0,G4/C4) 24.0
=IF(B4=0,0,G5/C5) 34.0
=IF(B5=0,0,G6/C6) 14.0
=IF(B6=0,0,G7/C7) 8.0

In this example, Row 3 would be shaded Pale Blue because it contains the
largest value. The other cells would retain a No Fill format.

Can anyone help?

Thanks,
Bob

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Conditional Format & Formula

Thank you. That works and is a hugh help.

Bob

"Duke Carey" wrote:

Select all the cells you want to format this way, let's say they are cells
H3:H7
Select Format-Conditional Format
Select 'Cell value is" and 'equal to' and then enter =MAX($H$3:$H$7)
Click on the Format button, select the Pattern tab and select light blue
OK your way back to the spreadsheet


"bob" wrote:

Each cell in a column of data contains a formula that produces a numerical
value (see below). Within each cell, I want to set formatting so that
whichever cell contains the highest value in the column, it will be shaded
Pale Blue.

Column Value Produced by Formula
=IF(B3=0,0,G3/C3) 12.0
=IF(B3=0,0,G4/C4) 24.0
=IF(B4=0,0,G5/C5) 34.0
=IF(B5=0,0,G6/C6) 14.0
=IF(B6=0,0,G7/C7) 8.0

In this example, Row 3 would be shaded Pale Blue because it contains the
largest value. The other cells would retain a No Fill format.

Can anyone help?

Thanks,
Bob

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
conditional format if the cell contains a formula ellebelle Excel Worksheet Functions 6 September 12th 06 09:04 AM
Conditional format formula ron b Excel Discussion (Misc queries) 4 January 31st 06 05:11 PM
Conditional formatting...cont. from 9/25 Guenzak Excel Discussion (Misc queries) 4 September 26th 05 10:55 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Conditional Format Formula Needed PAR Excel Worksheet Functions 11 May 20th 05 08:45 PM


All times are GMT +1. The time now is 05:42 AM.

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"