ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   EASY: Format NOW as mm/dd/yyyy (https://www.excelbanter.com/excel-worksheet-functions/85911-easy-format-now-mm-dd-yyyy.html)

pauloreiss

EASY: Format NOW as mm/dd/yyyy
 

I have this simple function:

="Sales of: " & NOW()

But this way the date is appears with that Excel code like
33046,30184. I wanted to show 04/28/2006.
What is the function to set a format for the variable?

Something like =formatdate(now();mm/dd/yyyy)

Thanks!


--
pauloreiss
------------------------------------------------------------------------
pauloreiss's Profile: http://www.excelforum.com/member.php...o&userid=29820
View this thread: http://www.excelforum.com/showthread...hreadid=537287


JE McGimpsey

EASY: Format NOW as mm/dd/yyyy
 
One way:

="Sales of: " & TEXT(TODAY();"mm/dd/yyyy")


In article ,
pauloreiss
wrote:

I have this simple function:

="Sales of: " & NOW()

But this way the date is appears with that Excel code like
33046,30184. I wanted to show 04/28/2006.
What is the function to set a format for the variable?

Something like =formatdate(now();mm/dd/yyyy)

Thanks!


Ron Coderre

EASY: Format NOW as mm/dd/yyyy
 

Actually, you're pretty close....try this:

="Sales of: " & TEXT(TODAY(),"MM/DD/YYYY")

Does that help?

Regards,
Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=537287


pauloreiss

EASY: Format NOW as mm/dd/yyyy
 

That worked out!
Thanks a lot!!!


--
pauloreiss
------------------------------------------------------------------------
pauloreiss's Profile: http://www.excelforum.com/member.php...o&userid=29820
View this thread: http://www.excelforum.com/showthread...hreadid=537287



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

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