how can avoid considering of blank cells in IF function

G

Guest

I am using the following formulas:
=IF(H8=J8,"1","0")+IF(H10=J10,"1","0")+IF(H12=J12,"1","0")
but is counting also the blank cells. I would like to compar the cells when
there are numbers (including zero) inside (not blank).
 
A

Aladin Akyurek

=(COUNT(H8,J8)=2)*(H8=J8)+(COUNT(H10,J10)=2)*(H10=J10)+(COUNT(H12,J12)=2)*(H12=J12)
 

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