Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or
0
0
0
s2sdefault

How to convert date to number or text in Excel?

In this article, I will tell you how to convert date to number or text format in Excel.

Convert date to text in Excel

Convert date to number in Excel

Quickly convert nonstandard date to standard date formattiing(mm/dd/yyyy)

In some times, you may received a workhseets with multiple nonstandard dates, and to convert all of them to the standard date formatting as mm/dd/yyyy maybe troublesome for you. Here Kutools for Excel's Conver to Date can quickly convert these nonstandard dates to the standard date formatting with one click.  Click for 60 days free trial!
doc convert date
 
Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days.

arrow blue right bubble Convert date to text in Excel


As we know, if you directly format the date as text, the date will be shown as a number in the cell, but now you want to keep the date and format it as text, how can you solve it? Please do as below:

Select a cell next to your date data, and type this formula =TEXT(A1,"dd/mm/yyyy") into it, then press Enter key. If you need, you can drag the fill handle to apply this formula in a range.doc-convert-date-to-text-number-1

Tip:

1. You need to change the date format in the above formula =TEXT(A1,"dd/mm/yyyy") to meet your real date format.

2. If you need, you can copy the formula cells and then paste them as values only.


arrow blue right bubble Convert date to number in Excel

Kutools for Excel, with more than 120 handy functions, makes your jobs easier. 

Case 1 Convert Date as Date format to number

This case is usually seen, you just need to select the cell or the range and right click to open the context menu, then click Format Cells, then in the Format Cells dialog, click Number under Number tab from the Category list, then specify the Decimal Places, and click OK. See screenshots:
doc-convert-date-to-text-number-2doc-convert-date-to-text-number-3
doc-convert-date-to-text-number-4

Case 2 Convert Date as Text format to number

If the cells filled with date are text format as below picture shown, how can you do?
doc-convert-date-to-text-number-5

Select a cell next to the date column and type this formula =DATEVALUE("08/24/2014"), and then press Enter key, the date will be converted to number.
doc-convert-date-to-text-number-6

Notes:

(1) You need to type the dates into the formula and convert them one by one. If the date is in a specific cell, let's say Cell A1, you can also apply the formula =DATEVALUE(A1), and then drag the Fill Handle to the range as you need.

(2) And this formula cannot work when the date format is dd/mm/yy.

Easily Combine multiple sheets/Workbook into one Single sheet or Workbook

To combinne multiples sheets or workbooks into one sheet or workbook may be edious in Excel, but with the Combine function in Kutools for Excel, you can combine merge dozens of sheets/workbooks into one sheet or workbook, also, you can consolidate the sheets into one by several clicks only.  Click for 60 days free trial!
combine sheets
 
Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days.

Relative Articles:


Recommended Productivity Tools

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 200 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

btn read more      btn download     btn purchase

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
People in conversation:
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Ravindra Kamble · 7 months ago
    want to convert 15/08/2015 into word (Fifteenth August Two Thousand Fifteen) format by using function in excel 2007
  • To post as a guest, your comment is unpublished.
    Ari Hayne-Keon · 1 years ago
    Hey I need to find an equation that lets me change the date to a decimal equation used in normal book work

    Eg

    Original Date 25/9/2003

    Starting point date on graph = 2000

    Date= 3+[(31+28+31+30+31+30+31+25)/365]

    = 3.74