Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Counting the number of date entries in a giving month

I have a very simple spreadsheet the records the date a document is created
and records dates in the documents history

what i was to do is counts the number of documents created by month so i can
put this information into a bar chart

eg if i have 200 dates in a column i want to know how many dates are in Jan,
Feb, March etc...

Hope this makes sense

Thanks in advance

Phil G
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Counting the number of date entries in a giving month

=SUMPRODUCT(--(MONTH(A1:A100)=1))

Dates in column A and month of January

If you have more than one year you can check year:

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

HTH

"Philgr" wrote:

I have a very simple spreadsheet the records the date a document is created
and records dates in the documents history

what i was to do is counts the number of documents created by month so i can
put this information into a bar chart

eg if i have 200 dates in a column i want to know how many dates are in Jan,
Feb, March etc...

Hope this makes sense

Thanks in advance

Phil G

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Counting the number of date entries in a giving month

Excelent that works :)

How do i get it to ignore the empty cells , eg if i have 82 entries in the
coloum A1:A200

Currently it reports the empty cells as Jan ?

"Toppers" wrote:

=SUMPRODUCT(--(MONTH(A1:A100)=1))

Dates in column A and month of January

If you have more than one year you can check year:

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

HTH

"Philgr" wrote:

I have a very simple spreadsheet the records the date a document is created
and records dates in the documents history

what i was to do is counts the number of documents created by month so i can
put this information into a bar chart

eg if i have 200 dates in a column i want to know how many dates are in Jan,
Feb, March etc...

Hope this makes sense

Thanks in advance

Phil G

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default Counting the number of date entries in a giving month

Try the following modification:

=SUMPRODUCT(--(MONTH(A1:A100)=1)) - COUNTBLANK(A1:A100)

That should take care of blanks.

HTH,

TK

"Philgr" wrote:

Excelent that works :)

How do i get it to ignore the empty cells , eg if i have 82 entries in the
coloum A1:A200

Currently it reports the empty cells as Jan ?

"Toppers" wrote:

=SUMPRODUCT(--(MONTH(A1:A100)=1))

Dates in column A and month of January

If you have more than one year you can check year:

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

HTH

"Philgr" wrote:

I have a very simple spreadsheet the records the date a document is created
and records dates in the documents history

what i was to do is counts the number of documents created by month so i can
put this information into a bar chart

eg if i have 200 dates in a column i want to know how many dates are in Jan,
Feb, March etc...

Hope this makes sense

Thanks in advance

Phil G

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Counting the number of date entries in a giving month

=SUMPRODUCT(--(MONTH(A1:A100)=1),--(A1:A100<""))

"Philgr" wrote:

Excelent that works :)

How do i get it to ignore the empty cells , eg if i have 82 entries in the
coloum A1:A200

Currently it reports the empty cells as Jan ?

"Toppers" wrote:

=SUMPRODUCT(--(MONTH(A1:A100)=1))

Dates in column A and month of January

If you have more than one year you can check year:

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

HTH

"Philgr" wrote:

I have a very simple spreadsheet the records the date a document is created
and records dates in the documents history

what i was to do is counts the number of documents created by month so i can
put this information into a bar chart

eg if i have 200 dates in a column i want to know how many dates are in Jan,
Feb, March etc...

Hope this makes sense

Thanks in advance

Phil G

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
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Date arithmetic: adding 1 month to prior end of month date manxman Excel Worksheet Functions 2 July 14th 06 09:29 PM
Calculate a 30-day moving average based on the last x number of entries and date gimiv Excel Worksheet Functions 14 July 7th 06 12:49 PM
Excel: I enter date and format for date, but shows as number spohar Excel Discussion (Misc queries) 2 March 10th 06 08:40 PM
Counting distinct entries based on meeting month & year criteria jennifer Excel Worksheet Functions 3 February 9th 06 01:56 PM


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