Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Count if statement

sI am trying to determine how many times a date may occur each month. In
other words I might have 5 meeting between 1/1/09 and 1/31/09 and 10 meeting
the next month. How do I track the number of time a meeting might occur each
month?
What is the formula-is it a count if statement?

Thanks,
Frank
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Count if statement

I assume you want to count dates for a specific month and year.

One way...

=SUMPRODUCT(--(MONTH(A1:A100)=1),--(YEAR(A1:A100)=2009))

That will count all dates in January 2009.

Just change the month and/or year number as needed.


--
Biff
Microsoft Excel MVP


"frankb" wrote in message
...
sI am trying to determine how many times a date may occur each month. In
other words I might have 5 meeting between 1/1/09 and 1/31/09 and 10
meeting
the next month. How do I track the number of time a meeting might occur
each
month?
What is the formula-is it a count if statement?

Thanks,
Frank



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 857
Default Count if statement

Hi,

Without your data layout we generally would use

=COUNTIF(Range,Criteria)

or

=SUMPRODUCT(--(A1:A100=--"1/1/09"),--(A1:A100<=--"1/31/09"))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"frankb" wrote:

sI am trying to determine how many times a date may occur each month. In
other words I might have 5 meeting between 1/1/09 and 1/31/09 and 10 meeting
the next month. How do I track the number of time a meeting might occur each
month?
What is the formula-is it a count if statement?

Thanks,
Frank

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Count if statement

Thank you Shane! that worked perfectly!
Frank
"Shane Devenshire" wrote:

Hi,

Without your data layout we generally would use

=COUNTIF(Range,Criteria)

or

=SUMPRODUCT(--(A1:A100=--"1/1/09"),--(A1:A100<=--"1/31/09"))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"frankb" wrote:

sI am trying to determine how many times a date may occur each month. In
other words I might have 5 meeting between 1/1/09 and 1/31/09 and 10 meeting
the next month. How do I track the number of time a meeting might occur each
month?
What is the formula-is it a count if statement?

Thanks,
Frank

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
If & Count Statement Chris Excel Worksheet Functions 8 August 9th 08 11:21 PM
better way to write a count if statement? luscioussarita Excel Worksheet Functions 3 March 27th 08 08:32 PM
Count If Statement Using Dates Chris O''''Neill Excel Discussion (Misc queries) 1 August 1st 07 10:06 PM
Help with Count IF Statement [email protected] Excel Discussion (Misc queries) 3 November 3rd 05 09:02 AM
count if statement NYDIA Excel Discussion (Misc queries) 4 February 1st 05 09:30 PM


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