Home  >  Article  >  Topics  >  How to use text function to convert date to year

How to use text function to convert date to year

DDD
DDDOriginal
2023-06-21 11:57:0611447browse

Steps to use the text function date to convert year: 1. Create a new excel document; 2. Select the cell where the year is entered in excel; 3. Enter the formula "=text (cell, "yyyy" in the cell "), click Enter; 4. The year in the date was extracted successfully.

How to use text function to convert date to year

The operating environment of this tutorial: Windows 10 system, office2021 version, Dell g3 computer.

text function date conversion year steps:

1. Select the year cell

Select the cell where the year is entered in excel.

How to use text function to convert date to year

2. Enter the text function

Enter the formula =text (cell, "yyyy") in the cell and click Enter.

How to use text function to convert date to year

3. Conversion successful

The year in the date was extracted successfully.

How to use text function to convert date to year

The above is the detailed content of How to use text function to convert date to year. 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