Change cell color if data present excel 2002

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I have a worksheet with two columns and multiple rows of data in a
workbook that contains multiple sheets. Column "A" has location
information and column "B" has the owner information. I would like to
know how to automate the sheet to look at column "A" and if there is
data present then look at the corresponding cell in column "B" (i.e
"A3" then look at "B3") and if there isn't any data in "B" then change
the color.
 
Hi Mike
try the following
- select cells B1:B100
- goto Format - conditional Format
- enter the following formula
=(A1<>"")*(B1="")
- choose a color
 
Hi Frank,

Thanks for the reply, much appreciated! I used a version of this for
a workaround conditional format selected cells equal a cell that is
outside my range and always blank. I tried to use your code
conditional format condition 1 formula is "your code below".

Nothing changed, I removed my conditional formatting and changed some
of the cells and nothing...I must be doing something wrong?

Mike
 

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

Back
Top