Conditional Formatting - top row

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
657
Office Version
  1. 2019
Platform
  1. Windows
Hello,
Looking to Highlight the Top Row based on the MAX value of Row 9.
Top Row and Row 9 = Y1:CN1 and Y9:CN9.
Thank you.

Cell Formulas
RangeFormula
BK1BK1="M-R:T-Y:Z-W"&" ("&RANK(BK9,$Y$9:$CN$9)&")"
BM1BM1="R:T-X:Z-W"&" ("&RANK(BM9,$Y$9:$CN$9)&")"
BO1BO1="R:T-Y:Z-W"&" ("&RANK(BO9,$Y$9:$CN$9)&")"
BQ1BQ1="R:T-X:Z"&" ("&RANK(BQ9,$Y$9:$CN$9)&")"
BL2BL2=COUNTIFS($L$3:$L$1210,"M-R:T-Y:Z-W",$A$3:$A$1210,"W")+(BL4*0.5)
BL3BL3=COUNTIFS($L$3:$L$1210,"M-R:T-Y:Z-W",$A$3:$A$1210,"L")+(BL4*0.5)
BL4BL4=COUNTIFS($L$3:$L$1210,"M-R:T-Y:Z-W",$A$3:$A$1210,"psh")
BN2BN2=COUNTIFS($L$3:$L$1210,"R:T-X:Z-W",$A$3:$A$1210,"W")+(BN4*0.5)
BN3BN3=COUNTIFS($L$3:$L$1210,"R:T-X:Z-W",$A$3:$A$1210,"L")+(BN4*0.5)
BN4BN4=COUNTIFS($L$3:$L$1210,"R:T-X:Z-W",$A$3:$A$1210,"psh")
BP2BP2=COUNTIFS($L$3:$L$1210,"R:T-Y:Z-W",$A$3:$A$1210,"W")+(BP4*0.5)
BP3BP3=COUNTIFS($L$3:$L$1210,"R:T-Y:Z-W",$A$3:$A$1210,"L")+(BP4*0.5)
BP4BP4=COUNTIFS($L$3:$L$1210,"R:T-Y:Z-W",$A$3:$A$1210,"psh")
BR2BR2=COUNTIFS($L$3:$L$1210,"R:T-X:Z",$A$3:$A$1210,"W")+(BR4*0.5)
BR3BR3=COUNTIFS($L$3:$L$1210,"R:T-X:Z",$A$3:$A$1210,"L")+(BR4*0.5)
BR4BR4=COUNTIFS($L$3:$L$1210,"R:T-X:Z",$A$3:$A$1210,"psh")
BK5,BQ5,BO5,BM5BK5=IFERROR(BL2/(BL2+BL3),"")
BK6,BQ6,BO6,BM6BK6=IFERROR(BL2+BL3,"")
BK7,BQ7,BO7,BM7BK7=BL2*4.55
BK8,BQ8,BO8,BM8BK8=BL3*5
BK9,BQ9,BO9,BM9BK9=BK7-BK8
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Large, Small, Min, Max, probably a few others as well.
 
Upvote 0
Large, Small, Min, Max, probably a few others as well.
It seems its only accepting the MAX and #2, i'm also looking for 3 & 4.


Cells with Conditional Formatting
CellConditionCell FormatStop If True
BM1:CF1Expression=BM$9=MAX($BM$9:$CF$9)textNO
BM1:CF1Expression=BM$9=LARGE($BM$9:$CF$9,2)textNO
BM1:CF1Expression=BM$9=LARGE($BM$9:$CF$9,4)textNO
BM1:CF1Expression=BM$9=LARGE($BM$9:$CF$9,3)textNO
 
Upvote 0
Technically, that is correct. There are 6 cells with $0.00, so that covers 2nd to 7th largest.
-$0.68 is the 7th largest, -$5.00 are the 8th and 9th largest.

To apply the same ranking to equal results needs some additional functions, usually countif, although I'm not sure how well it will work with your layout. The merged columns are more than likely to make it fail. I'll have a look at it in detail when I get home later.
 
Upvote 0
Technically, that is correct. There are 6 cells with $0.00, so that covers 2nd to 7th largest.
-$0.68 is the 7th largest, -$5.00 are the 8th and 9th largest.

To apply the same ranking to equal results needs some additional functions, usually countif, although I'm not sure how well it will work with your layout. The merged columns are more than likely to make it fail. I'll have a look at it in detail when I get home later.
We're good. I changed the order of Cond Form and as the ranges are populated, it comes together.
It's better as I rid of the $0.00's (since it will populate many ranks, as stated above). Thank you.
 
Upvote 0

Forum statistics

Threads
1,214,853
Messages
6,121,935
Members
449,056
Latest member
denissimo

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