Hi
I import text files into one excel file, but a certain column called "date" is quite problematic: the dates are in american format (MM/DD/YY) and i need to convert them to UK Format (DD/MM/YY). i managed to solve this by using a formula, but the problem is solved only some of the dates (example below - only for the ones that the day is larger than 12). also, i the excel the dates that the day is below 12 are written akwared (aligned to the side)
Date Corrected
02/22/11 22/02/11
02/23/11 23/02/11
02/24/11 24/02/11
02/28/11 28/02/11
03/01/2011 #Value!
03/02/2011 #Value!
03/03/2011 #Value!
03/08/2011 #Value!
03/09/2011 #Value!
the formula is:=DATEVALUE(MID(D2,4,2)&"/"&LEFT(D2,2)&"/"&RIGHT(D2,2))
Thanks!
Itay
I import text files into one excel file, but a certain column called "date" is quite problematic: the dates are in american format (MM/DD/YY) and i need to convert them to UK Format (DD/MM/YY). i managed to solve this by using a formula, but the problem is solved only some of the dates (example below - only for the ones that the day is larger than 12). also, i the excel the dates that the day is below 12 are written akwared (aligned to the side)
Date Corrected
02/22/11 22/02/11
02/23/11 23/02/11
02/24/11 24/02/11
02/28/11 28/02/11
03/01/2011 #Value!
03/02/2011 #Value!
03/03/2011 #Value!
03/08/2011 #Value!
03/09/2011 #Value!
the formula is:=DATEVALUE(MID(D2,4,2)&"/"&LEFT(D2,2)&"/"&RIGHT(D2,2))
Thanks!
Itay