moff, on 13 January 2012 - 10:22 AM, said:
Hello and thanks for reading this.
Simple question regarding conditional formatting, but for some hours and much googling didn't find the answer:
I want a cell, let's say A1, to be color pink if D1 is empty, but blue if D1 is not.
Then, how do I copy the rule(s) to the range A2:A58 and/or C1:C58).
Any help will be greatly appreciated (specially a useful one)...
moff
I was curious and did some trial and error. You need to set this up using the format option. I tried to post a picture but can't, so you will have to follow below.
Select the cell you want to change color.
On the menu bar select "Format"
At the bottom of the drop down menu select "Conditional Formatting"
You will now have a box with one condition. You will need to set it up with the following:
In the condition drop down select "Formula Is"
The field to the right will now except an equation. In this box place the following equation =(D1="")
On the right click on "Format"
There are three buttons on the top of the new box select "Patterns". Select your color and click "OK"
This sets the condition for empty.
Now click on the button "Add"
You now have a second condition.
In the condition drop down select "Formula Is"
The field to the right will now except an equation. In this box place the following equation =(D1<>"")
On the right click on "Format"
There are three buttons on the top of the new box select "Patterns". Select your color and click "OK"
This sets the condition for not empty.
Now click "OK". This sets the condition for the cell you selected. To do this to a range of cells, select the range and follow the above directions.