How to Concatenate Text and Today's Date in Excel

📅 Feb 01, 2026 📝 Sarah Miller

Tracking project milestones often leads to tedious manual date updates in spreadsheets. When synthesizing financial data from standard funding sources, analysts must frequently pair static status text with current calendar dates. Utilizing dynamic formulas grants instant data integrity and saves valuable reporting time. However, a key stipulation remains: standard concatenation strips date formatting, leaving behind raw serial numbers. For example, merging "As of " with the current date results in a flawed "As of 45500" display. Below, we outline the exact Excel formula combination to seamlessly integrate custom text with today's formatted date.

How to Concatenate Text and Today's Date in Excel

Excel Formula to Concatenate Text with Today's Date

When working in Excel, you often need to create dynamic text strings that update automatically. Whether you are building dashboard headers, generating automated status reports, creating unique invoice identifiers, or setting up dynamic email templates, combining static text with the current date is an incredibly useful skill.

However, if you have ever tried to simply combine text with Excel's TODAY() function using a basic formula, you probably ran into a confusing result: instead of a readable date, you ended up with a strange five-digit number.

In this comprehensive guide, we will explore why this happens, how to fix it using the TEXT function, and look at several practical examples of how to concatenate text with today's date in various formats.

The Common Pitfall: Why Does My Date Look Like a Five-Digit Number?

To understand how to fix the problem, we first need to understand how Microsoft Excel handles dates. To Excel, dates are not text; they are sequential serial numbers. Excel starts counting days from January 1, 1900.

  • January 1, 1900, is stored as the number 1.
  • January 2, 1900, is stored as the number 2.
  • A date in the year 2024 is stored as a number in the 45000s (for example, January 1, 2024, is serial number 45292).

When you apply date formatting to a cell, Excel hides this raw serial number and displays it as a human-readable date. However, when you concatenate a date with text, Excel strips away the cell's formatting and uses the raw serial number in the formula.

For example, if today is October 24, 2023 (serial number 45223), and you write the following formula:

="Report Date: " & TODAY()

Excel will output:

Report Date: 45223

To prevent Excel from showing the raw serial number, we must instruct it how to format the date during the concatenation process. We do this using the TEXT function.

The Solution: The TEXT Function

The TEXT function allows you to convert a numeric value (like an Excel date serial number) into text while applying a specific format. The syntax of the TEXT function is straightforward:

TEXT(value, format_text)
  • value: The number, cell reference, or function (like TODAY()) that you want to format.
  • format_text: A text string enclosed in quotation marks that specifies the format you want to apply (e.g., "mm/dd/yyyy", "yyyy-mm-dd").

How to Write the Concatenation Formula

There are two primary ways to concatenate text and functions in Excel: using the Ampersand (&) operator or using the CONCAT (or CONCATENATE) function. Both methods work perfectly with the TEXT function.

Method 1: Using the Ampersand (&) Operator (Recommended)

The ampersand operator is the simplest and most common way to join strings of text in Excel. To join the text "As of " with today's date formatted as YYYY-MM-DD, use the following formula:

="As of " & TEXT(TODAY(), "yyyy-mm-dd")

Result: As of 2023-10-24

Method 2: Using the CONCAT / CONCATENATE Function

If you prefer using standard Excel functions instead of operators, you can use CONCAT (available in modern Excel versions) or CONCATENATE (for older versions):

=CONCAT("As of ", TEXT(TODAY(), "yyyy-mm-dd"))

Result: As of 2023-10-24

Date Format Codes Quick Reference

The beauty of the TEXT function is its flexibility. You can format the date in almost any layout imaginable by changing the format_text argument. Here is a cheat sheet of the format codes you can use:

Code Type Code Description Example Output (Oct 24, 2023)
Day d Day number without a leading zero 24 (or 5 for May 5th)
dd Day number with a leading zero 24 (or 05 for May 5th)
dddd Full name of the day of the week Tuesday
Month m Month number without a leading zero 10
mm Month number with a leading zero 10
mmm Abbreviated month name Oct
mmmm Full month name October
Year yy Two-digit year 23
yyyy Four-digit year 2023

Practical Examples and Variations

Let's look at several common real-world scenarios where you might need to combine text with today's date.

Example 1: Dynamic Report Title with Full Month Name

If you want a formal, human-readable header at the top of a spreadsheet that updates every time the file is opened, you can format the date to show the full month, day, and year:

="Financial Statement - " & TEXT(TODAY(), "mmmm dd, yyyy")

Result: Financial Statement - October 24, 2023

Example 2: Adding Text Before and After the Date

You can use multiple ampersands to sandwich the dynamic date between two pieces of static text. Note how spaces are added inside the quotation marks to ensure proper spacing in the final output:

="This report was generated on " & TEXT(TODAY(), "dd-mmm-yyyy") & " and is strictly confidential."

Result: This report was generated on 24-Oct-2023 and is strictly confidential.

Example 3: Creating Safe File Names or Transaction IDs

If you are building an automated process where cells are used to generate file names, you should avoid forward slashes (/) because operating systems do not allow slashes in file names. Instead, use hyphens or underscores:

="Backup_Log_" & TEXT(TODAY(), "yyyy_mm_dd")

Result: Backup_Log_2023_10_24

Example 4: Including Today's Date and Time

If you need to display not just the date, but also the current timestamp when the sheet calculation was run, swap the TODAY() function with the NOW() function. You can then append time format codes (hours, minutes, and AM/PM markers) to your pattern:

="System Last Checked: " & TEXT(NOW(), "yyyy-mm-dd hh:mm AM/PM")

Result: System Last Checked: 2023-10-24 02:45 PM

Important Considerations When Using Dynamic Date Formulas

While dynamic date formulas are incredibly powerful, there are a few technical behaviors to keep in mind when using them in your worksheets:

  • Volatility: Both TODAY() and NOW() are volatile functions. This means they recalculate every single time Excel performs a calculation on the sheet (such as entering a new formula, typing data, or manually pressing F9). In very large spreadsheets, thousands of volatile functions can slow down performance.
  • Date Locking: Because TODAY() updates to the current calendar date, the output of your formula will change tomorrow. If you need a permanent record of the date a specific action occurred (such as a time-stamp for data entry), do not use a formula. Instead, use the Excel keyboard shortcut Ctrl + ; (Control and Semicolon) to insert a hard-coded static version of today's date.
  • Regional Settings: The codes inside the TEXT function (like "yyyy" or "mmmm") can vary depending on your system's regional and language settings. For instance, in German versions of Excel, you might need to use "jjjj" (Jahr) instead of "yyyy" (Year).

Conclusion

Concatenating text with today's date is an essential technique for making your Microsoft Excel workbooks dynamic and professional. By pairing the ampersand (&) operator with the TEXT and TODAY() functions, you bypass the common "serial number error" and gain complete control over how dates are formatted and displayed. Experiment with different format codes to tailor your output to match your company's reporting style guide or system naming conventions!

Disclaimer:
The documents and templates provided on this page are for informational and illustrative purposes only. They do not constitute professional, legal, or financial advice, and should not be relied upon as such. Because individual circumstances and regulatory requirements vary, these materials may not be suitable for your specific needs. We recommend consulting with a qualified professional before adapting or using any of these examples for official or commercial purposes.