>Hi Pete,
>
>but it is not giving the result.
>
>how to find it, if it is in this format : Nov 05 2007 4:20PM
What result is it giving you?
So long as your data is truly an Excel data, the format should not matter.
If you want the results in hours and minutes, format your result cell as [h]:mm
If the values are text strings, and not truly Excel date/times, then you need
to convert them to real Excel date/times first.
One formula to do that, with your data in A1, is:
=MID(A1,5,2)&"-"&LEFT(A1,3)&"-"&MID(A1,8,4)&
MID(A1,12,LEN(A1)-2-11)&" "&RIGHT(A1,2)
The above assumes your data is given in exactly the format you posted.
--ron
www.exciter.gr: Custom Excel Applications! - 05 Nov 2007 12:40 GMT
try this link: http://custom-excel.blogspot.com/
it also has a video that shows the procedure
http://www.exciter.gr
Custom Excel Applications and Functions!
> >Hi Pete,
>
[quoted text clipped - 18 lines]
> The above assumes your data is given in exactly the format you posted.
> --ron