View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Question using dates in a statement

Use the TEXT() function to format the dates.
--
Gary's Student


"Wink20TCU" wrote:

I am currently trying to write a statement that uses two dates from another
worksheet (same workbook) as a title for the first worksheet. However, when
I insert the cells into the statement, the date values do not appear.

My statement looks like:
="Date Range: " & DataRange!A2 & " to " & DataRange!B2

The output looks like:
Date Range: 39075 to 39081

Is there a way to convert the numeric values into dates in this statement?
Thanks.