Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jaret Wessel
 
Posts: n/a
Default Date in First Column, Time in First Row

I have data correlated to date and time. The dates go down the first column
of the sheet and the times (hours of each day) go across the first row of the
sheet, like so:

01:00 02:00 03:00 ...
01/01/05 1.3 2.2 3.2 ...
01/02/05 5.2 4.2 1.7 ...
01/03/05 2.3 4.1 6.4 ...
..
..
..

How do I make a chart with Date and Time on the x-axis and data on the
y-axis without doing lots of copying and pasting?
  #2   Report Post  
bj
 
Posts: n/a
Default

what kind of chart to you want?
if it is a line chart with contiguous day per hour on the x axis
A pivot table may give you the data format that you want

"Jaret Wessel" wrote:

I have data correlated to date and time. The dates go down the first column
of the sheet and the times (hours of each day) go across the first row of the
sheet, like so:

01:00 02:00 03:00 ...
01/01/05 1.3 2.2 3.2 ...
01/02/05 5.2 4.2 1.7 ...
01/03/05 2.3 4.1 6.4 ...
.
.
.

How do I make a chart with Date and Time on the x-axis and data on the
y-axis without doing lots of copying and pasting?

  #3   Report Post  
Jaret Wessel
 
Posts: n/a
Default

Yes, it's a line chart. I tried the pivot table but it doesn't work well
with data of this type. It sees the columns as the only fields. What I'm
looking for is a way to make a combination of a column and a row as the
field. Does that require special programming in Excel?

"bj" wrote:

what kind of chart to you want?
if it is a line chart with contiguous day per hour on the x axis
A pivot table may give you the data format that you want

"Jaret Wessel" wrote:

I have data correlated to date and time. The dates go down the first column
of the sheet and the times (hours of each day) go across the first row of the
sheet, like so:

01:00 02:00 03:00 ...
01/01/05 1.3 2.2 3.2 ...
01/02/05 5.2 4.2 1.7 ...
01/03/05 2.3 4.1 6.4 ...
.
.
.

How do I make a chart with Date and Time on the x-axis and data on the
y-axis without doing lots of copying and pasting?

  #4   Report Post  
Jon Peltier
 
Posts: n/a
Default

So many things are much easier in Excel if only the data could have been
effectively arranged from the start. Here's how to fix yours, in about
three minutes:

Starting data:

date 1:00 2:00 3:00
1/1/2005 1.3 2.2 3.2
1/2/2005 5.2 4.2 1.7
1/3/2005 2.3 4.1 6.4

Pivot table, date in row area, each time in data area:

date Data Total
1/1/2005 Sum of 1:00 1.3
Sum of 2:00 2.2
Sum of 3:00 3.2
1/2/2005 Sum of 1:00 5.2
Sum of 2:00 4.2
Sum of 3:00 1.7
1/3/2005 Sum of 1:00 2.3
Sum of 2:00 4.1
Sum of 3:00 6.4

Copy the table, Edit Paste Special - Values. Replace "Sum of " with
"", and fill dates down into empty cells:

date time Total
1/1/2005 1:00 1.3
1/1/2005 2:00 2.2
1/1/2005 3:00 3.2
1/2/2005 1:00 5.2
1/2/2005 2:00 4.2
1/2/2005 3:00 1.7
1/3/2005 1:00 2.3
1/3/2005 2:00 4.1
1/3/2005 3:00 6.4

It might be more efficient to add the date and time to get a single
date-time value in an inserted column, before you continue.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

Jaret Wessel wrote:

I have data correlated to date and time. The dates go down the first column
of the sheet and the times (hours of each day) go across the first row of the
sheet, like so:

01:00 02:00 03:00 ...
01/01/05 1.3 2.2 3.2 ...
01/02/05 5.2 4.2 1.7 ...
01/03/05 2.3 4.1 6.4 ...
.
.
.

How do I make a chart with Date and Time on the x-axis and data on the
y-axis without doing lots of copying and pasting?

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 to calculate Date & Time differences robs Excel Worksheet Functions 2 October 4th 05 04:22 PM
search for latest date Sue Excel Worksheet Functions 2 August 2nd 05 11:09 PM
Count cells based on date range in another column [email protected] New Users to Excel 1 May 5th 05 08:11 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
Automatically enter date and time but only update once. PM New Users to Excel 3 January 21st 05 07:47 AM


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