Excel can be used to achieve this.
Enter the names you want to randomly select in column A (A1, A2, A3, etc.)
Enter the formula in cell B1:
=INDEX( A1:A4,INT(RAND()*(4-1)+1),1)
Among them:
A1:A4 is the range in which you enter all the names in column A , for example, the first cell with the name is A1 and the last cell with the name is A20, then it is A1:A20.
The format of RAND()*(4-1)+1 is RAND()*(b-a)+a, randomly select one from the range of a and b random names, if the first one fills in the name The cell is A1 and the last named cell is A20, then a = 1 b = 20.
Every time you edit the formula (double-click the formula cell and press Enter), you will get a random extraction result.