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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Text and Date



 
 
Thread Tools Display Modes
  #1  
Old May 14th, 2007, 05:46 AM posted to microsoft.public.excel.misc
Scafidel
external usenet poster
 
Posts: 35
Default Text and Date

I would like to end up with something like "Week of May 14 to May 18", but
when I combine the text with the date (from another cell), the date shows up
as a serial number. If necessary, I can break this use as many as three
cells.
Scafidel
Louisiana
  #2  
Old May 14th, 2007, 07:28 AM posted to microsoft.public.excel.misc
T. Valko
external usenet poster
 
Posts: 15,759
Default Text and Date

Do you have both dates in separate cells? Like this:

A1 = May 14 (formatted as DATE)
A2 = May 18 (formatted as DATE)

="Week of "&TEXT(A1,"mmm dd")&" to "&TEXT(A2,"mmm dd")

You may want to make sure there are in fact dates in both cells, otherwise,
an empty cell will return Jan 00:

=IF(COUNT(A1:A2)2,"","Week of "&TEXT(A1,"mmm dd")&" to "&TEXT(A2,"mmm dd"))

Biff

"Scafidel" wrote in message
...
I would like to end up with something like "Week of May 14 to May 18", but
when I combine the text with the date (from another cell), the date shows
up
as a serial number. If necessary, I can break this use as many as three
cells.
Scafidel
Louisiana



  #3  
Old May 14th, 2007, 02:39 PM posted to microsoft.public.excel.misc
Scafidel
external usenet poster
 
Posts: 35
Default Text and Date

Thanks, Biff. This Discussion Group always comes to the rescue!
Scafidel
Louisiana

"T. Valko" wrote:

Do you have both dates in separate cells? Like this:

A1 = May 14 (formatted as DATE)
A2 = May 18 (formatted as DATE)

="Week of "&TEXT(A1,"mmm dd")&" to "&TEXT(A2,"mmm dd")

You may want to make sure there are in fact dates in both cells, otherwise,
an empty cell will return Jan 00:

=IF(COUNT(A1:A2)2,"","Week of "&TEXT(A1,"mmm dd")&" to "&TEXT(A2,"mmm dd"))

Biff

"Scafidel" wrote in message
...
I would like to end up with something like "Week of May 14 to May 18", but
when I combine the text with the date (from another cell), the date shows
up
as a serial number. If necessary, I can break this use as many as three
cells.
Scafidel
Louisiana




  #4  
Old May 14th, 2007, 07:21 PM posted to microsoft.public.excel.misc
T. Valko
external usenet poster
 
Posts: 15,759
Default Text and Date

You're welcome. Thanks for the feedback!

Biff

"Scafidel" wrote in message
...
Thanks, Biff. This Discussion Group always comes to the rescue!
Scafidel
Louisiana

"T. Valko" wrote:

Do you have both dates in separate cells? Like this:

A1 = May 14 (formatted as DATE)
A2 = May 18 (formatted as DATE)

="Week of "&TEXT(A1,"mmm dd")&" to "&TEXT(A2,"mmm dd")

You may want to make sure there are in fact dates in both cells,
otherwise,
an empty cell will return Jan 00:

=IF(COUNT(A1:A2)2,"","Week of "&TEXT(A1,"mmm dd")&" to "&TEXT(A2,"mmm
dd"))

Biff

"Scafidel" wrote in message
...
I would like to end up with something like "Week of May 14 to May 18",
but
when I combine the text with the date (from another cell), the date
shows
up
as a serial number. If necessary, I can break this use as many as
three
cells.
Scafidel
Louisiana






 




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 09:42 AM.


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