Count if formula exist

  • Thread starter Thread starter praveen_khm
  • Start date Start date
P

praveen_khm

Hello all,

I have a simple problem which is turning wild for me. I need to count
the number of cells in a column with value 1. The range contains
formulas. Now when I give a countif of sumif or even count, it takes
the 1 which exists in the formula also. Suppose,
=SUMPRODUCT(($Q21>0)*($E21="completed")) is the formula given, it takes
the 1 in the formula also. Please let me know what do I do to take only
the value.

Thanks.
Praveen
 
That formula counts the instance where Q21 is greater than 0, not equal to
1, and E21 = completed. It doesn't count a column, or many rows, just the
single instance. It can also be written simpler as

=($Q21>0)*($E21="completed")

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"praveen_khm" <[email protected]>
wrote in message
news:p[email protected]...
 

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