View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
StargateFan[_3_] StargateFan[_3_] is offline
external usenet poster
 
Posts: 171
Default Conditional formatting - on an empty cell condition in _another_ c

On Mon, 29 May 2006 21:42:56 +0200, "Ardus Petus"
wrote:

=NOT(ISBLANK(B1))


Knew there had to be a better way than ISTEXT! Thanks.

HTH
--
AP

"StargateFan" a écrit dans le
message de news: ...
On Mon, 29 May 2006 11:08:01 -0700, Matt Lunn
wrote:



"StargateFan" wrote:

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. :oD



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.