#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default COUNTIF

Hi

if I want to count the number of rown where B4:B65535 31/07/06 and <
01/08/07 and C4:C65535 = "No" how would I express this please

Thanks
A

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default COUNTIF

This should work:

=SUMPRODUCT((B4:B65535DATE(2006,7,31))*(B4:B65535 <DATE(2007,8,1))*(C4:C65535="Yes"))

Have a look at http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a
full explanation.

Regards,
Darren.

"Alex H" wrote:

Hi

if I want to count the number of rown where B4:B65535 31/07/06 and <
01/08/07 and C4:C65535 = "No" how would I express this please

Thanks
A

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default COUNTIF

OK, subject to changing Yes to No. :-)
--
David Biddulph

"Darren Bartrup" wrote in message
...
This should work:

=SUMPRODUCT((B4:B65535DATE(2006,7,31))*(B4:B65535 <DATE(2007,8,1))*(C4:C65535="Yes"))

Have a look at http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a
full explanation.

Regards,
Darren.

"Alex H" wrote:

Hi

if I want to count the number of rown where B4:B65535 31/07/06 and <
01/08/07 and C4:C65535 = "No" how would I express this please

Thanks
A



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default COUNTIF

Ok, give me a break it's Monday morning! :p
I wasn't far off though.

"David Biddulph" wrote:

OK, subject to changing Yes to No. :-)
--
David Biddulph

"Darren Bartrup" wrote in message
...
This should work:

=SUMPRODUCT((B4:B65535DATE(2006,7,31))*(B4:B65535 <DATE(2007,8,1))*(C4:C65535="Yes"))

Have a look at http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a
full explanation.

Regards,
Darren.

"Alex H" wrote:

Hi

if I want to count the number of rown where B4:B65535 31/07/06 and <
01/08/07 and C4:C65535 = "No" how would I express this please

Thanks
A




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default COUNTIF

=SUMPRODUCT((B4:B65535--("31/07/06"))*(B4:B65535<--("1/08/07"))*(C4:C65535
= "No"))
--
David Biddulph

"Alex H" wrote in message
...
Hi

if I want to count the number of rown where B4:B65535 31/07/06 and <
01/08/07 and C4:C65535 = "No" how would I express this please

Thanks
A





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default COUNTIF

Hi David,

As Bob Philips often points out --("1/08/07") is ambiguous in that it can be
interpreted as August 1 2007 or January 8 2007 depending on your settings.
It is therefore better to use Date(2007,8,1) which, (as I am sure you
already know), works regardless of the regional setting you have

--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
=SUMPRODUCT((B4:B65535--("31/07/06"))*(B4:B65535<--("1/08/07"))*(C4:C65535
= "No"))
--
David Biddulph

"Alex H" wrote in message
...
Hi

if I want to count the number of rown where B4:B65535 31/07/06 and <
01/08/07 and C4:C65535 = "No" how would I express this please

Thanks
A






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default COUNTIF

Thanks you both so very much -

A

"Sandy Mann" wrote in message
...
Hi David,

As Bob Philips often points out --("1/08/07") is ambiguous in that it can
be interpreted as August 1 2007 or January 8 2007 depending on your
settings. It is therefore better to use Date(2007,8,1) which, (as I am
sure you already know), works regardless of the regional setting you have

--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
=SUMPRODUCT((B4:B65535--("31/07/06"))*(B4:B65535<--("1/08/07"))*(C4:C65535
= "No"))
--
David Biddulph

"Alex H" wrote in message
...
Hi

if I want to count the number of rown where B4:B65535 31/07/06 and <
01/08/07 and C4:C65535 = "No" how would I express this please

Thanks
A







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
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") sctroy Excel Discussion (Misc queries) 2 September 25th 05 04:13 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
Help with a COUNTIF (I think) Marty Excel Worksheet Functions 5 May 17th 05 03:31 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM


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

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

About Us

"It's about Microsoft Excel"