Home >Topics >excel >How to extract the year, month and day from the ID card in excel

How to extract the year, month and day from the ID card in excel

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-05-13 14:50:1749513browse

Extraction method: First open the excel table that needs to be operated, select the specified cell; then enter the formula "=mid (number column to be extracted, 7, 8)" in the cell, and press on the keyboard "Enter key" can extract the year, month and day in the ID card.

How to extract the year, month and day from the ID card in excel

The operating environment of this tutorial: Windows 7 system, Microsoft Office Excel 2010 version, Dell G3 computer.

Open the employee information form that needs to be operated. The steps to operate the picture are as follows.

How to extract the year, month and day from the ID card in excel

Enter =mid(B2,7,8) in cell C2 and press Enter on the keyboard to extract the year, month and day data in the ID card. The steps to operate pictures are as follows.

How to extract the year, month and day from the ID card in excel

Through the Excel table function, you can copy the format of the cell by pulling the cell. The steps to operate the picture are as follows

How to extract the year, month and day from the ID card in excel

After completing the above steps, you can extract the data of the ID card and extract the year, month and day data in the ID card. The operation picture is as follows.

How to extract the year, month and day from the ID card in excel

Related learning recommendations: excel tutorial

The above is the detailed content of How to extract the year, month and day from the ID card 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