Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Count Non-Blanks in one column based on criteria in another

Considering the following hypothetical table with column headers and example
values:

[A] [b] [C]
FREQ CALL1 CALL2
[1] 18 10
[2] 12 8 21
[3] 6 16
[4] 18 8 25
[5] 12 5
[6] 6

I want to know for all rows containing '18' for FREQ, how many of these have
a 'non-blank' value for CALL2.

In the above example,there is only one row that has a value of '18' for FREQ
AND a 'non-blank' for CALL2. Therefore the count is '1'

I need a straight-forward formula - not pivot table, to provide this type of
conditional count.

Any advice would be sincerely appreciated !!!!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Count Non-Blanks in one column based on criteria in another

=SUMPRODUCT(--(A1:A6=18), --(C1:C6<""))

adjust ranges as needed. sumproduct cannot accomodate entire columns (ie
A:A).

"ScottPcola" wrote:

Considering the following hypothetical table with column headers and example
values:

[A] [b] [C]
FREQ CALL1 CALL2
[1] 18 10
[2] 12 8 21
[3] 6 16
[4] 18 8 25
[5] 12 5
[6] 6

I want to know for all rows containing '18' for FREQ, how many of these have
a 'non-blank' value for CALL2.

In the above example,there is only one row that has a value of '18' for FREQ
AND a 'non-blank' for CALL2. Therefore the count is '1'

I need a straight-forward formula - not pivot table, to provide this type of
conditional count.

Any advice would be sincerely appreciated !!!!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Count Non-Blanks in one column based on criteria in another

Thanks JMB...that did the trick !!!

"JMB" wrote:

=SUMPRODUCT(--(A1:A6=18), --(C1:C6<""))

adjust ranges as needed. sumproduct cannot accomodate entire columns (ie
A:A).

"ScottPcola" wrote:

Considering the following hypothetical table with column headers and example
values:

[A] [b] [C]
FREQ CALL1 CALL2
[1] 18 10
[2] 12 8 21
[3] 6 16
[4] 18 8 25
[5] 12 5
[6] 6

I want to know for all rows containing '18' for FREQ, how many of these have
a 'non-blank' value for CALL2.

In the above example,there is only one row that has a value of '18' for FREQ
AND a 'non-blank' for CALL2. Therefore the count is '1'

I need a straight-forward formula - not pivot table, to provide this type of
conditional count.

Any advice would be sincerely appreciated !!!!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Count Non-Blanks in one column based on criteria in another

you're welcome - thanks for the feedback.

"ScottPcola" wrote:

Thanks JMB...that did the trick !!!

"JMB" wrote:

=SUMPRODUCT(--(A1:A6=18), --(C1:C6<""))

adjust ranges as needed. sumproduct cannot accomodate entire columns (ie
A:A).

"ScottPcola" wrote:

Considering the following hypothetical table with column headers and example
values:

[A] [b] [C]
FREQ CALL1 CALL2
[1] 18 10
[2] 12 8 21
[3] 6 16
[4] 18 8 25
[5] 12 5
[6] 6

I want to know for all rows containing '18' for FREQ, how many of these have
a 'non-blank' value for CALL2.

In the above example,there is only one row that has a value of '18' for FREQ
AND a 'non-blank' for CALL2. Therefore the count is '1'

I need a straight-forward formula - not pivot table, to provide this type of
conditional count.

Any advice would be sincerely appreciated !!!!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
sum items in a column based on criteria located in other columns Kurt Excel Discussion (Misc queries) 1 August 2nd 06 05:12 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
I Need to Count Number of Entries Based on Two Criteria Jones Excel Worksheet Functions 3 July 14th 05 10:34 PM
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
count non blank cells which meet criteria in another column cmarsh5035 Excel Worksheet Functions 2 February 16th 05 04:32 PM


All times are GMT +1. The time now is 03:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"