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 distribution of dates via HIST Function

I have a single column of dates in this format:e.g.,

9/25/2006 18:06
9/25/2006 18:32
9/26/2006 13:06
9/28/2006 15:45

I used then something like Value (Left(cell,5) to get a numeric value of
38985 for the date of 9/25/2006

All appears to be good at this stage.

I then used the HIST function to get a distribution cout of the dates, and I
get this weird output:


Bin Frequency
38985 26
38985.16667 0
38985.33333 0
38985.5 0
38985.66667 0
38985.83333 0
More 12

Why is the Bin column still showing snippets of the timestamp..?

thanks in advance


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default distribution of dates via HIST Function

Hi Magellan,

Could it be that you are not manually setting the bin numbers but are
letting the histogram function calculate them ?
It seems that with automatic calculation of the bins 'Excel creates a set
of evenly distributed bins between the data's minimum and maximum values' -
although it also looks as if not all values are always included in the
automatic bin range.
Perhaps manual creation of bins will solve this, such as
38984
38985
38986
38987
38988
etc. ?

Anthony


"magellan" wrote:

I have a single column of dates in this format:e.g.,

9/25/2006 18:06
9/25/2006 18:32
9/26/2006 13:06
9/28/2006 15:45

I used then something like Value (Left(cell,5) to get a numeric value of
38985 for the date of 9/25/2006

All appears to be good at this stage.

I then used the HIST function to get a distribution cout of the dates, and I
get this weird output:


Bin Frequency
38985 26
38985.16667 0
38985.33333 0
38985.5 0
38985.66667 0
38985.83333 0
More 12

Why is the Bin column still showing snippets of the timestamp..?

thanks in advance


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default distribution of dates via HIST Function

Anthony...

that solved it, by filling in the BIN column.....thanks so much...:-) You
Rock!

"Anthony D" wrote:

Hi Magellan,

Could it be that you are not manually setting the bin numbers but are
letting the histogram function calculate them ?
It seems that with automatic calculation of the bins 'Excel creates a set
of evenly distributed bins between the data's minimum and maximum values' -
although it also looks as if not all values are always included in the
automatic bin range.
Perhaps manual creation of bins will solve this, such as
38984
38985
38986
38987
38988
etc. ?

Anthony


"magellan" wrote:

I have a single column of dates in this format:e.g.,

9/25/2006 18:06
9/25/2006 18:32
9/26/2006 13:06
9/28/2006 15:45

I used then something like Value (Left(cell,5) to get a numeric value of
38985 for the date of 9/25/2006

All appears to be good at this stage.

I then used the HIST function to get a distribution cout of the dates, and I
get this weird output:


Bin Frequency
38985 26
38985.16667 0
38985.33333 0
38985.5 0
38985.66667 0
38985.83333 0
More 12

Why is the Bin column still showing snippets of the timestamp..?

thanks in advance


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default distribution of dates via HIST Function

Thank you Magellan,
Glad to be of help :-)

"magellan" wrote:

Anthony...

that solved it, by filling in the BIN column.....thanks so much...:-) You
Rock!

"Anthony D" wrote:

Hi Magellan,

Could it be that you are not manually setting the bin numbers but are
letting the histogram function calculate them ?
It seems that with automatic calculation of the bins 'Excel creates a set
of evenly distributed bins between the data's minimum and maximum values' -
although it also looks as if not all values are always included in the
automatic bin range.
Perhaps manual creation of bins will solve this, such as
38984
38985
38986
38987
38988
etc. ?

Anthony


"magellan" wrote:

I have a single column of dates in this format:e.g.,

9/25/2006 18:06
9/25/2006 18:32
9/26/2006 13:06
9/28/2006 15:45

I used then something like Value (Left(cell,5) to get a numeric value of
38985 for the date of 9/25/2006

All appears to be good at this stage.

I then used the HIST function to get a distribution cout of the dates, and I
get this weird output:


Bin Frequency
38985 26
38985.16667 0
38985.33333 0
38985.5 0
38985.66667 0
38985.83333 0
More 12

Why is the Bin column still showing snippets of the timestamp..?

thanks in advance


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
Need a function that calculates time between 2 dates RawisTheGameHhH Excel Worksheet Functions 8 July 1st 06 01:54 AM
Function that compares dates getravel Excel Worksheet Functions 2 April 11th 06 06:32 AM
Using which function to calculatiing 2 set of numbers of days from 3 dates StephenL Excel Discussion (Misc queries) 2 March 19th 06 11:39 AM
Using IF function with Dates as parameters Shaun Excel Worksheet Functions 4 February 13th 06 09:38 PM
How do I use the excel timeline function with dates in graphs sweet4511 Excel Worksheet Functions 1 August 2nd 05 05:54 PM


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

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"