![]() |
Text to YYYY format
I have text in column "B" that is formatted YYANNNNN (01B12345). I would
like to change to YYYY (2001) format in column "A". Thanks |
Text to YYYY format
Give this a try...
As text: =TEXT("1/1/" & LEFT(B1,2), "YYYY") As number: =--TEXT("1/1/" & LEFT(B1,2), "YYYY") -- Rick (MVP - Excel) "sojuman" wrote in message ... I have text in column "B" that is formatted YYANNNNN (01B12345). I would like to change to YYYY (2001) format in column "A". Thanks |
Text to YYYY format
Works like a charm. Thanks
"Rick Rothstein" wrote: Give this a try... As text: =TEXT("1/1/" & LEFT(B1,2), "YYYY") As number: =--TEXT("1/1/" & LEFT(B1,2), "YYYY") -- Rick (MVP - Excel) "sojuman" wrote in message ... I have text in column "B" that is formatted YYANNNNN (01B12345). I would like to change to YYYY (2001) format in column "A". Thanks |
All times are GMT +1. The time now is 12:43 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com