K KKay Jul 3, 2008 #1 Is there a formula that would convert 80521 to a date, 05/21/08? Or convert a text of 080521 to a date format 05/21/08? thx, k
Is there a formula that would convert 80521 to a date, 05/21/08? Or convert a text of 080521 to a date format 05/21/08? thx, k
V vezerid Jul 3, 2008 #2 =DATE(--LEFT(A1,1+(LEN(A1)=6),--MID(A1,3,2),--RIGHT(A1,2)) HTH Kostis Vezerides
R Rick Rothstein \(MVP - VB\) Jul 3, 2008 #3 If all your dates will be on or after the year 2000, try this formula... =--TEXT(A1,"2000-00-00") Rick
If all your dates will be on or after the year 2000, try this formula... =--TEXT(A1,"2000-00-00") Rick
B Bernie Deitrick Jul 3, 2008 #4 You should be consistent, as well as keep the value in this century: =DATE(2000+(--LEFT(A1,1+(LEN(A1)=6))),--MID(A1,2+(LEN(A1)=6),2),--RIGHT(A1,2)) HTH, Bernie MS Excel MVP
You should be consistent, as well as keep the value in this century: =DATE(2000+(--LEFT(A1,1+(LEN(A1)=6))),--MID(A1,2+(LEN(A1)=6),2),--RIGHT(A1,2)) HTH, Bernie MS Excel MVP