![]() |
How do I extract a date as text not the 1900 reference number
I know how to format a date within a cell, but when I reference that cell in
a line of text I am constructing, e.g. ="Since "&A1", XXX has changed by "&B2&"%" ..., the date comes across in the 1900 number format, e.g. it displays as "Since 38414 ..." instead of saying "Since 3 March 2005 ..." How do I get it to give me the date as text rather than Excel's background reference number? |
On Tue, 22 Mar 2005 19:15:01 -0800, "Adam"
wrote: I know how to format a date within a cell, but when I reference that cell in a line of text I am constructing, e.g. ="Since "&A1", XXX has changed by "&B2&"%" ..., the date comes across in the 1900 number format, e.g. it displays as "Since 38414 ..." instead of saying "Since 3 March 2005 ..." How do I get it to give me the date as text rather than Excel's background reference number? =TEXT(A1,"d mmmm yyyy") --ron |
Perfect, thanks.
"Ron Rosenfeld" wrote: On Tue, 22 Mar 2005 19:15:01 -0800, "Adam" wrote: I know how to format a date within a cell, but when I reference that cell in a line of text I am constructing, e.g. ="Since "&A1", XXX has changed by "&B2&"%" ..., the date comes across in the 1900 number format, e.g. it displays as "Since 38414 ..." instead of saying "Since 3 March 2005 ..." How do I get it to give me the date as text rather than Excel's background reference number? =TEXT(A1,"d mmmm yyyy") --ron |
On Wed, 23 Mar 2005 03:25:04 -0800, "Adam"
wrote: Perfect, thanks. You're welcome. You might also use the same technique in formatting your percent number, depending on how the original is stored. --ron |
All times are GMT +1. The time now is 05:23 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com