if blank

G

Gary

I want cell D6 to turn red if any text is written in cells F6-F20. The
typical condition in cells F6-F20 is blank. The cells remain blank unless
someone writes a note in the cells. I want cell D6 to alert me in red when
a note has been written. How would I write the Conditional Formating
formula?

Regards,
Gary
 
R

RagDyer

Select D6, then:
<Formula Is>
=COUNTIF(F6:F20,"<>")>0

And set your format to a red pattern.
 
W

Wondering

One way is to use a formula in your conditional format for D6:

=IF(COUNTA(F6:F20)<>0,TRUE,FALSE)

and format the cell D6 with whatever fill color you want. COUNTA returns the
number of non-blank cells.
 
G

Gord Dibben

Ooops!

Bad misread there.

Select D6 and CF>Formula is =COUNTA($F$6:$F$20)>0


Gord
 

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