Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Converting Number to Date

I have a file that I regularly download from a mainframe system. In the
file, dates come across as numbers in a MMDDYY format (example, May 31, 2007
come across as 53107; November 15, 2007 is 111507).

How can I change these numbers to a correct date format in Excel?

Thanks
Bill
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Converting Number to Date

Data/ Text to Columns/ select Date & MDY at the end of the wizard.
--
David Biddulph

"billbrandi" wrote in message
...
I have a file that I regularly download from a mainframe system. In the
file, dates come across as numbers in a MMDDYY format (example, May 31,
2007
come across as 53107; November 15, 2007 is 111507).

How can I change these numbers to a correct date format in Excel?

Thanks
Bill



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Converting Number to Date

You state that the format you download is MMDDYY,
BUT ...
You then give as an example for May 31,2007 - 53107

Are you *sure* that you don't get
053107
which would be MMDDYY format?

If you made a typo, and you *do* download 053107,
then you can use Text To Columns to easily transform those numbers to XL
recognizable dates.

Select the column of data, then from the Menu Bar,
<Data <Text To Columns <Next <Next

Click on "Date", and make sure that "MDY" is displayed in the box.

Then <Finish

You now have XL "legal" dates which you can format to any date style you
wish.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------


"billbrandi" wrote in message
...
I have a file that I regularly download from a mainframe system. In the
file, dates come across as numbers in a MMDDYY format (example, May 31,
2007
come across as 53107; November 15, 2007 is 111507).

How can I change these numbers to a correct date format in Excel?

Thanks
Bill



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
Need help converting Number stored as Text to Date LuvHaleiwa Excel Discussion (Misc queries) 4 December 21st 07 08:09 PM
Converting a number to a date Pete Excel Discussion (Misc queries) 3 February 6th 07 03:51 AM
converting date to number Todd Excel Worksheet Functions 9 September 3rd 06 01:33 AM
converting 8-digit number to date DJ Excel Discussion (Misc queries) 6 June 12th 06 11:44 PM
Converting number or text to a Date Format samhain New Users to Excel 2 October 17th 05 02:28 PM


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