ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Using TODAY function to return a date as text (https://www.excelbanter.com/excel-discussion-misc-queries/123159-using-today-function-return-date-text.html)

GH

Using TODAY function to return a date as text
 
I need to enter today's date in a formula in the following format:
"12/19/2006". I would like this formula to update automatically with the
current date. When I enter TODAY(), in my formula, I get a #REF! error. I
suspect that the reason why I get this error is that TODAY() is returning the
date in the serial date format. I have tried referring my formula to another
cell that contains the formula =TODAY(), with date formatting for the cell,
but that doesn't work either. Does anyone have a suggestion for using
TODAY() to return a value as text?
Thanks.

CLR

Using TODAY function to return a date as text
 
Maybe this........

=TEXT(TODAY(),"mm/dd/yyyy")

Vaya con Dios,
Chuck, CABGx3



"GH" wrote:

I need to enter today's date in a formula in the following format:
"12/19/2006". I would like this formula to update automatically with the
current date. When I enter TODAY(), in my formula, I get a #REF! error. I
suspect that the reason why I get this error is that TODAY() is returning the
date in the serial date format. I have tried referring my formula to another
cell that contains the formula =TODAY(), with date formatting for the cell,
but that doesn't work either. Does anyone have a suggestion for using
TODAY() to return a value as text?
Thanks.



All times are GMT +1. The time now is 11:29 AM.

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