Complete the code to sort the data by the first column in ascending order.
=SORT(A2:B10, [1], TRUE)The SORT function sorts the range by the column number given. Here, 1 means the first column.
Complete the code to sort the data by the second column in descending order.
=SORT(A2:C15, [1], FALSE)The second argument 2 tells SORT to use the second column. The third argument FALSE means descending order.
Fix the error in the formula to sort by the third column ascending.
=SORT(A1:D20, [1], TRUE)The third column is column number 3. Using 3 correctly sorts by that column.
Fill both blanks to sort the range by the first column descending and then by the second column ascending.
=SORT(A2:C20, [1], FALSE, [2], TRUE)
The first blank is the first column (1) sorted descending (FALSE). The second blank is the second column (2) sorted ascending (TRUE).
Fill all three blanks to sort the data by the second column ascending, then by the third column descending, and finally by the first column ascending.
=SORT(A1:D30, [1], TRUE, [2], FALSE, [3], TRUE)
The blanks correspond to the columns to sort by in order: second column ascending (2, TRUE), third column descending (3, FALSE), first column ascending (1, TRUE).