anthony any luck date

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Anthony, any luck on the date problem

Anthony, any luck on the date problem

resolvedResolved · Low Priority · Version 2003

Peter has attended:
Excel Advanced course

Anthony, any luck on the date problem

Anthony, any luck on the date problem

RE: Anthony, any luck on the date problem

Hi Pete, thanks for your query. This is the formula you need:

=IF(LEN(A1)=6,(MID(A1, (LEN(A1)-5),2)) & "/" & (MID(A1, (LEN(A1)-3),2))& "/" & RIGHT(A1,2),(MID(A1, (LEN(A1)-4),1)) & "/" & (MID(A1, (LEN(A1)-3),2))& "/" & RIGHT(A1,2))

Paste into an empty cell, replace all references to A1 with the reference of the cell at the top of the dates and then Autofill down. The result will be the numbers in date format regardless of days with one or two figures. I found copying the results and then pasting them back in as values, then reformatting them as Dates worked well, but try reformatting into Long Date format. Excel will turn the last 10 into 2010. After that the data should be back in date format entirely.

Hope this helps,

Anthony


 

Excel tip:

Applying and removing border from cell in Excel 2010

Did you know the shortcut key for applying and removing the outline border for a cell?

CTRL+SHIFT+& Applies the outline border to the selected cells.
CTRL+SHIFT_ Removes the outline border from the selected cells.

View all Excel hints and tips


Server loaded in 0.08 secs.