Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 272
Default Concatinating text plus cell containing date

I am trying to combine a text string ("FOR THE PERIOD OF "), then do a cell
reference to another sheet within the same workbook. The cell contains a
date. The result in the concatinated cell only displays as the date (39366,
etc.). I've trying using format cell, using both the date option and the
special option with no success. Also tried both "=concatinate" and using the
ampersand (&) with same (incorrect) result.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default Concatinating text plus cell containing date

Try something like:

="FOR THE PERIOD OF " & Month(cell reference) & "/" & day(cell reference) &
"/" & year(cell reference)

HTH,
Paul


--

"Lori" wrote in message
...
I am trying to combine a text string ("FOR THE PERIOD OF "), then do a cell
reference to another sheet within the same workbook. The cell contains a
date. The result in the concatinated cell only displays as the date
(39366,
etc.). I've trying using format cell, using both the date option and the
special option with no success. Also tried both "=concatinate" and using
the
ampersand (&) with same (incorrect) result.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 149
Default Concatinating text plus cell containing date

In a worksheet:
="For the period of " & Text(A1,"mmm dd yyyy")

Change the 2nd argument to reflect the date format you want.

In VBA/macros you'd replace the Text function with the Format function (same
arguments).


"Lori" wrote in message
...
I am trying to combine a text string ("FOR THE PERIOD OF "), then do a cell
reference to another sheet within the same workbook. The cell contains a
date. The result in the concatinated cell only displays as the date
(39366,
etc.). I've trying using format cell, using both the date option and the
special option with no success. Also tried both "=concatinate" and using
the
ampersand (&) with same (incorrect) result.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I convert a text cell into date cell in Excel drocha Excel Discussion (Misc queries) 2 April 2nd 07 12:04 PM
Cell colors or text color changing when date in cell gets closer. Chase Excel Worksheet Functions 5 October 19th 06 08:57 AM
Concatinating a string of numbers - how? drod Excel Discussion (Misc queries) 5 August 2nd 06 10:02 PM
Text & Date same cell Desert Piranha Excel Discussion (Misc queries) 4 December 13th 05 10:42 PM
date in a text cell Dajana Excel Discussion (Misc queries) 2 December 6th 05 11:03 PM


All times are GMT +1. The time now is 01:31 PM.

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

About Us

"It's about Microsoft Excel"