helenmeyer

New Member
Joined
Mar 3, 2014
Messages
23
Hi all and thanks in advance for your excellent help :)

I've applied conditional formatting to an area of my spreadsheet so that when all cells containing N/A are coloured green. However, when I applied this rule not all the cells in my selection that contained N/A were coloured green. All the cells have the same format.

Any help would be appreciated

Thanks
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Re: Conditiional Formatting

What is your exact rule? Is it a formula? If so, please post it.
And how have you applied it to the whole range?
 
Upvote 0
Re: Conditiional Formatting

Thanks for the reply. Yes I selected the entire area before putting the condition in. I'm using the following formulas:

=IF(OR(AND(b1<=TODAY()-1825,b1>1),(b1="TBA")),TRUE)
=IF(AND(b1<=TODAY()-1642,b1>1),TRUE)
=IF(OR(AND(b1<=TODAY()-1095,b1>1),(b1="TBA")),TRUE)
=IF(AND(b1<=TODAY()-915,b1>1),TRUE)
and then the N/A
 
Upvote 0
Re: Conditiional Formatting

does CF

=ISNA(A1)

not work for you?
 
Last edited:
Upvote 0
Re: Conditiional Formatting

=IF(OR(AND(b1<=TODAY()-1825,b1>1),(b1="TBA")),TRUE)
=IF(AND(b1<=TODAY()-1642,b1>1),TRUE)
=IF(OR(AND(b1<=TODAY()-1095,b1>1),(b1="TBA")),TRUE)
=IF(AND(b1<=TODAY()-915,b1>1),TRUE)
and then the N/A
Are those the order you have the various CF rules in?
What color is associated with each rule?
Do you have the"Stop If True" option set for any of these?
The "N/A" values that aren't working, are they coded in, or the result of a formula? If a formula, please post the formula.

Note that with Conditional Formatting rules, since AND and OR function return boolean results by default, you do not need to wrap them in an IF function,
i.e. you can simplify each like this:
Use
Code:
[COLOR=#333333]=OR(AND(b1<=TODAY()-1825,b1>1),(b1="TBA"))
[/COLOR]
instead of
Code:
[COLOR=#333333]=IF(OR(AND(b1<=TODAY()-1825,b1>1),(b1="TBA")),TRUE)[/COLOR]
 
Upvote 0
Re: Conditiional Formatting

Hi - no it didn't work for me.
That doesn't really help us to help you!
Please answer ALL the questions I posted in my last reply.
 
Upvote 0
Re: Conditiional Formatting

That doesn't really help us to help you!
Please answer ALL the questions I posted in my last reply.

i guess that probably was responded to post#4
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

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