A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date Value & Date Format



 
 
Thread Tools Display Modes
  #1  
Old September 17th, 2003, 04:58 AM
Denny Leung
external usenet poster
 
Posts: n/a
Default 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  
Old September 17th, 2003, 05:04 AM
Dave Peterson
external usenet poster
 
Posts: n/a
Default 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  
Old September 17th, 2003, 05:18 AM
Mike
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.