Conditional formatting - on an empty cell condition in _another_ cell?

S

StargateFan

I've looked and looked in the archives but I'm not able to find
something this simple and I can't get anything that I've tried to
work.

When a cell in B1 is not empty, i.e., filled, I need the cell in A1 to
change. I know what to do with the formatting, I just can't get
anything to work with the formula in B1. I never realized that up
till now the formatting has been conditional on the cell I'm actually
in. This time, condition is dependent on an outside cell, and that
seems to be what is stumping me.

Can someone provide an example, ple? TIA. :blush:D
 
G

Guest

StargateFan said:
I've looked and looked in the archives but I'm not able to find
something this simple and I can't get anything that I've tried to
work.

When a cell in B1 is not empty, i.e., filled, I need the cell in A1 to
change. I know what to do with the formatting, I just can't get
anything to work with the formula in B1. I never realized that up
till now the formatting has been conditional on the cell I'm actually
in. This time, condition is dependent on an outside cell, and that
seems to be what is stumping me.

Can someone provide an example, ple? TIA. :blush:D

Try this

Select Cell A1. Go to Format > Conditional Formatting.

Select Formula Is from the drop down box and enter

=ISBLANK(B1)

in the textbox

Careful though. Both of these will return FALSE, and the formatting will not
be applied if you have just a space in the cell. The cell will look empty but
will not be!

HTH
 
S

StargateFan

Try this

Select Cell A1. Go to Format > Conditional Formatting.

Select Formula Is from the drop down box and enter

=ISBLANK(B1)

in the textbox

Careful though. Both of these will return FALSE, and the formatting will not
be applied if you have just a space in the cell. The cell will look empty but
will not be!

HTH

Yes, it is a great help! Almost there. I just couldn't figure out
how to do this. Re the issue with being careful of _anything_ in the
cell, no problem as I have a pulldown with text in so user input is
somewhat controlled.

However, the condition is backwards; sorry I wasn't clear enough <g>.
The condition should apply when the cell is filled, not blank so that
the above works only if B1 has _no_ value. Is there any way to do the
opposite of this once a user has chosen a value from the pulldown? Is
there code for that? I imagine that's why I couldn't find anything in
the archives as I didn't know the terminololgy for "isblank" or its
opposite.

Thanks.
 
A

Ardus Petus

=NOT(ISBLANK(B1))

HTH
--
AP

StargateFan said:
Yes, it is a great help! Almost there. I just couldn't figure out
how to do this. Re the issue with being careful of _anything_ in the
cell, no problem as I have a pulldown with text in so user input is
somewhat controlled.

However, the condition is backwards; sorry I wasn't clear enough <g>.
The condition should apply when the cell is filled, not blank so that
the above works only if B1 has _no_ value. Is there any way to do the
opposite of this once a user has chosen a value from the pulldown? Is
there code for that? I imagine that's why I couldn't find anything in
the archives as I didn't know the terminololgy for "isblank" or its
opposite.

Thanks.
 
S

StargateFan

On Mon, 29 May 2006 11:08:01 -0700, Matt Lunn
[SNIP]
Try this

Select Cell A1. Go to Format > Conditional Formatting.

Select Formula Is from the drop down box and enter

=ISBLANK(B1)
[SNIP]

However, the condition is backwards; sorry I wasn't clear enough <g>.
The condition should apply when the cell is filled, not blank so that
the above works only if B1 has _no_ value. Is there any way to do the
opposite of this once a user has chosen a value from the pulldown? Is
there code for that? I imagine that's why I couldn't find anything in
the archives as I didn't know the terminololgy for "isblank" or its
opposite.

Actually, I went looking and found something called ISTEXT in the help
files (now that I had an idea of terminology and what I might be able
to look for). I tried this in the conditional formatting for A1:

=ISTEXT(B1)

It seems to work. Is this okay to use? It might not be the best, but
column A will now darken and get a strikethrough in the text once
column A tasks are accomplished and users put "FIXED" in column B.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top