ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help Convert "MM/DD/YYYY" to "YY:DDD" (https://www.excelbanter.com/excel-worksheet-functions/67028-help-convert-mm-dd-yyyy-yy-ddd.html)

Sam

Help Convert "MM/DD/YYYY" to "YY:DDD"
 
Hello,

Please help:

I have a column of dates in the MM/DD/YYYY" format
How can I convert it to the
"YY:DDD" format?

For example, 12/31/2005 would become 05:365 and
01/01/1985 would become 85:01

Thank you!

Ron Rosenfeld

Help Convert "MM/DD/YYYY" to "YY:DDD"
 
On Tue, 24 Jan 2006 02:44:01 -0800, Sam wrote:

Hello,

Please help:

I have a column of dates in the MM/DD/YYYY" format
How can I convert it to the
"YY:DDD" format?

For example, 12/31/2005 would become 05:365 and
01/01/1985 would become 85:01

Thank you!



=TEXT(A1,"yy")&":"&TEXT(A1-DATE(YEAR(A1),1,0),"00")


--ron


All times are GMT +1. The time now is 06:03 AM.

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