#1   Report Post  
Quandary
 
Posts: n/a
Default Change Date

I have a rather large list of dates that are in a column and are written
first as year then month then day Ex: 20051116. I want to change all of them
in a date format like this 11/16/2005 with out retyping each one. I have
tried to change the format but excel will not read it. I have tried to make a
macro but excel only changed that one cell not the entire column. Please
help.
  #2   Report Post  
RagDyer
 
Posts: n/a
Default

It's relatively easy, *IF* all your dates are entered the same.

That means 4 digits for the year and 2 each for the month an day.
You can understand the ambiguity of something like this:
2005121

Which could be:
20050121
20051201

TTC (Text To Columns), can decipher your numbers and convert them to *true*
XL dates, where you then simply format them to the display mode that you
wish.

Select the list (in a column), then:
<Data <Text To Columns, <Next <Next
Click in "Date", and expand the date window and choose the format that you
now *have* (YMD), and wish to convert, *not* the format that you want to end
up with.

Now, click <Finish

You should now have your proper dates, which you can now format any way you
wish, if you don't like the format XL chose.
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"Quandary" wrote in message
...
I have a rather large list of dates that are in a column and are written
first as year then month then day Ex: 20051116. I want to change all of them
in a date format like this 11/16/2005 with out retyping each one. I have
tried to change the format but excel will not read it. I have tried to make
a
macro but excel only changed that one cell not the entire column. Please
help.

  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

Select that range in the column
data|Text to columns
fixed width (but remove any lines that excel guessed)
make sure you choose YMD as the date type



Quandary wrote:

I have a rather large list of dates that are in a column and are written
first as year then month then day Ex: 20051116. I want to change all of them
in a date format like this 11/16/2005 with out retyping each one. I have
tried to change the format but excel will not read it. I have tried to make a
macro but excel only changed that one cell not the entire column. Please
help.


--

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
Help: Can I change the date formula from mm/dd/yyyy to "mmm-yy" et wintersunshine Excel Discussion (Misc queries) 7 July 5th 05 09:44 PM
Change cell color dependin on date ... T. Denford Excel Worksheet Functions 4 April 13th 05 01:59 AM
Automatically Insert DATE, so that DATE will NOT change Cie Excel Worksheet Functions 4 April 4th 05 05:51 PM
how do i make a date change automatically if i change one before . dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 09:21 PM
How to change (delivery) days and automatically the receive date in an other cell? Elboo Excel Worksheet Functions 5 November 22nd 04 02:44 PM


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