Concatinating text plus cell containing date

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Try something like:

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

HTH,
Paul
 
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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top