CF not working?

Mel Smith

Well-known Member
Joined
Dec 13, 2005
Messages
1,023
Office Version
  1. 365
Platform
  1. Windows
Hello folks,

I am trying to use conditional formatting on a range of cells that contain a formula: =IF(B3="","",IF(C3=MAX($C$3:$F$36),C3,IF(F3=MAX($C$3:$F$36),F3,""))) etc.
The formula works well and what I am trying to achieve is that when a cell displays the maximum value (as per the formula) that that cell has a yellow fill. I have tried using CF/highlight cell where the value is greater than 0 but this results in all cells having the yellow fill.

What am I doing wrong, please?

Mel
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Try a formula in this form. Change the H3s to whatever cell you are referencing

=H3<>""
 
Upvote 0
Solution
Got it! I'm now using CF where the cell does not contain a blank value.

Mel
 
Upvote 0
Many thanks for your reply, Peter. I managed to figure it out as per post #3

Mel
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,490
Members
448,967
Latest member
visheshkotha

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