RE: change text to real dates

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



using len() i got all with 8.

from the two formulas suggested, i got same results.

26.04.09---->#value!
11.06.09---->11/6/2009----->06-Nov-09 ??

do i have some difficulty now?

"Mike H" wrote:

Hi,

I suspect spaces at the start or end, try this

=DATEVALUE(LEFT(TRIM(A1),2)&"/"&MID(TRIM(A1),4,2)&"/"&RIGHT(TRIM(A1),2))

Mike

"driller" wrote:

thanks,

i got #value!.


"Mike H" wrote:

Hi,

Try this

=DATEVALUE(LEFT(A1,2)&"/"&MID(A1,4,2)&"/"&RIGHT(A1,2))

Mike

"driller" wrote:

Hello,

i have extracted text within texts in a column of data thru left & right
function.

then i have the texts result like this

26.04.09
11.06.09
23.06.09
05.07.09
12.07.09
30.09.09

I need to change it to real dates considering that the first 2 digits are
Days and the last 2 digits are Years.
e.g.
26.04.09 ----> 26-Apr-09 or 26/04/09

thanks for helping. Any suggestion is appreciated.

--
regards
.



Relevant Pages

  • RE: change text to real dates
    ... "Mike H" wrote: ... "driller" wrote: ... i have extracted text within texts in a column of data thru left & right ... Days and the last 2 digits are Years. ...
    (microsoft.public.excel.misc)
  • RE: change text to real dates
    ... click on edit - replace - ... "driller" wrote: ... i have extracted text within texts in a column of data thru left & right ... Days and the last 2 digits are Years. ...
    (microsoft.public.excel.misc)
  • RE: change text to real dates
    ... "driller" wrote: ... "Mike H" wrote: ... i have extracted text within texts in a column of data thru left & right ... Days and the last 2 digits are Years. ...
    (microsoft.public.excel.misc)
  • RE: change text to real dates
    ... Yes Mike; an excellent source ... "Jacob Skaria" wrote: ... i have extracted text within texts in a column of data thru left & right ... Days and the last 2 digits are Years. ...
    (microsoft.public.excel.misc)
  • RE: change text to real dates
    ... "driller" wrote: ... "Mike H" wrote: ... i have extracted text within texts in a column of data thru left & right ... Days and the last 2 digits are Years. ...
    (microsoft.public.excel.misc)