Another question on count formula

D

David Lipetz

In a large spreasheet, I want to be able to count the number of rows where
column O is a nonblank (has some type of data entered - may be alpha or may
be a date) AND column P = "Y".

Can someone please point me in the right direction in terms of which formula
to use?

Thanks,
David
 
D

David Lipetz

This formula =SUMPRODUCT((ISBLANK(O2:O425)=FALSE)*(P2:p425="Y")) does not
work correctly. The result should be 31 but the formula results in 66 which
is simply the number of rows in P that =Y without regards to O.

Ideas?
 
B

Bobocat

are you sure that the cell in column O is blank?
use Isblank(cell) to check? true = blank, false =not blank?
 
B

Bobocat

OR select o2:blush:425, press F5 -> special -> blank
to check whether the "blank cell" is blank
 
B

Bob Phillips

=SUMPRODUCT(--(LEN(O2:O425)>0),--(P2:p425="Y"))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

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