If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Date Value & Date Format
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. |
#2
|
|||
|
|||
Date Value & Date Format
="the profit...." & text(now(),"mmm dd, yyyy hh:mm:ss")
(change the format to what you like.) Denny Leung wrote: 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. -- Dave Peterson |
#3
|
|||
|
|||
Date Value & Date Format
="The profit of selling tickets as at "&TEXT(NOW(),"h:m:s")&" on "&TEXT(NOW(),"m/d/yy")
-- Mike Ref to "Denny Leung" wrote in message ... |
Thread Tools | |
Display Modes | |
|
|