Conditional formtting

vij

Board Regular
Joined
Feb 13, 2011
Messages
215
Hi,

Could some one help me with a conditional formatting for the undermentioned condition:

I have data as under in two columns

Individual AverageTeam Average
00:03:5500:02:00
00:03:5500:05:00

<tbody>
</tbody>

What I am aiming to achieve is as under
1. If the individual Average is less than Team Average the cell should be filled with Green
2. In case individual average is more than the Team Average the cell should be filled Red

The data is formatted as HH:MM:SS

Using Excel 2010 with Windows &
Thanks.
Vij
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi,

Could some one help me with a conditional formatting for the undermentioned condition:

I have data as under in two columns

Individual Average
Team Average
00:03:55
00:02:00
00:03:55
00:05:00

<TBODY>
</TBODY>

What I am aiming to achieve is as under
1. If the individual Average is less than Team Average the cell should be filled with Green
2. In case individual average is more than the Team Average the cell should be filled Red

The data is formatted as HH:MM:SS

Using Excel 2010 with Windows &
Thanks.
Vij
Try this...

Let's assume the range to format is A2:A10.

Select the *entire* range A2:A10 starting from cell A2.
Cell A2 will be the active cell. The active cell is the
one cell in the selected range that is not shaded. The
formula will be relative to the active cell.

Goto the Home tab-Styles-Conditional Formatting-Manage rules-
New rule-Use a formula to determine which cells to format

Enter this formula in the box below:

=AND(COUNT(A2:B2)=2,A2 < B2)

Click the Format button
Select the Fill tab
Select a shade of Green
OK
OK
New rule-Use a formula to determine which cells to format
Enter this formula in the box below:

=AND(COUNT(A2:B2)=2,A2>B2)

Click the Format button
Select the Fill tab
Select a shade of Red
OK out
 
Upvote 0

Forum statistics

Threads
1,215,593
Messages
6,125,715
Members
449,254
Latest member
Eva146

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top