Thread: Date formats
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary Brown
 
Posts: n/a
Default Date formats


Assuming the date is in the following format:-

DDMMYY

you will need to put a formula, in to convert the data into a date.

I have assumed that all dates are in the current century, the formula I
would use would be:-

=DATE(20&RIGHT(A1,2),MID(A1,3,2),LEFT(A1,2))

Where A1 contains a date.

If the day doesn't have a leading zero, you will need to adjust the
above formula to accomodate. If you need help let me know.

G


--
Gary Brown
------------------------------------------------------------------------
Gary Brown's Profile: http://www.excelforum.com/member.php...o&userid=17084
View this thread: http://www.excelforum.com/showthread...hreadid=534092