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


Convert to Date

In some times, you can have multiple nonstandard dates in your worksheet, and to convert all of them to the standard date mm/dd/yyyy maybe troublesome for you. Here Kutools for Excel's Conver to Date can quickly convert dates to standard date as mm/dd/yyyy format.
doc convert date

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:

formula Never need to worry about long long formulas in Excel anymore! Kutools for Excel's Auto Text can add all formulas to a group
as auto text, and liberate your brain! Click here to know Auto Text     Click here to get free trial

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 Excel functions, enhance your working efficiency and save your working time.

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

formula Never need to worry about long long formulas in Excel anymore! Kutools for Excel's Auto Text can add all formulas to a group
as auto text, and liberate your brain! Click here to know Auto Text     Click here to get free trial

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

You maybe interested in this:

Apply Date formatting (change date to multiple date formatting as you need)

doc apply date formatting

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.

pay attention1If you are interested in Kutools for Excel, download the 60-days free trial.

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 · 2 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 · 8 months 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