#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Count

I have two columns, the first has a list of numerical values and the second
has yes or no values. I want a formula to count the number of times a "yes"
appears without a number in the other column.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 230
Default Count

One way....
(assuming your data is in columns A and B and in rows 1 to 10 - adjust to
suit, but you must maintain an equal number of rows in the formula!)
=SUMPRODUCT(--(A1:A10=""),--(B1:B10="yes"))

Or......
=COUNTIFS(A1:A10,"",B1:B10,"Yes")

Rob


"CraigMacE" wrote in message
...
I have two columns, the first has a list of numerical values and the second
has yes or no values. I want a formula to count the number of times a
"yes"
appears without a number in the other column.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Count

Try this...

A1:A10 = numeric values or empty
B1:B10 = yes or no

=SUMPRODUCT(--(A1:A10=""),--(B1:B10="yes"))


--
Biff
Microsoft Excel MVP


"CraigMacE" wrote in message
...
I have two columns, the first has a list of numerical values and the second
has yes or no values. I want a formula to count the number of times a
"yes"
appears without a number in the other column.



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
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 6 November 29th 05 03:27 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


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

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"