Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Imported data changes to date format (5-1-5 changes to May 1, 2005

I am importing data from another program into Excel. One of the fields being
imported is in the format #-#-# and when it gets to Excel it formats it as
Month day year (Ex. 5-1-5 is imported as May 1, 2005). How can I get it to
import into Excel as 5-1-5?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Imported data changes to date format (5-1-5 changes to May 1, 2005

Format the cell as text before you enter the data.
--
David Biddulph

"Beach Lover" wrote in message
...
I am importing data from another program into Excel. One of the fields
being
imported is in the format #-#-# and when it gets to Excel it formats it as
Month day year (Ex. 5-1-5 is imported as May 1, 2005). How can I get it
to
import into Excel as 5-1-5?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Imported data changes to date format

I too have a problem with this, but the answer is not as simple as you might think. Whenever I import stat data from a web page I want to copy the data just like it appears into an excel sheet. I don't want to waste time coping cell by cell data, so I highlight the complete table and then copy it. I then open up excel and highlight the entire sheet, then "Paste" not "Paste Special" that data into excel. This works great for just about everything except any data spaced by dashes (i.e."7-3"). Whatever format was previously setup is irrelevant to the excel program, and once it has changed it can no longer be changed back to the way it was! So, if anyone has the solution to this problem that would be great.

Cheers,
Brian


EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Imported data changes to date format

You may want to look at using Data|Import External Data|New Web Query.

It may do everything you want with no trouble.



Brian wrote:

I too have a problem with this, but the answer is not as simple as you might think. Whenever I import stat data from a web page I want to copy the data just like it appears into an excel sheet. I don't want to waste time coping cell by cell data, so I highlight the complete table and then copy it. I then open up excel and highlight the entire sheet, then "Paste" not "Paste Special" that data into excel. This works great for just about everything except any data spaced by dashes (i.e."7-3"). Whatever format was previously setup is irrelevant to the excel program, and once it has changed it can no longer be changed back to the way it was! So, if anyone has the solution to this problem that would be great.

Cheers,
Brian


EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com


--

Dave Peterson
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
unable to change date format on imported data Hyerczyk Excel Discussion (Misc queries) 1 July 6th 06 11:33 PM
Imported Data Date Format Problem Craig Excel Discussion (Misc queries) 1 December 20th 05 03:23 PM
Format date in excel 2000 like '31st January 2005' Malcolm Agingwell Excel Discussion (Misc queries) 4 July 14th 05 04:39 PM
Format date in excel 2000 like '31st January 2005' Malcolm Agingwell Excel Discussion (Misc queries) 1 June 29th 05 01:01 PM
Format date in excel 2000 like '31st January 2005' Malcolm Agingwell Excel Discussion (Misc queries) 1 June 29th 05 12:01 PM


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

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"