N Niek Otten Oct 2, 2007 #3 Look here: http://www.cpearson.com/excel/jdates.htm -- Kind regards, Niek Otten Microsoft MVP - Excel | Example - input number 05343 | Output from formula 12/9/2005
Look here: http://www.cpearson.com/excel/jdates.htm -- Kind regards, Niek Otten Microsoft MVP - Excel | Example - input number 05343 | Output from formula 12/9/2005
G Guest Oct 2, 2007 #4 Thank you!!!!! MartinW said: Hi Gary, Take a look here, http://www.cpearson.com/excel/jdates.htm HTH Martin Click to expand...
Thank you!!!!! MartinW said: Hi Gary, Take a look here, http://www.cpearson.com/excel/jdates.htm HTH Martin Click to expand...
G Guest Oct 2, 2007 #5 Thank you!!!!!! Gary''s Student said: see: http://www.cpearson.com/excel/jdates.htm Click to expand...
Thank you!!!!!! Gary''s Student said: see: http://www.cpearson.com/excel/jdates.htm Click to expand...
R Ron Rosenfeld Oct 2, 2007 #6 Example - input number 05343 Output from formula 12/9/2005 Click to expand... Here's one way: If your years will always be in this century: =DATE(LEFT(TEXT(A1,"\2\000000"),4),1,RIGHT(A1,3)) If it can be this century or last, with "30" being in the last century, then: =DATE(IF(--LEFT(TEXT(A1,"00000"),2)>30,1900,2000) +LEFT(TEXT(A1,"00000"),2),1,RIGHT(A1,3)) --ron
Example - input number 05343 Output from formula 12/9/2005 Click to expand... Here's one way: If your years will always be in this century: =DATE(LEFT(TEXT(A1,"\2\000000"),4),1,RIGHT(A1,3)) If it can be this century or last, with "30" being in the last century, then: =DATE(IF(--LEFT(TEXT(A1,"00000"),2)>30,1900,2000) +LEFT(TEXT(A1,"00000"),2),1,RIGHT(A1,3)) --ron