Conditional Format: highlight max value in row where all cells are equal

Tashat

Board Regular
Joined
Jan 12, 2005
Messages
135
Office Version
  1. 365
Platform
  1. Windows
Hi again

I'm having some trouble with conditional formatting. I have set up conditional formatting so that the highest value in each row is highlighted purple. However, I have two rows where all the values are the same (all zero) and in this instance, I don't want any cells to be highlighted, but instead the whole row is highlighted. Can anyone advise me on how to prevent the cells highlighting in these instances? As always - thank you in advance.

Operations_MI_Als_team.xlsx
OPQRSTUV
8220210230172262245233200
9253252263197342294271237
10303296311247384351321293
11998492921021129998
1200000000
1300000000
14479468490415573553503465
15629615638582795759689663
168367878037281068974869840
1789184386079711711054948914
189759119639051340120110381012
199759119639051340120110381012
209759119639051340120110381012
All data - CEM (19Oct>31Dec)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
O8:V1048576Expression=ISBLANK(O8)=TRUEtextYES
O8:V1048576Expression=O8=MAX($O8:$V8)textNO
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
What should happen if the max values occurs in 2 cells?
 
Upvote 0
If the max value were to happen in two cells, I would want that to be highlighted (which I appreciate from a logic perspective contradicts what I've just said above) - I think it's probably where the whole row equals 0.
 
Upvote 0
Ok, this will ignore any blank cells & cells that are <=0
+Fluff v2.xlsm
OPQRSTUV
8220210230172262245233200
9253252263197342294271237
10303296311247384351321293
11998492921021129998
1200000000
1300000000
14479468490415573553503465
15629615638582795759689663
168367878037281068974869840
1789184386079711711054948914
189759119639051340120110381012
199759119639051340120110381012
209759119639051340120110381012
21
Main
Cells with Conditional Formatting
CellConditionCell FormatStop If True
O8:V21Expression=AND(O8>0,O8=MAX($O8:$V8))textNO
 
Upvote 0

Forum statistics

Threads
1,215,430
Messages
6,124,853
Members
449,194
Latest member
HellScout

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