Method 1:
Open the excel table and open a new blank table to demonstrate.
If you want to enter a vertical column of data in ascending order, enter 1 and 2 in the first and second cells of the column respectively.
Then, move the mouse to the lower right corner of the cell "1", and a " " will appear. Use the mouse to drag down to the desired cell.
Related recommendations: "excel basic tutorial"
Then, drag the mouse to The cell will display the corresponding numbers in ascending order.
You can also select the cells you want to edit, then click "Sort" under "Start", and then select "Ascending Order" arrangement". The data is sorted in ascending order.
Select the cells you want to edit, click "Sort" under "Start", and then select "Sort Descending". The data is sorted in descending order.
Method 2:
The same method used to arrange each row is applicable to the arrangement of each column.
If you want to enter a vertical column of data in ascending order, enter 1 and 2 in the first and second cells of the row respectively.
Then, move the mouse to the lower right corner of the cell "1", and a " " will appear. Use the mouse to drag to the right to the desired cell.
The above is the detailed content of How to implement ascending and descending order in excel. For more information, please follow other related articles on the PHP Chinese website!