Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Auto Formatting hours of .csv file

I have a .csv file that is populated with hours (for example 28:53 when open
as text file)
When I open it in excel it automatically formats any hours that exceed 24:00
as a time & date (for example 28:55 imports 01/01/1900 07:54:00, and when I
format it as [h]:mm:ss it displays 31:54:00)

If the data reads less than 24:00 ie 18:45 it will display 18:45

How caN i COEERCT THIS?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Auto Formatting hours of .csv file

Take control of the import:

1. Open Excel
2. Data Import External Data Import Data and then tell the Wizard which
file to open

The Wizard will allow you to specify the field formats.

--
Gary''s Student - gsnu200853


"The Rook" wrote:

I have a .csv file that is populated with hours (for example 28:53 when open
as text file)
When I open it in excel it automatically formats any hours that exceed 24:00
as a time & date (for example 28:55 imports 01/01/1900 07:54:00, and when I
format it as [h]:mm:ss it displays 31:54:00)

If the data reads less than 24:00 ie 18:45 it will display 18:45

How caN i COEERCT THIS?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Auto Formatting hours of .csv file

WORKED A TREAT THANKS

"Gary''s Student" wrote:

Take control of the import:

1. Open Excel
2. Data Import External Data Import Data and then tell the Wizard which
file to open

The Wizard will allow you to specify the field formats.

--
Gary''s Student - gsnu200853


"The Rook" wrote:

I have a .csv file that is populated with hours (for example 28:53 when open
as text file)
When I open it in excel it automatically formats any hours that exceed 24:00
as a time & date (for example 28:55 imports 01/01/1900 07:54:00, and when I
format it as [h]:mm:ss it displays 31:54:00)

If the data reads less than 24:00 ie 18:45 it will display 18:45

How caN i COEERCT THIS?

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 do I import from csv file without auto formatting? zvikam Excel Discussion (Misc queries) 5 July 15th 08 01:00 PM
Can I auto save to a separate file?(not the file I am working in) Jim Lynch Setting up and Configuration of Excel 1 August 14th 06 05:20 PM
Conditional formatting on overtime hours Jennifer Excel Worksheet Functions 3 February 23rd 06 08:36 PM
auto save excel file every 10 minutes to its original file name MEG Excel Discussion (Misc queries) 3 September 8th 05 07:12 PM
Formatting Hours and Minutes Anthony Slater Excel Discussion (Misc queries) 2 January 20th 05 02:03 PM


All times are GMT +1. The time now is 03:34 AM.

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"