Date Value & Date Format

D

Denny Leung

Dear all,

In a cell, I type a sentence combining text and a date.
However, the date turns out a value instead of current
date.

="The profit of selling tickets as at" & NOW()

Result:

=The profit of selling tickets as at 38871.99423...

Please advise me how to fix this problem.

Thanks.
 
D

Dave Peterson

="the profit...." & text(now(),"mmm dd, yyyy hh:mm:ss")

(change the format to what you like.)
 
M

Mike

="The profit of selling tickets as at "&TEXT(NOW(),"h:m:s")&" on "&TEXT(NOW(),"m/d/yy")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top