Home>Article>Topics> How to convert date into pure number in excel

How to convert date into pure number in excel

藏色散人
藏色散人 Original
2020-09-11 11:11:14 91360browse

How to turn dates into pure numbers in excel: First open the EXCEL table that needs to be operated, and enter "=text(" in the formula edit box; then click on the cell and enter the formula "yyyymmdd"; finally Press Enter to complete the input of the formula "=text(A1,"yyyymmdd")".

How to convert date into pure number in excel

Recommended: "Excel Tutorial

To convert dates into pure numbers in excel, you can use the text function to convert the date format into text format, and then convert it into pure numbers through special paste.

The method steps are as follows:

1. Open the EXCEL table that needs to be operated, click on any blank position, enter "=text(" in the formula edit box, and then click on the cell where the date needs to be converted.

How to convert date into pure number in excel

2. Continue to enter the formula "yyyymmdd" and press Enter to complete the input of the formula =text (A1, "yyyymmdd"). (The symbols in the formula need to be entered in English)

How to convert date into pure number in excel

3. Fill in the cell formula below through the drop-down and press "Ctrl C" to copy the cell.

How to convert date into pure number in excel

4. In another blank Position, right-click the mouse and select "Paste Special".

How to convert date into pure number in excel

5. Select "Value" in the paste options, select "Add" for the following operation, and then click below Click the OK button.

How to convert date into pure number in excel

6. Return to the EXCEL table and you will find that the cells in the date format have been successfully converted into pure numbers.

How to convert date into pure number in excel

The above is the detailed content of How to convert date into pure number in excel. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn