Excel sorts text into columns

foreword

Column splitting in Excel is a commonly used data processing tool, which can split the contents of cells and assign them to corresponding columns according to the specified separator. Through this operation, a column of data can be split into multiple independent data items, thereby facilitating subsequent statistical analysis and processing. For example, when processing email addresses, the user name and domain name of the email can be split into two columns by column operation; when processing phone numbers, information such as area code, phone number, and extension number can be split into different columns column. The Excel column function is very practical, which can greatly improve the efficiency of data processing and work efficiency.

insert image description here

Column operation steps

The steps for Excel to sort text into columns are as follows:

  1. Select the cell or column to be split.
  2. Click the "Data" tab and find the "Column" command.
  3. In the "Text to Columns Wizard" dialog box, select the data type to column.
  4. Depending on the data type, you may need to set related parameters, such as delimiter.
  5. Finally, click the "Finish" button to complete the column sorting operation.

It is worth noting that before performing column operations, please properly back up your data to avoid data loss due to unexpected circumstances. At the same time, if you encounter a problem, you can refer to the built-in help document in Excel or find the corresponding solution on the Internet.

instance operation

3.1 Prepare data

The following is a set of data generated by [Let's play AI]

Let's play AI >>
insert image description here
Copy to EXCEL, sort out the title line
insert image description here

As you can see, all the data is placed in the first column

3.2 Data sorting

3.2.1 Select the cell or column that needs to be divided into columns

3.2.2 Click the "Data" tab and find the "Column" command.

insert image description here

3.3.3 Text to Columns Wizard

Step 1: Select the file type
insert image description here

Option delimiter , fixed width , obviously choose delimiter here

Step 2: Specify the delimiter

insert image description here
Specify as a comma delimiter, you can see the delimited style displayed in the preview pane .

Step 3: Set the data format , and generally default to country y .
insert image description here
Click Finish . Looking at the original data, the data has been divided and listed as required.

insert image description here


Please pay attention to the official account [Let's play AI] Let's take a look at the pictures of beautiful women generated by artificial intelligence

Let's play AI >>

Guess you like

Origin blog.csdn.net/all_night_in/article/details/130944286