Hi,

Assuming you have the data in cell a1, you can use following two formula for
date n time respectively.

=DATE(MID(A1,SEARCH("/",A1,SEARCH("/",A1)+1)+1,4),MID(A1,SEARCH("/",A1)+1,(SEARCH("/",A1,SEARCH("/",A1)+1)-SEARCH("/",A1)-1)),LEFT(A1,SEARCH("/",A1)-1))

=TIME(MID(A1,SEARCH(" ",A1)+1,SEARCH(":",A1)-SEARCH("
",A1)-1),MID(A1,SEARCH(":",A1)+1,SEARCH(":",A1,SEARCH(":",A1)+1)-SEARCH(":",A1)-1),MID(A1,SEARCH(":",A1,SEARCH(":",A1)+1)+1,SEARCH("M",A1)-SEARCH("
",A1,SEARCH(" ",A1)+1)))

Sample file attached for your quick review.

Regards,
DILIPandey
On 18 Oct 2011 18:59, "Muhammad Arslan" <arslanacca...@gmail.com> wrote:

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel

Attachment: Extracting Date & Time by DILIPandey.xls
Description: MS-Excel spreadsheet

Reply via email to