dear all.
need to change all the date in same format. i am trying with change the format but it is not taking.
pl suggest any way for convert into same format.
sample sheet attached
dear all.
need to change all the date in same format. i am trying with change the format but it is not taking.
pl suggest any way for convert into same format.
sample sheet attached
First make the format of date as date mm/dd/yyyy hh:mm and then use this macro to convert every
cell to your desire format
Please Login or Register to view this content.
Kamboj
_________________________________________________________________________________
Mark the thread as SOLVED if my answer satisfy you.
hi thanks for reply
there may be some sintex error in macro so it is not running.
pl check again and suggest
Hi,
This can be done using formula.
In A2 you have 09/08/2015, is it '9th Aug 2015' or '8th Sep 2015' ?
hi,
it is 9th aug 2015
Hi,
Try the following formula in C2:
=IFERROR(A2*1,DATE(MID(A2,FIND("/",A2)+4,4),LEFT(A2,FIND("/",A2)-1),MID(A2,FIND("/",A2)+1,2))+1*RIGHT(A2,LEN(A2)-FIND(" ",A2)))
See the attached file.
C2=B2-IF(ISNUMBER(A2),A2,(MID(A2,FIND("/",A2,4)-2,3)&REPLACE(A2,FIND("/",A2,4)-2,3,))+0)Try this and copy towards downPlease Login or Register to view this content.
Last edited by samba_ravi; 10-06-2015 at 06:32 AM.
Samba
Say thanks to those who have helped you by clicking Add Reputation star.
First select col a and then right click and select format Cells
Under Number Choose the category Custom and then under type write -><-Please Login or Register to view this content.
and press ok
after that run this macro
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks