Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Andyd74
 
Posts: n/a
Default counting with multiple criteria


I want to count the number of cells in column B, where two criteria is
true.

I.e. i want to count the number of cells in column B that equal
01/01/2006 where A7:A3000 = C7 and also B7:B3000 = 01/01/2006

Thanks

Andy


--
Andyd74
------------------------------------------------------------------------
Andyd74's Profile: http://www.excelforum.com/member.php...o&userid=34013
View this thread: http://www.excelforum.com/showthread...hreadid=545016

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default counting with multiple criteria


Try this

=sumproduct(--(a7:a3000=c7),--(b7:b3000="01/01/2006"+0))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=545016

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default counting with multiple criteria

=SUMPRODUCT(--(A7:A3000="C7"),--(B2:B3000=--"2006-01-01"))

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Andyd74" wrote in
message ...

I want to count the number of cells in column B, where two criteria is
true.

I.e. i want to count the number of cells in column B that equal
01/01/2006 where A7:A3000 = C7 and also B7:B3000 = 01/01/2006

Thanks

Andy


--
Andyd74
------------------------------------------------------------------------
Andyd74's Profile:

http://www.excelforum.com/member.php...o&userid=34013
View this thread: http://www.excelforum.com/showthread...hreadid=545016



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default counting with multiple criteria

Hi

Try this:
=SUMPRODUCT(--(A7:A3000=$C$7),--(B7:B3000=DATEVALUE("01/01/2006")))
You have column B twice in your explanation, by the way. I've put it in
once.
I've also assumed that your reference to C7 is absolute.

This is untested.

Hope this helps.
Andy.

"Andyd74" wrote in
message ...

I want to count the number of cells in column B, where two criteria is
true.

I.e. i want to count the number of cells in column B that equal
01/01/2006 where A7:A3000 = C7 and also B7:B3000 = 01/01/2006

Thanks

Andy


--
Andyd74
------------------------------------------------------------------------
Andyd74's Profile:
http://www.excelforum.com/member.php...o&userid=34013
View this thread: http://www.excelforum.com/showthread...hreadid=545016



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
Multiple criteria LOOKUP Leon Excel Worksheet Functions 2 December 22nd 05 01:13 PM
Multiple Criteria Rhiannons_Wish Excel Worksheet Functions 0 December 7th 05 06:32 PM
Help w/ counting multiple columns based on IF criteria ConstructionGuy Excel Worksheet Functions 3 November 8th 05 04:03 AM
Multiple Criteria in SumProduct, N/A Result dcd123 Excel Worksheet Functions 7 October 7th 05 01:26 PM
Multiple Criteria IF Nesting BethB Excel Worksheet Functions 2 May 17th 05 12:14 AM


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