checking for values in a row

  • Thread starter Thread starter amitntu
  • Start date Start date
A

amitntu

Hi,

I have the word "yes" in cells A2:A20. I want A1 to get flashed by
changing its value to say 'alert' the time any value in cell A2:A20
gets changed to anything other than "yes".

I tried if(A2:A20<>'yes',"alert") it doesnot work. it seems to check
only the value of the cell in A20.

Thanks in advance
Amag
 
One way (and I am sure there will be others <g>):
=IF(COUNTIF(A2:A20,"yes")<19,"Alert","")

Regards
Rowan
 

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