#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Countif problem.

I have a column that I need to count the occurances of the word "yes" when
the value in the next column over is greater than zero.
Thank you for your assistance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Countif problem.

=sumproduct(--(a1:a100="yes",--(b1:b1000)
For more details on SUMPRODUCT
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
http://mcgimpsey.com/excel/formulae/doubleneg.html
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"dlbeiler" wrote in message
...
I have a column that I need to count the occurances of the word "yes" when
the value in the next column over is greater than zero.
Thank you for your assistance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Countif problem.

Thank you very much Mr. Liengme. I had to make a simple edit and it now
works to perfection. It needed a parenthese after the "yes".
=sumproduct(--(a1:a100="yes"),--(b1:b1000)

"Bernard Liengme" wrote:

=sumproduct(--(a1:a100="yes",--(b1:b1000)
For more details on SUMPRODUCT
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
http://mcgimpsey.com/excel/formulae/doubleneg.html
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"dlbeiler" wrote in message
...
I have a column that I need to count the occurances of the word "yes" when
the value in the next column over is greater than zero.
Thank you for your assistance.




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
countif problem Scott@CW Excel Discussion (Misc queries) 6 October 4th 07 02:41 PM
COUNTIF problem with NOW() Spreadsheet Excel Worksheet Functions 21 June 26th 06 09:47 PM
Countif Problem John Moore Excel Discussion (Misc queries) 5 November 27th 05 07:09 PM
countif problem WYN Excel Discussion (Misc queries) 4 April 25th 05 04:28 PM
Countif Problem Alicia Excel Worksheet Functions 3 November 4th 04 10:01 AM


All times are GMT +1. The time now is 02:52 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"