Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Create A Bar Graph from A List of Dates

Hi,

I have a list of dates spread out over several years and would like to
create a bar graph that shows how many of those dates occurred in each
month. Can anyone recommend a way to do this? I will have to do this a
number of times, so the more automated the process can be, the better.

Thanks,

George


  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,489
Default Create A Bar Graph from A List of Dates

Hi,

You will need to calculate the number of dates in each year.
Assuming your dates are in A2:A26 place years you want to count in
column C. So for example place 2000 in C2, 2001 in C3 and so on till
C9 contains 2007.
In D2 enter the following formula

=SUMPRODUCT(--(YEAR($A$2:$A$26)=C2)*1)

Copy down to D9.
Now create a chart on the range C2:D9

Cheers
Andy

wrote:
Hi,

I have a list of dates spread out over several years and would like to
create a bar graph that shows how many of those dates occurred in each
month. Can anyone recommend a way to do this? I will have to do this a
number of times, so the more automated the process can be, the better.

Thanks,

George


  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 560
Default Create A Bar Graph from A List of Dates

On Sat, 8 Dec 2007, in microsoft.public.excel.charting,
" said:

I have a list of dates spread out over several years and would like to
create a bar graph that shows how many of those dates occurred in each
month. Can anyone recommend a way to do this? I will have to do this a
number of times, so the more automated the process can be, the better.


Create a Pivot Chart to count the number of dates that appears in the
list for each month, and plot them as a bar graph. Or create a Pivot
Table and make a custom chart from that.

--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.
  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,489
Default Create A Bar Graph from A List of Dates

And if I had read the question probably the formula would have been,

=SUMPRODUCT(--(MONTH(A2:A26)=C2)*1)

And the range of summary information would be C2:D13. Changing years in
C2:C13 to Month numbers 1 to 12.

Cheers
Andy

Andy Pope wrote:
Hi,

You will need to calculate the number of dates in each year.
Assuming your dates are in A2:A26 place years you want to count in
column C. So for example place 2000 in C2, 2001 in C3 and so on till
C9 contains 2007.
In D2 enter the following formula

=SUMPRODUCT(--(YEAR($A$2:$A$26)=C2)*1)

Copy down to D9.
Now create a chart on the range C2:D9

Cheers
Andy

wrote:

Hi,

I have a list of dates spread out over several years and would like to
create a bar graph that shows how many of those dates occurred in each
month. Can anyone recommend a way to do this? I will have to do this a
number of times, so the more automated the process can be, the better.

Thanks,

George


  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 10,593
Default Create A Bar Graph from A List of Dates

And if you used SUMPRODUCT properly you wouldn't use -- and *1 <vbg

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Andy Pope" wrote in message
...
And if I had read the question probably the formula would have been,

=SUMPRODUCT(--(MONTH(A2:A26)=C2)*1)

And the range of summary information would be C2:D13. Changing years in
C2:C13 to Month numbers 1 to 12.

Cheers
Andy

Andy Pope wrote:
Hi,

You will need to calculate the number of dates in each year.
Assuming your dates are in A2:A26 place years you want to count in column
C. So for example place 2000 in C2, 2001 in C3 and so on till
C9 contains 2007.
In D2 enter the following formula

=SUMPRODUCT(--(YEAR($A$2:$A$26)=C2)*1)

Copy down to D9.
Now create a chart on the range C2:D9

Cheers
Andy

wrote:

Hi,

I have a list of dates spread out over several years and would like to
create a bar graph that shows how many of those dates occurred in each
month. Can anyone recommend a way to do this? I will have to do this a
number of times, so the more automated the process can be, the better.

Thanks,

George







  #6   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,489
Default Create A Bar Graph from A List of Dates

Thanks Bob.

So either,

=SUMPRODUCT((MONTH($A$2:$A$26)=C2)*1)

or,

=SUMPRODUCT(--(MONTH($A$2:$A$26)=C2))

but not both.

Cheers
Andy

Bob Phillips wrote:
And if you used SUMPRODUCT properly you wouldn't use -- and *1 <vbg

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 create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
How to create a list of unique dates? Eric Excel Discussion (Misc queries) 6 June 15th 07 04:48 AM
How to create adress list so can mail merge and create labels? adecocq Excel Discussion (Misc queries) 2 October 25th 06 12:32 AM
create a filled in calendar from list of dates and notes DianneMD Excel Discussion (Misc queries) 0 March 16th 06 09:44 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM


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