Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PAL PAL is offline
external usenet poster
 
Posts: 200
Default Frequency of date

I have a list of dates over a two year period (in this example it is over
2006-07; although it will vary given different data sets). I would like to
create a table show the frequency of dates in each month.

Jan -06 5
Feb -06 1

Is there an easy way to do this count.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Frequency of date

By far the easiest way is a pivot table. If you're new to Pivot Tables,
start he
http://peltiertech.com/Excel/Pivots/pivottables.htm

Regards,
Fred.

"PAL" wrote in message
...
I have a list of dates over a two year period (in this example it is over
2006-07; although it will vary given different data sets). I would like
to
create a table show the frequency of dates in each month.

Jan -06 5
Feb -06 1

Is there an easy way to do this count.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Frequency of date

If you mean to count the number of entries in a particular month

'count of number of entries of nov 2009 from Col A
=SUMPRODUCT(--(TEXT(A1:A100,"mmyyyy")="112009"))

Or with the current month/date in cell C1

=SUMPRODUCT(--(TEXT(A1:A100,"mmyyyy")=TEXT(C1,"mmyyyy")))

If this post helps click Yes
---------------
Jacob Skaria


"PAL" wrote:

I have a list of dates over a two year period (in this example it is over
2006-07; although it will vary given different data sets). I would like to
create a table show the frequency of dates in each month.

Jan -06 5
Feb -06 1

Is there an easy way to do this count.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PAL PAL is offline
external usenet poster
 
Posts: 200
Default Frequency of date

Jacob,

I modified the first part of your formula in order to make it work for
whatever is in B1. I get blanks. As an array.....

=IF('Site Raw'!$J$5:$J$1021=$B$1,SUMPRODUCT(--(TEXT('Site
Raw'!$C$5:$C$1021,"mmyyyy")=TEXT(A4,"mmyyyy"))),"" )

Any ideas.




"Jacob Skaria" wrote:

If you mean to count the number of entries in a particular month

'count of number of entries of nov 2009 from Col A
=SUMPRODUCT(--(TEXT(A1:A100,"mmyyyy")="112009"))

Or with the current month/date in cell C1

=SUMPRODUCT(--(TEXT(A1:A100,"mmyyyy")=TEXT(C1,"mmyyyy")))

If this post helps click Yes
---------------
Jacob Skaria


"PAL" wrote:

I have a list of dates over a two year period (in this example it is over
2006-07; although it will vary given different data sets). I would like to
create a table show the frequency of dates in each month.

Jan -06 5
Feb -06 1

Is there an easy way to do this count.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Frequency of date

=IF('Site Raw'!$J$5:$J$1021=$B$1,SUMPRODUCT(--(TEXT('Site
Raw'!$C$5:$C$1021,"mmyyyy")=TEXT(A4,"mmyyyy")))," ")


Not sure what you're trying to do but you'd have to put the IF test inside
SUMPRODUCT like this:

=SUMPRODUCT(--(TEXT('Site
Raw'!$C$5:$C$1021,"mmyyyy")=TEXT(A4,"mmyyyy")).--('Site
Raw'!$J$5:$J$1021=$B$1))


--
Biff
Microsoft Excel MVP


"PAL" wrote in message
...
Jacob,

I modified the first part of your formula in order to make it work for
whatever is in B1. I get blanks. As an array.....

=IF('Site Raw'!$J$5:$J$1021=$B$1,SUMPRODUCT(--(TEXT('Site
Raw'!$C$5:$C$1021,"mmyyyy")=TEXT(A4,"mmyyyy"))),"" )

Any ideas.




"Jacob Skaria" wrote:

If you mean to count the number of entries in a particular month

'count of number of entries of nov 2009 from Col A
=SUMPRODUCT(--(TEXT(A1:A100,"mmyyyy")="112009"))

Or with the current month/date in cell C1

=SUMPRODUCT(--(TEXT(A1:A100,"mmyyyy")=TEXT(C1,"mmyyyy")))

If this post helps click Yes
---------------
Jacob Skaria


"PAL" wrote:

I have a list of dates over a two year period (in this example it is
over
2006-07; although it will vary given different data sets). I would
like to
create a table show the frequency of dates in each month.

Jan -06 5
Feb -06 1

Is there an easy way to do this count.





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
Frequency Reza Excel Worksheet Functions 6 April 12th 08 03:58 AM
Frequency Blackhawk.34 Excel Discussion (Misc queries) 4 February 7th 07 06:56 PM
Frequency ( ) Epinn New Users to Excel 2 September 21st 06 08:42 AM
histograms - frequency and relative frequency? confusedstudent Excel Discussion (Misc queries) 2 February 8th 06 08:20 AM
Frequency within date range cursednomore Excel Worksheet Functions 2 September 12th 05 08:44 PM


All times are GMT +1. The time now is 11:36 PM.

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"