The sorting of data in one column of Excel changes, and the row data corresponding to other columns changes accordingly

For example: the following column C value changes with B column
insert image description here

1. To realize that column C changes with the sorting of column B, you need to select the data in both columns of BC at the same time

To realize that the values ​​of multiple columns change with the values ​​of another column, you need to select these columns and then sort them. Columns that do not change in sorting are not selected

insert image description here

2. Click "Data" in the toolbar above the table, and select the "Sort" button.

insert image description here

3. In the pop-up "Sort" dialog box, other columns change with a certain column, set this column as "Primary Keyword", and sort by "Value"

insert image description here

4. After clicking OK, the table is sorted, and you can see that after column A is sorted by number, column B also changes accordingly.

insert image description here

Guess you like

Origin blog.csdn.net/baidu_24752135/article/details/126229625