Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 560
Default Analysing time and days patterns in a chart

On Tue, 22 Jan 2008, in microsoft.public.excel.charting,
Christina said:

I have the same task. I would like to plot both date and time on the x-axis
to track deviations in data over time. My problem is I have the date and the
time in two different columns foor the incoming data. How can I make these to
variables appear in the same cell?


Dates are stored in Excel as whole numbers, and times as fractions of a
whole number. If you ensure that your dates are integers (i.e. there is
no time in them) and your times are always less than one (i.e. there is
no date information in them), then you can create a combined date and
time simply by adding the two numbers.

Examples:

Number Date or time Date and time
0.425 10:12 10:12 00 Jan 1900
39470 23/01/2008 00:00 23 Jan 2008
39470.425 23/01/2008 10:12 23 Jan 2008

Notice how the time appears to be on the "date" the noughth of January
1900. This is the starting point of the Excel calendar system. Today it
has been 39,470 days since then.

Now you can use the full number in a scatter (XY) chart to graph your
dates and times. Sadly, you can't use line charts, even with the
"Timeline" axis option, because timelines for some reason only operate
as integers, i.e. whole days, no times. However, you can very easily
format scatter series with lines, so that's not a problem.

--
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.
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
Were non-gradient chart patterns left out of Excel 2007? Arthur Tabachneck Charts and Charting in Excel 2 August 28th 07 01:58 AM
Are the non-gradient chart patterns missing from Excel 2007? Art[_3_] Excel Worksheet Functions 1 August 27th 07 10:37 PM
analysing companies - help!! therum Excel Discussion (Misc queries) 2 April 1st 07 01:06 AM
Analysing data through pivot Chris Excel Discussion (Misc queries) 3 January 9th 06 03:39 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM


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