I guess you want to know how to sort the numbers of 1 ~ 50 randomly. The operation is as follows: Step 1, enter the numbers 1 and 2 in cells A 1 and A2 respectively; Step 2, select A 1 and A2, move the cursor to the lower right corner of A2 cell, and a fill handle (that is, a small black plus sign) will appear. Drag the mouse down until it moves to A50, and A 1 ~ A50 will automatically fill in the number1~ 50; Step 3, move the cursor to the cell B 1, type =RAND (), then copy the cell B 1, and select the area B2 ~ B50 to paste; Step 4: Select column A and column B, click Sort in the data menu, and select column B in the main keyword column, that is, sort by column B. Unless you sort it randomly again, the random number in column A will not change. You will notice that these numbers are not arranged in ascending or descending order, because each sorting will trigger a new calculation.
If you need a certain number of non-repetitive random numbers-for example, choose 6 from 1 ~ 50-just select the numbers in the first 6 rows of cells.