Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Combine Date and Text in One Cell

· 5 min read · Home Tech

In this article
  1. Why Dates Turn Into Numbers
  2. The TEXT Function Syntax
  3. Combining Date and Text: Step-by-Step
  4. Common Mistakes and How to Fix Them
  5. Using CONCATENATE or & ?
  6. Formatting Dates Without Changing the Cell
  7. Handling Regional Date Formats
  8. Frequently Asked Questions

To combine a date and text in one Excel cell, use the TEXT function to format the date as a string, then join it with the ampersand (&) operator. For example, =A2 & " " & TEXT(B2, "mm/dd/yyyy") displays the text in A2 and the date in B2 as a single readable string. This article explains the correct syntax, why formatting matters, and how to avoid common pitfalls like serial numbers or broken regional formats.

Why Dates Turn Into Numbers

Excel stores dates as serial numbers—the integer count of days since January 0, 1900 (or 1904 on Mac systems). For example, January 1, 2025 is stored as 45658. When you concatenate a date cell directly with text using =A2 & B2, Excel shows the raw serial number, not a date. The TEXT function converts that serial number into a text string using a format you specify, so it displays correctly inside a combined string.

The TEXT Function Syntax

The TEXT function takes two arguments: TEXT(value, format_text). The format_text uses date codes like yyyy for year, mm for month, dd for day, and hh:mm for time. You can include separators like slashes, hyphens, or spaces. For example:

  • =TEXT(B2, "yyyy-mm-dd") → 2025-01-01
  • =TEXT(B2, "mmm d, yyyy") → Jan 1, 2025
  • =TEXT(B2, "dddd, mmmm d") → Wednesday, January 1

Note that the format string is case-insensitive for letters, but you must use the exact codes—MM and mm both mean month, while M alone is not a valid code.

Combining Date and Text: Step-by-Step

Follow these steps to combine a date with static text or a cell containing text:

  1. Assume cell A2 contains "Order placed on" and B2 contains a date.
  2. In C2, enter the formula: =A2 & " " & TEXT(B2, "mmmm d, yyyy").
  3. Press Enter. The result reads "Order placed on January 1, 2025".
  4. If you want the date to update automatically when the source date changes, the formula will recalculate automatically.
  5. To add a time, use a format like "mm/dd/yyyy hh:mm AM/PM".

You can also embed the date directly without a cell reference: ="Today is " & TEXT(TODAY(), "dddd").

Common Mistakes and How to Fix Them

Three errors are common when combining dates and text:

  • Seeing a number instead of a date—you forgot TEXT. Wrap the date reference in TEXT with a format.
  • Wrong month/day order—the format string follows your regional settings. Use a format like "dd-mm-yyyy" to force day-first, or "mm-dd-yyyy" for month-first, regardless of system locale.
  • Leading zeros missing—if you use "m/d/yyyy", months and days without leading zeros display as 1/1/2025. Use "mm/dd/yyyy" to keep two-digit values.

Also note that the TEXT function returns a text string, so the result cannot be used in date arithmetic (e.g., adding days) unless you convert it back with DATEVALUE.

Using CONCATENATE or & ?

Both methods work identically. The ampersand operator is shorter and more flexible, allowing you to chain multiple items: =A2 & " " & TEXT(B2, "mm/dd/yyyy") & " " & C2. The CONCATENATE function is older but still supported: =CONCATENATE(A2, " ", TEXT(B2, "mm/dd/yyyy")). In modern Excel, the CONCAT function (without the E) also works and allows ranges, but TEXT is still needed for date formatting.

Formatting Dates Without Changing the Cell

If you only want to change how a date appears in a single cell (without combining text), you can use the Number Format dialog: right-click the cell, choose Format Cells, and pick a date format. However, this does not combine text—it only changes the display. For a true combination, you must use TEXT in a formula. The TEXT function is also useful when you need to keep the original date cell intact for calculations while showing a formatted version elsewhere.

Handling Regional Date Formats

Excel's default date format depends on your system's region. For example, in the US it's mm/dd/yyyy, while in the UK it's dd/mm/yyyy. When you use TEXT with a literal format like "dd/mm/yyyy", Excel respects that literal string, not the system setting. This is a reliable way to force a specific order. However, if you use a format code like "dddd" for the weekday name, it will appear in the system's language (e.g., "Wednesday" in English, "Mittwoch" in German). To get a specific language, you would need a custom VBA function or a lookup table—TEXT alone cannot translate.

Frequently Asked Questions

Q: Why does my date show as 45658 when I combine it with text?
Because Excel stores dates as serial numbers. Use TEXT to convert the number to a formatted date string before concatenating.

Q: Can I combine a date and text without using TEXT?
No, not reliably. Any direct concatenation will show the serial number. You could use the & operator with a pre-formatted cell (if the cell is formatted as text), but that is less flexible and error-prone.

Q: How do I combine a date and text and keep the date as a real date?
You cannot have both in one cell—the result is text. If you need to keep the date for calculations, keep the original date cell and use the combined text in a separate cell for display.

Q: What if my date format shows as #VALUE!?
This usually means the format string is invalid or the cell does not contain a valid date. Check that the source cell is formatted as a date and that your format codes are correct (e.g., use "yyyy" not "YYYY").

Q: Can I use TEXT with a time as well?
Yes, include time codes in the format, such as "mm/dd/yyyy hh:mm" or "hh:mm AM/PM". The time portion works the same way.

Q: Does this work in Google Sheets?
Yes, the TEXT function works similarly in Google Sheets, though the format codes are slightly different (e.g., "yyyy-mm-dd" works, but "mmm" may differ). The ampersand operator is the same.