Title with Text and Date in the same cell

Last Updated on 10/11/2024
Reading time: 2 minutes

How to write text and a date in the same cell, keeping the date format? This is a common problem in Excel. When you add text with a date, Excel can’t show the date in the correct format.

  • In cells D1 and D2, you have the same date in two different formats.
  • Use the text "From" and link it to cell D1 with the & symbol.
  • The date format disappears 😱😱😱
In a formula, the date format is lost

To keep the date format, use the TEXT function, which allows you to keep a specific number format inside a text.

Overview of the TEXT Function

The TEXT function needs two parts:

  1. The number to format. It can be a value or a cell reference.
  2. The custom format code. This is like the code used for dates or numbers.

=TEXT(Number, Format)

How to Write the TEXT Function

  1. Put extra text in double quotes.
  2. Use the & symbol to join text and date.
  3. Write the TEXT formula.
  4. The first argument is the value you want to format.
  5. The second argument is the format you want. You can use date format codes. Here’s an example:

="From "&TEXT(D1,"dd/mm/yyyy")

Or you can write:

="From "&TEXT(D1,"ddd, dd mmm yyyy")

The TEXT function changes the format of the dates

Text and Date in the Same Cell for a Calendar

In the next image, we used a formula with two TEXT functions:

  • One for the first date.
  • Another for the last date.

The formula is a bit long, but it’s not difficult. If you want to learn more about creating a calendar, check out this article. Or, if you want to download a calendar that saves your data from month to month, click here.

Example title with date in a calendar with the TEXT function

Leave a Reply

Your email address will not be published. Required fields are marked *

Title with Text and Date in the same cell

Reading time: 2 minutes
Last Updated on 10/11/2024

How to write text and a date in the same cell, keeping the date format? This is a common problem in Excel. When you add text with a date, Excel can’t show the date in the correct format.

  • In cells D1 and D2, you have the same date in two different formats.
  • Use the text "From" and link it to cell D1 with the & symbol.
  • The date format disappears 😱😱😱
In a formula, the date format is lost

To keep the date format, use the TEXT function, which allows you to keep a specific number format inside a text.

Overview of the TEXT Function

The TEXT function needs two parts:

  1. The number to format. It can be a value or a cell reference.
  2. The custom format code. This is like the code used for dates or numbers.

=TEXT(Number, Format)

How to Write the TEXT Function

  1. Put extra text in double quotes.
  2. Use the & symbol to join text and date.
  3. Write the TEXT formula.
  4. The first argument is the value you want to format.
  5. The second argument is the format you want. You can use date format codes. Here’s an example:

="From "&TEXT(D1,"dd/mm/yyyy")

Or you can write:

="From "&TEXT(D1,"ddd, dd mmm yyyy")

The TEXT function changes the format of the dates

Text and Date in the Same Cell for a Calendar

In the next image, we used a formula with two TEXT functions:

  • One for the first date.
  • Another for the last date.

The formula is a bit long, but it’s not difficult. If you want to learn more about creating a calendar, check out this article. Or, if you want to download a calendar that saves your data from month to month, click here.

Example title with date in a calendar with the TEXT function

Leave a Reply

Your email address will not be published. Required fields are marked *