Complete the code to sort the range A1:B5 by the first column in ascending order.
=SORT(A1:B5, [1], TRUE)The first column is column 1, so we use 1 to sort by it.
Complete the code to sort the range A1:C10 by the third column in descending order.
=SORT(A1:C10, [1], FALSE)We want to sort by the third column, so the second argument is 3.
Fix the error in the formula to get the top 3 values from range A1:A10 sorted descending.
=SORTN(A1:A10, [1], 0, 1, FALSE)
The second argument is the number of items to return, so use 3 for top 3 values.
Fill both blanks to sort range B2:D8 by the second column ascending and then the third column descending.
=SORT(B2:D8, [1], TRUE, [2], FALSE)
The first sort is by column 2 ascending, the second sort is by column 3 descending.
Fill all three blanks to get the top 5 unique values from A1:A20 sorted descending.
=SORTN(A1:A20, [1], [2], 1, [3])
We want 5 items, unique display mode (1), and descending order (FALSE).