Ignoring blank cells

Closed
adamsalter Posts 1 Registration date Wednesday May 12, 2010 Status Member Last seen May 12, 2010 - May 12, 2010 at 08:17 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - May 12, 2010 at 09:09 AM
I have a formula along the lines of..... =IF((a1=b1),1,0)

How can i get the formula to ignore blank cells?


1 response

rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
May 12, 2010 at 09:09 AM
=IF(AND(a1=b1, A1<>""),1,0)
0