View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
George Nicholson George Nicholson is offline
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.