Date to Text in Excel

Publication Date :

Blog Author :

Download FREE Date to Text In Excel Template and Follow Along!
Convert Date to Text Excel Template.xlsb

Table Of Contents

arrow

How to Convert Date to Text in Excel?

The conversion of the date to text is very easy and simple. There are four simple ways to convert dates to text in Excel:

  1. Using the TEXT function (most commonly used)
  2. Using the TEXT to COLUMN option
  3. Using the copy-paste method
  4. Using VBA

Use of Date to Text in Worksheet

Excel Text function is commonly used to convert a numeric value to a text string and display it in the format you specify so we can use it to convert date to text in Excel format.

Date to Text Function in Excel

The TEXT formula in excel is as follows:

Text Formula in Excel
  • Value: It is a numeric value you want to convert to text. It can be a number, a formula that returns a numeric value, or a reference to a cell containing a number.
  • format_text: This is how you want to format the resulting text value, provided as a text string enclosed in quotation marks.

Using the TEXT function to convert dates to text in Excel requires a basic understanding of the formats we can use.

In the case of dates, there are four parts to the format:

  • day format
  • month format
  • year format
  • separator

#1 Using Text Function

Example #1

Apply the formula =A4&”‘s joining date is “&TEXT(B4,”dd-mm-yyyy”)

Date to Text in Excel Example 1

To get the below output.

Date to Text in Excel Example 1-1

Example #2

You can also convert the current date to text by the below formula:

="Today is "&TEXT(TODAY(),"dd/mm/yyyy")

Date to Text in Excel Example 2

To get the below output.

Date to Text in Excel Example 2-1

#2 Using Text to Column

Suppose we have a dataset, as shown below, and we want to convert these dates into text format:

Date to Text in Excel Example 3

Below are the steps to convert the date into text:

  1. First, we must select the data and go to "Data," then "Data Tools," and Text to Column in Excel.


    date to text in excel example 3-1

  2. Press "Next" and uncheck all "Delimiters."


    date to text in excel example 3-2

  3. Then, we must select the location and click on the "Finish," as shown below.


    date to text in excel example 3-3

    The output will be as follows:

    date to text in excel example 3-4

#3 Using Copy Paste Method

Consider the data set of the joining date.

date to text in excel example 4
  • First, copy the data. Then, open a notepad and paste it there. As soon as you paste the dates into the notepad, it automatically gets converted into text.
  • Now switch back to Excel and select the cells where you want to paste these dates.
  • Then, we must go to "Home" then "Number" with the cells selected and select the "Text" format (from the drop-down).
  • Finally, paste the date as text.
date to text in excel example 4-1
date to text in excel example 4-2

#4 Using VBA

Suppose we have the text in sheet1 and the H2 cell, then apply the date to the text using the below VBA code.

Sub Datetotexts ()

Dim c As Range

For Each c In Selection

c.Value = Format(c.Value, "dd.mm.yyyy")

Next c

End Sub

Things to Remember

  • It must be left-aligned by default.
  • If several text dates are selected, the Status Bar only shows "Count."
  • There may be a leading apostrophe visible in the formula bar.