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 Date and Time Conversion

I have a spreadsheet with the date in the first column in MM/DD/YYYY format
and the time in the second column in HH:MM format. Is there some way to
convert that to a single date/time column in MM/DD/YYYY HH:MM format so I can
use that column of date/times as the x-axis in a line graph (utility data)?
How? (I'm using Excel 2000.)

Thanks,

Mike
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Date and Time Conversion

=A1+B1

"Mikekap" wrote:

I have a spreadsheet with the date in the first column in MM/DD/YYYY format
and the time in the second column in HH:MM format. Is there some way to
convert that to a single date/time column in MM/DD/YYYY HH:MM format so I can
use that column of date/times as the x-axis in a line graph (utility data)?
How? (I'm using Excel 2000.)

Thanks,

Mike

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Date and Time Conversion

Just as a follow up to Teethless mama's posting, Excel stores date-times as
floating point number... the integer portion represents the number of days
since January 1, 1900 and the decimal portion represents the fractional part
of the day (for example, 6:00am is 0.25). So, if you add your two cells
together, you are creating the floating point number that Excel sees for
that date-time... the format you display your date and time in is strictly
for your convenience.

--
Rick (MVP - Excel)


"Teethless mama" wrote in message
...
=A1+B1

"Mikekap" wrote:

I have a spreadsheet with the date in the first column in MM/DD/YYYY
format
and the time in the second column in HH:MM format. Is there some way to
convert that to a single date/time column in MM/DD/YYYY HH:MM format so I
can
use that column of date/times as the x-axis in a line graph (utility
data)?
How? (I'm using Excel 2000.)

Thanks,

Mike


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Date and Time Conversion

Good lord! That was almost too simple. And it works.

Thanks. And thanks also to Rick for the explanation of why it works.

Mike

"Teethless mama" wrote:

=A1+B1

"Mikekap" wrote:

I have a spreadsheet with the date in the first column in MM/DD/YYYY format
and the time in the second column in HH:MM format. Is there some way to
convert that to a single date/time column in MM/DD/YYYY HH:MM format so I can
use that column of date/times as the x-axis in a line graph (utility data)?
How? (I'm using Excel 2000.)

Thanks,

Mike

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
Date & Time conversion????? Jon M Excel Discussion (Misc queries) 1 April 9th 09 11:48 PM
DATE AND TIME CONVERSION HELP John T[_2_] Excel Worksheet Functions 2 March 16th 09 04:40 PM
Date & Time Conversion from xml import loza Excel Discussion (Misc queries) 2 June 27th 08 09:51 AM
Time Conversion Richard Excel Discussion (Misc queries) 2 June 15th 07 04:04 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 03:25 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"