search
HomeTopicsexcelHow to change date format to text format

Change method: First select the specified cell, enter "=" in the cell, and click the "fx" button; then select the function "text" and click the "OK" button; then in the "Function Parameters" dialog In the box, select the specified cell for the first parameter, enter "YYYYMMDD" in the second parameter input box; finally click the "OK" button.

How to change date format to text format

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

As in this example, the content listed in column A is in date format. It is required to convert the date format in column A into text format and finally list it in column B.

How to change date format to text format

Select cell B2, enter the operator symbol = in the cell, and then click the [fx] button.

How to change date format to text format

The [Insert Function] dialog box pops up:

Select the [All] option in [Or Select Category];

In [ Select function [TEXT] in Select Function. This function converts numbers into text according to the specified numerical format, and then click the [OK] button.

How to change date format to text format

As shown below, the [Function Parameters] dialog box pops up:

Move the cursor to the dialog box behind the first parameter and select the worksheet directly Cell A2 in;

Enter [YYYYMMDD] in the dialog box after the second parameter. After setting the parameters, click the [OK] button.

How to change date format to text format

Return to the worksheet, and through the above steps, the content of cell A2 is converted from date format to text format.

How to change date format to text format

Select cell B2, click the left mouse button and drag the mouse to copy the formula of cell A2 to other cells. In this way, all date formats in column A are converted to text format.

How to change date format to text format

Related learning recommendations: excel tutorial

The above is the detailed content of How to change date format to text format. 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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools