Conditional Formatting Question

DKRbella0814

Board Regular
Joined
Aug 10, 2008
Messages
155
Can someone help me understand why my conditional formatting conditions are not working correctly?

I have a score (formatted as a % in cell $k$10)

I want the following to happen:

1. If $k$10 is blank, I want the cell to be blank (no shading)

2.. If the percentage (on the scale from 1-100, formatted as %) in a specifically referenced cell in the range of B6:B106 is <= $k$10, then I want the cell to be shaded gray

3.. If the specifically referenced cell in range of b6:b106 is >$k$10, then I want the cell to be blank (no shading)





This is how I have written the conditions in the excel program:

1. Condition#1 : If Cell Value is Equal To ="", No Format Set

2. Condition#2 : If Formula Is =if($b106>$k$10,""), Gray Shading

3. Condition#3 : If Formula Is =if($b106>$k$10), No Format Set
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
You have given two different options in your post.
If you want less than or equal to 'K10', select 'Formula Is" and enter
Code:
=$B6<=$K$10
If you want only values less than 'K10', select 'Formula Is" and enter
Code:
=$B6<$K$10
There really is no reason to include a "No Format Set" option unless you have manually changed the cell format. Excel will automatically remove the format if the values are out of range.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,827
Members
452,946
Latest member
JoseDavid

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