To use the RANK function to rank values in a list in Excel, follow these steps:
Open the Excel spreadsheet that contains the list of values you want to rank.
Select an empty cell where you want the ranking result to appear.
Enter the formula "=RANK(cell_reference, range_reference, order)" into the selected cell.
For example, if you want to rank the value in cell A1 against the range A2:A10 in descending order, the formula would be "=RANK(A1, A2:A10, 0)".
Press Enter to calculate the ranking.
The result will be the rank of the value in the list based on the specified order. If there are ties, the RANK function will assign the same rank to those values and skip the following ranks.
Note: If you use the RANK function in Excel 2010 or later, you will need to enable iterative calculations by going to the File tab, selecting Options, choosing the Formulas category, and checking the "Enable iterative calculation" box.