PC Review


Reply
Thread Tools Rate Thread

Date formats

 
 
mohd21uk via OfficeKB.com
Guest
Posts: n/a
 
      16th May 2006
I have a column in a spreadsheet containing dates.Some of the dates are in
the date format while others are in a five digit format such as 38364 which
is not recognisable as a date. How can I convert these numbers to provide me
with a date.

Mnay Thanks.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...l-new/200605/1
 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      16th May 2006
Just highlight the complete column by clicking on the column identifier
(the grey button at the top of the column), then Format | Cells |
Number (tab) and choose Date with an appropriate format, then click OK.

Your numbers like 38364 should now be converted to dates (this
represents 12th Jan 2005).

Hope this helps.

Pete

 
Reply With Quote
 
mohd21uk via OfficeKB.com
Guest
Posts: n/a
 
      16th May 2006
The problem comes up when I import the worksheet in Access. The date format
then reverts back to numbers. Is there any way that I can preserve this.

Thanks again.

Pete_UK wrote:
>Just highlight the complete column by clicking on the column identifier
>(the grey button at the top of the column), then Format | Cells |
>Number (tab) and choose Date with an appropriate format, then click OK.
>
>Your numbers like 38364 should now be converted to dates (this
>represents 12th Jan 2005).
>
>Hope this helps.
>
>Pete


--
Message posted via http://www.officekb.com
 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      16th May 2006
Do you mean that you bring the data from Access into Excel? If so, then
you could record a simple macro while you format the column as dates
(as above), so that for future imports you can just run the macro again
to save you a few mouse-clicks.

Hope this helps.

Pete

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Different Date formats in text to be recognised as date value swiftcode Microsoft Excel Programming 8 16th Oct 2009 08:37 AM
Cell Date and Listbox Date formats Corey Microsoft Excel Programming 5 12th Dec 2008 11:52 AM
Dealing with date formats on expiration date bliten_bsas Microsoft Excel Programming 1 4th Oct 2007 08:47 PM
All date formats change any date input to Sept. 17, 2126. =?Utf-8?B?SmVycnk=?= Microsoft Excel Crashes 0 28th Aug 2006 07:34 PM
Date Formats of Date in Database Martin Eyles Microsoft ASP .NET 5 29th Mar 2006 10:28 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:18 PM.