Conditional Formatting

Sourav H

New Member
Joined
Sep 10, 2014
Messages
7
[TABLE="width: 340"]
<tbody>[TR]
[TD][/TD]
[TD="align: right"] Highlight full row if score in any subject is greater than 35 and average greater than or equal to 60
[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 340"]
<tbody>[TR]
[TD]Names
[/TD]
[TD]Sub 1
[/TD]
[TD]Sub 2
[/TD]
[TD]Sub 3
[/TD]
[TD]Average
[/TD]
[/TR]
[TR]
[TD]NM1
[/TD]
[TD="align: right"]20
[/TD]
[TD="align: right"]82
[/TD]
[TD="align: right"]42
[/TD]
[TD="align: right"]48
[/TD]
[/TR]
[TR]
[TD]NM2
[/TD]
[TD="align: right"]91
[/TD]
[TD="align: right"]85
[/TD]
[TD="align: right"]40
[/TD]
[TD="align: right"]72
[/TD]
[/TR]
[TR]
[TD]NM3
[/TD]
[TD="align: right"]85
[/TD]
[TD="align: right"]23
[/TD]
[TD="align: right"]60
[/TD]
[TD="align: right"]56
[/TD]
[/TR]
[TR]
[TD]NM4
[/TD]
[TD="align: right"]36
[/TD]
[TD="align: right"]41
[/TD]
[TD="align: right"]63
[/TD]
[TD="align: right"]46.66666667
[/TD]
[/TR]
[TR]
[TD]NM5
[/TD]
[TD="align: right"]100
[/TD]
[TD="align: right"]92
[/TD]
[TD="align: right"]81
[/TD]
[TD="align: right"]91
[/TD]
[/TR]
[TR]
[TD]NM6
[/TD]
[TD="align: right"]55
[/TD]
[TD="align: right"]64
[/TD]
[TD="align: right"]57
[/TD]
[TD="align: right"]58.66666667
[/TD]
[/TR]
[TR]
[TD]NM7
[/TD]
[TD="align: right"]68
[/TD]
[TD="align: right"]46
[/TD]
[TD="align: right"]93
[/TD]
[TD="align: right"]69
[/TD]
[/TR]
[TR]
[TD]NM8
[/TD]
[TD="align: right"]24
[/TD]
[TD="align: right"]27
[/TD]
[TD="align: right"]72
[/TD]
[TD="align: right"]41
[/TD]
[/TR]
[TR]
[TD]NM9
[/TD]
[TD="align: right"]25
[/TD]
[TD="align: right"]79
[/TD]
[TD="align: right"]44
[/TD]
[TD="align: right"]49.33333333
[/TD]
[/TR]
[TR]
[TD]NM10
[/TD]
[TD="align: right"]56
[/TD]
[TD="align: right"]56
[/TD]
[TD="align: right"]66
[/TD]
[TD="align: right"]59.33333333
[/TD]
[/TR]
[TR]
[TD]NM11
[/TD]
[TD="align: right"]66
[/TD]
[TD="align: right"]78
[/TD]
[TD="align: right"]26
[/TD]
[TD="align: right"]56.66666667
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Highlight cells A2 to E11 or the last row and use a formula like this in the conditional formatting

=AND(COUNTIF($B2:$D2,">35")>0,$E2>=60)
 
Upvote 0
Assuming Names is in A1

Select a row

Conditional Formatting
New Rule
Use a formula to determine...

=(AND(COUNT(B2:D2) > 35),AVERAGE(B2:D2) > = 60))

format as required

Use Format painter (paintbrush icon) to copy to other cells
 
Upvote 0
Assuming Names is in A1

Select a row

Conditional Formatting
New Rule
Use a formula to determine...

=(AND(COUNT(B2:D2) > 35),AVERAGE(B2:D2) > = 60))

format as required

Use Format painter (paintbrush icon) to copy to other cells
Thank u All...
 
Upvote 0

Forum statistics

Threads
1,224,416
Messages
6,178,509
Members
452,853
Latest member
philipnjk64

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