Rank and Conditional Format question

TheNoocH

Well-known Member
Joined
Oct 6, 2004
Messages
3,482
I have 2 questions:
1) I am trying to rank a series of stats for players but want to ignore any players that have not played yet...
2) how can i conditional format these cells ...goal is to highlight green max/min of row based upon if it's a high or low stat...then highlight yellow anything that is better than team average...and then highlight in red anything that is below team average...

hope this example clarifies my intentions...please note that the conditional formatting is actually going to be in top section where stats actually are...i just put in the 2 results sections to show current and desired results...

any help would be great...thanks in advance

Excel Workbook
ABCDEFG
1*Team Averageplayer 1player 2player 3player 4player 5
2stat 1 (high is rank 1)47.5504040060
3stat 2 (high is rank 1)60804050070
4stat 3 (low is rank 1)20103020020
5stat 4 (low is rank 1)37.5302050050
6games played*101010010
7*******
8*******
9Current Results******
10*******
11**player 1player 2player 3player 4player 5
12stat 1*23451
13stat 2*14352
14stat 3*25314
15stat 4*32415
16*******
17*******
18Desired Results******
19*******
20**player 1player 2player 3player 4player 5
21stat 1*23451
22stat 2*14352
23stat 3*14253
24stat 4*21354
Sheet1
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Figured it out...if anyone can think of an easier way I'd be interested in knowing...thanks

Conditional Formatting (just swap the signs for high/low)
Condition 1
=IF(C$6=0,FALSE,0=SUMPRODUCT(--($C2:$G2>C2),--($C$6:$G$6<>0)))
Condition 2
=IF(C$6=0,FALSE,C2>=$B2)
Condition 3
=IF(C$6=0,FALSE,C2<$B2)


Excel Workbook
ABCDEFG
1Team AvgPlayer 1Player 2Player 3Player 4Player 5
2stat 1 (high is rank 1)47.5504040060
3stat 2 (high is rank 1)60804050070
4stat 3 (low is rank 1)20103020020
5stat 4 (low is rank 1)37.5302050050
6games played101010010
7
8
9RankPlayer 1Player 2Player 3Player 4Player 5
10stat 1 (high is rank 1)23451
11stat 2 (high is rank 1)14352
12stat 3 (low is rank 1)14253
13stat 4 (low is rank 1)21354
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,560
Messages
6,179,519
Members
452,921
Latest member
BBQKING

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