Date format 050180 to 05/01/80

  • Thread starter Thread starter LauraNH
  • Start date Start date
L

LauraNH

If data is entered as mmddyy, how do I get it to change to mm/dd/yy? I have
tried formatting the cell to no avail. HELP!
 
First, you need to convert the data to an actual date. Try clicking
Data/Text To Columns. Select Delimited, click Next, ensure all checkboxes
under the Delimiters section are unchecked, click next, under Data Format
section select Date and MDY, click Finish.

Now XL should have converted your data to a date. You should be able to
change it to a different date format as needed.
 
Are you sure that you've got the parameters of the date function in the
right order, John?
Wouldn't it be =DATE(RIGHT(A1,2),LEFT(A1,2),MID(A1,3,2))
 
Thank you Thank you Thank you!

JMB said:
First, you need to convert the data to an actual date. Try clicking
Data/Text To Columns. Select Delimited, click Next, ensure all checkboxes
under the Delimiters section are unchecked, click next, under Data Format
section select Date and MDY, click Finish.

Now XL should have converted your data to a date. You should be able to
change it to a different date format as needed.
 
One other question...once I converted all my current data to that format and
set all the following cells to have the date format of mm/dd/yy, when I then
entered a date, for example 010101 it came out as 08/27/27. What happened?
 
Thank you. I will try that. So, in the future if I want my data to appear
as mm/dd/yy, how do I do that? I tried opening a new worksheet and
formatting the cells for that format and then tried entering the data and it
didn't work. I ask as I have more data to add to this worksheet...
 
If you don't want to use the macro, then you'll have to type in your entry so
that excel sees it as a date:

01/01/2001
(I like 4 digit years!)
 
Do you mean enter the data as 01012001 or type it in myself with the dashes?
Please forgive my ignorance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top