PC Review


Reply
Thread Tools Rate Thread

Another question on count formula

 
 
David Lipetz
Guest
Posts: n/a
 
      17th Nov 2006
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


 
Reply With Quote
 
 
 
 
Bobocat
Guest
Posts: n/a
 
      17th Nov 2006
=sumproduct((isblank(o)=false)*(p="Y")

"David Lipetz" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
David Lipetz
Guest
Posts: n/a
 
      17th Nov 2006
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?


"Bobocat" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> =sumproduct((isblank(o)=false)*(p="Y")
>
> "David Lipetz" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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
>>

>
>



 
Reply With Quote
 
Bobocat
Guest
Posts: n/a
 
      17th Nov 2006
are you sure that the cell in column O is blank?
use Isblank(cell) to check? true = blank, false =not blank?

"David Lipetz" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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?
>
>
> "Bobocat" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> =sumproduct((isblank(o)=false)*(p="Y")
>>
>> "David Lipetz" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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
>>>

>>
>>

>
>



 
Reply With Quote
 
Bobocat
Guest
Posts: n/a
 
      17th Nov 2006
OR select o2425, press F5 -> special -> blank
to check whether the "blank cell" is blank

"Bobocat" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> are you sure that the cell in column O is blank?
> use Isblank(cell) to check? true = blank, false =not blank?
>
> "David Lipetz" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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?
>>
>>
>> "Bobocat" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> =sumproduct((isblank(o)=false)*(p="Y")
>>>
>>> "David Lipetz" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> 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
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      17th Nov 2006
=SUMPRODUCT(--(LEN(O2:O425)>0),--(P2:P425="Y"))

--
HTH

Bob Phillips

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

"David Lipetz" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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?
>
>
> "Bobocat" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > =sumproduct((isblank(o)=false)*(p="Y")
> >
> > "David Lipetz" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >> 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
> >>

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
count formula question mcook Microsoft Excel Worksheet Functions 2 15th Apr 2009 04:36 PM
Formula Question involving two columns and returning a count bswood7 Microsoft Excel Misc 4 25th Mar 2008 01:14 PM
Count If formula question =?Utf-8?B?VU5DQ05V?= Microsoft Excel Misc 0 28th Mar 2007 02:17 AM
RE: Count If formula question =?Utf-8?B?VG9wcGVycw==?= Microsoft Excel Misc 0 28th Mar 2007 12:14 AM
RE: Count If formula question =?Utf-8?B?VC5WYWxrbw==?= Microsoft Excel Misc 0 28th Mar 2007 12:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:27 AM.