View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.charting
PBezucha PBezucha is offline
external usenet poster
 
Posts: 120
Default time plots/charts in Excel

Leo,
Obviously the time intervals are different in the record. Therefore you have
to employ scatter (xy) chart. To prepare data for it:
(1) Be sure that values 18-Oct-80 etc. are formatted as dates, and 20:23:12
as times.
(2) Place sums in the forth column: €ś= B1 + C1€ť, and downwards. General
time data appear as results.
(3) Format these data range properly, creating your user format. It will be
adopted in the chart for x-axis text, and therefore must be short and
fitting. You will have to omit year and probably month, and on the other side
minutes and seconds.
(4) Link 1s for online mode, 0s for offline: in the fifth column
€ś=if(A1=€ťOnline€ť,1,0)€ť

(5) Select correct range in columns D and E, and by means of chart wizard
choose scatter chart.
(6) Set proper time scale: do not be shocked by offered values round 36900
(these are the whole days count from the beginning of 1900, including current
day fraction), and input the whole expressions, e.i. 12-Oct-08 23:00:00 for
the beginning, and 13-Oct-08 15:00:00 for the end on x-axis. You can select
also interval on the axis e.i. 3:00:00.
(7) Select sufficiently thick line with no markers; tick off €śsmooth line€ť.

Petr

--
Petr Bezucha


"Leoborealis" wrote:

I am trying to plot usage time for a device we use; data is in the following
format:

A B C
Online 23:27:39 12-Oct-08
Online 23:30:54 12-Oct-08
Online 23:34:09 12-Oct-08
Online 23:37:24 12-Oct-08
Offline 23:40:37 12-Oct-08
Offline 23:43:50 12-Oct-08
Offline 23:47:03 12-Oct-08
Offline 12:00:28 13-Oct-08
Offline 12:03:41 13-Oct-08
Offline 12:06:54 13-Oct-08
Online 12:10:10 13-Oct-08
Online 12:13:26 13-Oct-08
Online 12:16:42 13-Oct-08
Online 12:19:58 13-Oct-08
Offline 12:23:11 13-Oct-08
Offline 12:26:24 13-Oct-08
Offline 12:29:37 13-Oct-08
Offline 14:51:13 13-Oct-08
Offline 14:54:26 13-Oct-08

I'm trying with no success to plot online time by day and by time windows,
on a 24 hour scale.
Help and tips will be much appreciated.
Thank you.