ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Convert 1208 to 12/2008 date (https://www.excelbanter.com/excel-discussion-misc-queries/212834-convert-1208-12-2008-date.html)

Gemi

Convert 1208 to 12/2008 date
 
I have a file that stored dates by month /year. Is there a formula to chagne
the numbers to dates? I tried in format cells but it does not work. I need
1208 to read as 12/2008 and 408 to read as 4/08. Thanks for your help!

Lee

Gary''s Student

Convert 1208 to 12/2008 date
 
=DATE(2000+RIGHT(A1,2),LEFT(A1,LEN(A1)-2),1)
and format m/yy
--
Gary''s Student - gsnu200818


"Gemi" wrote:

I have a file that stored dates by month /year. Is there a formula to chagne
the numbers to dates? I tried in format cells but it does not work. I need
1208 to read as 12/2008 and 408 to read as 4/08. Thanks for your help!

Lee



All times are GMT +1. The time now is 09:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com