If you want to display both text and date data in one cell, you'll need to include an extra formatting step. See how to use the TEXT function to get the desired results.
Excel does not normally let you combine text and dates together in the same cell. For example, suppose you have entered the formulas shown in Figure A.
Figure B shows the results.
While the value in A2 displayed correctly, the value in A1 did not. This is because Excel displays the actual date data entered into the cell until it's formatted. Thus, to show the data in A1 as a true date, we need add the TEXT function to change the format to text. When we replace the formula in B1 with
="Today is"&" "&TEXT(A1,"MM/DD/YYYY")we get the results shown in Figure C.
Miss an Excel tip?
Check out the Microsoft Excel archive and catch up on other Excel tips.
Help users increase productivity by automatically signing up for TechRepublic's free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.