PC Review


Reply
Thread Tools Rate Thread

COUNT IF + using 2 sets of data

 
 
mail@toniasears.co.uk
Guest
Posts: n/a
 
      17th Jul 2007
A B C

1 BB 6
2 BB
3 a 5
4 a 5
5 BB 5


ok, still a beginner so i need simple answers.

what i want to do is count the number of non blank entrys in colum C
based on only those that are labled BB in B.

I feel like this should be very simple COUNT option similar to
SUMIF(B1:B5,"BB",C1:C5)

 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWlrZSBI?=
Guest
Posts: n/a
 
      17th Jul 2007
Maybe,

=SUMPRODUCT((B1:B5="BB")*(C1:C5<>""))

Mike

"(E-Mail Removed)" wrote:

> A B C
>
> 1 BB 6
> 2 BB
> 3 a 5
> 4 a 5
> 5 BB 5
>
>
> ok, still a beginner so i need simple answers.
>
> what i want to do is count the number of non blank entrys in colum C
> based on only those that are labled BB in B.
>
> I feel like this should be very simple COUNT option similar to
> SUMIF(B1:B5,"BB",C1:C5)
>
>

 
Reply With Quote
 
mail@toniasears.co.uk
Guest
Posts: n/a
 
      17th Jul 2007


yes great !! thank you very much!!!

 
Reply With Quote
 
Jim May
Guest
Posts: n/a
 
      17th Jul 2007
=sumproduct((left(B1:B5,2)="BB")*(C1:C5>0))


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>A B C
>
> 1 BB 6
> 2 BB
> 3 a 5
> 4 a 5
> 5 BB 5
>
>
> ok, still a beginner so i need simple answers.
>
> what i want to do is count the number of non blank entrys in colum C
> based on only those that are labled BB in B.
>
> I feel like this should be very simple COUNT option similar to
> SUMIF(B1:B5,"BB",C1:C5)
>



 
Reply With Quote
 
Jim May
Guest
Posts: n/a
 
      17th Jul 2007
Make that:
=sumproduct((left(B1:B5,2)="BB")*((C1:C5<>"")))


"Jim May" <(E-Mail Removed)> wrote in message
news:YC2ni.1155$(E-Mail Removed)...
> =sumproduct((left(B1:B5,2)="BB")*(C1:C5>0))
>
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>A B C
>>
>> 1 BB 6
>> 2 BB
>> 3 a 5
>> 4 a 5
>> 5 BB 5
>>
>>
>> ok, still a beginner so i need simple answers.
>>
>> what i want to do is count the number of non blank entrys in colum C
>> based on only those that are labled BB in B.
>>
>> I feel like this should be very simple COUNT option similar to
>> SUMIF(B1:B5,"BB",C1:C5)
>>

>
>



 
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
How do I count sets of cells in two columns? David Microsoft Excel Worksheet Functions 2 30th Jul 2008 10:21 PM
Excel graph 3 sets of data. 2 sets as lines 1 as column? AndyN Microsoft Excel Charting 2 11th Jul 2008 01:18 PM
count cells with year sets in a column? =?Utf-8?B?QnJhaW5sZXNzX2luX0Jvc3Rvbg==?= Microsoft Excel New Users 3 4th May 2006 10:12 PM
How to count sets of numbers JimDandy Microsoft Excel Charting 2 29th Mar 2006 10:45 PM
Count rows that match 3 sets of criteria? =?Utf-8?B?RXJpY0U=?= Microsoft Excel Worksheet Functions 3 29th Dec 2005 04:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:16 AM.