To use the RANK function to rank values in a list in Google Sheets, follow these steps:
Open a Google Sheets document and navigate to the cell where you want to display the rankings.
Type the following formula in the cell: =RANK(value, range, [is_ascending]). Replace "value" with the number or cell reference that you want to rank, "range" with the range of values you want to rank, and "[is_ascending]" with either 1 or 0 (1 for ascending order, 0 for descending order). Press Enter.
The cell will now display the rank of the specified value within the range. If there are ties (i.e., multiple values with the same rank), the RANK function will assign the same rank to all tied values.
You can expand the formula to rank other values by dragging the fill handle (a small square in the bottom right corner of the highlighted cell) to cover the desired range.
Note: If you need to rank values based on a specific condition or criteria, you can use the RANK formula in combination with other functions and operators, such as IF, COUNTIF, and SUMIF.