Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default import data time format

Hi, I have imported some data into excel from a text file.

Column1: date (mm:dd:yy)
column2 : time eg 1500 (24 hour time, however only imported a string)

What I need to do is combone these two columns into a single column that
consists of date & time.
eg 03/15/2003 3:00:00 PM

Is this possible?

Thank you.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default import data time format

One way:

In column C, enter:

C1: =TIME(B1/100, MOD(B1,100),0)

and copy down as far as necessary.

Select the cells in column C. Copy them.

Select the corresponding cells in column A. Choose Edit/Paste
Special and select the Values and Add Radio buttons.

Format the cells in column A as

mm/dd/yyyy h:mm:ss AM/PM

In article ,
"Steve" wrote:

Hi, I have imported some data into excel from a text file.

Column1: date (mm:dd:yy)
column2 : time eg 1500 (24 hour time, however only imported a string)

What I need to do is combone these two columns into a single column that
consists of date & time.
eg 03/15/2003 3:00:00 PM

Is this possible?

Thank you.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default import data time format

Perfect, Thanks.

"J.E. McGimpsey" wrote in message
...
One way:

In column C, enter:

C1: =TIME(B1/100, MOD(B1,100),0)

and copy down as far as necessary.

Select the cells in column C. Copy them.

Select the corresponding cells in column A. Choose Edit/Paste
Special and select the Values and Add Radio buttons.

Format the cells in column A as

mm/dd/yyyy h:mm:ss AM/PM

In article ,
"Steve" wrote:

Hi, I have imported some data into excel from a text file.

Column1: date (mm:dd:yy)
column2 : time eg 1500 (24 hour time, however only imported a string)

What I need to do is combone these two columns into a single column that
consists of date & time.
eg 03/15/2003 3:00:00 PM

Is this possible?

Thank you.




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
import data format thenight-train Excel Worksheet Functions 2 January 27th 09 11:49 PM
Import data from website everyday at certain time... Jambruins Excel Discussion (Misc queries) 2 November 15th 07 05:32 PM
Import data format, need help sunslight Excel Discussion (Misc queries) 1 July 8th 06 08:20 PM
Import csv data and convert to TIME format JLettington Excel Worksheet Functions 0 January 25th 06 03:34 PM
how do i import multiple data sets at one time? chris_rip Excel Discussion (Misc queries) 3 June 22nd 05 04:27 AM


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