#1   Report Post  
Jean-Francois Boucher
 
Posts: n/a
Default Date format

Hi I have i excel shhet one colum as imported data from another program. I
have this date format in the colum: 111504, im trying to format the cell but
i got this result: 4/14/05. With the format date 50498 the result i got is:
4/03/38.

Can anyone help me?


  #2   Report Post  
al9315
 
Posts: n/a
Default



"Jean-Francois Boucher" wrote:

Hi I have i excel shhet one colum as imported data from another program. I
have this date format in the colum: 111504, im trying to format the cell but
i got this result: 4/14/05. With the format date 50498 the result i got is:
4/03/38.

Can anyone help me?


=Datevalue("22-Feb-05")

If you type this into a cell it will produce the result 38405 being the
number of days from 1-01-1900

Format the cells you wish to use as date cells and you can type in 38405
which will produce the result 22-02-05

The examples you quote are year 2205 and 2238 !!
Hope this helps, Al

  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

Jean

Select the column then DataText to ColumnsNextNextColumn Data FormatDate
and MDY. Finish.

111504 returns 15/11/04 Nov 11, 2004

50498 returns 04/05/98 May 04, 1998


Gord Dibben Excel MVP

On Tue, 22 Feb 2005 05:25:04 -0800, Jean-Francois Boucher
wrote:

Hi I have i excel shhet one colum as imported data from another program. I
have this date format in the colum: 111504, im trying to format the cell but
i got this result: 4/14/05. With the format date 50498 the result i got is:
4/03/38.

Can anyone help me?


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 Format Question Josh O. Excel Discussion (Misc queries) 1 February 10th 05 09:45 PM
Format cells as date bay Excel Discussion (Misc queries) 3 January 26th 05 05:34 PM
USING THE DATE FORMAT IN EXCEL teach Excel Discussion (Misc queries) 3 December 14th 04 11:55 PM
problem with formatting cell to date format Del Excel Worksheet Functions 7 December 8th 04 05:14 PM
Problem with Date format from VBA code twig Excel Discussion (Misc queries) 3 December 7th 04 06:01 PM


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