Challenge - 5 Problems
Sorting Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate2:00remaining
Sorting a Single Column Alphabetically
You have a list of names in cells A2:A6:
Anna, John, Mike, Zoe, Bob
Which formula will sort these names alphabetically in ascending order?
Anna, John, Mike, Zoe, Bob
Which formula will sort these names alphabetically in ascending order?
Attempts:
2 left
💡 Hint
Remember, TRUE means ascending order and the second argument is the column index to sort by.
✗ Incorrect
The SORT function syntax is SORT(range, sort_column, is_ascending). Here, the range is A2:A6, sorting by the first column (1), ascending (TRUE).
📊 Formula Result
intermediate2:00remaining
Sorting by Date in Descending Order
You have dates in cells B2:B7:
2023-01-10, 2022-12-25, 2023-03-01, 2022-11-15, 2023-01-01, 2022-12-31
Which formula sorts these dates from newest to oldest?
2023-01-10, 2022-12-25, 2023-03-01, 2022-11-15, 2023-01-01, 2022-12-31
Which formula sorts these dates from newest to oldest?
Attempts:
2 left
💡 Hint
Descending order means FALSE for the third argument.
✗ Incorrect
SORT(range, sort_column, is_ascending) with is_ascending FALSE sorts descending. Here, sort_column is 1 because B2:B7 is a single column.
📊 Formula Result
advanced2:30remaining
Sorting by Multiple Columns
You have a table with names in column A and scores in column B:
A2:A6: Anna, John, Mike, Zoe, Bob
B2:B6: 85, 92, 85, 92, 85
You want to sort the table first by scores descending, then by names ascending.
Which formula achieves this?
A2:A6: Anna, John, Mike, Zoe, Bob
B2:B6: 85, 92, 85, 92, 85
You want to sort the table first by scores descending, then by names ascending.
Which formula achieves this?
Attempts:
2 left
💡 Hint
The SORT function can take multiple pairs of sort_column and is_ascending arguments.
✗ Incorrect
SORT(range, sort_column1, is_ascending1, sort_column2, is_ascending2) sorts first by column 2 descending (FALSE), then by column 1 ascending (TRUE).
🎯 Scenario
advanced2:30remaining
Sorting a Table with Dates and Text
You have a table with event names in column A and event dates in column B:
A2:A7: Meeting, Workshop, Seminar, Conference, Webinar, Training
B2:B7: 2023-05-10, 2023-04-15, 2023-05-10, 2023-03-20, 2023-04-15, 2023-05-10
You want to sort the table by date ascending, then by event name ascending.
Which formula will correctly sort this table?
A2:A7: Meeting, Workshop, Seminar, Conference, Webinar, Training
B2:B7: 2023-05-10, 2023-04-15, 2023-05-10, 2023-03-20, 2023-04-15, 2023-05-10
You want to sort the table by date ascending, then by event name ascending.
Which formula will correctly sort this table?
Attempts:
2 left
💡 Hint
Remember the order of sorting columns and their ascending/descending flags.
✗ Incorrect
SORT(A2:B7, 2, TRUE, 1, TRUE) sorts first by date ascending (column 2), then by event name ascending (column 1).
❓ data_analysis
expert3:00remaining
Analyzing Sort Output with Mixed Data Types
You have this data in columns A and B:
A2:A6: 10, 2, 30, 4, 25
B2:B6: Apple, Banana, Cherry, Date, Elderberry
You apply the formula:
=SORT(A2:B6, 1, TRUE)
What will be the value in cell B3 of the sorted output?
A2:A6: 10, 2, 30, 4, 25
B2:B6: Apple, Banana, Cherry, Date, Elderberry
You apply the formula:
=SORT(A2:B6, 1, TRUE)
What will be the value in cell B3 of the sorted output?
Attempts:
2 left
💡 Hint
Look at the sorted order of column A and match the corresponding B values.
✗ Incorrect
Sorting column A ascending gives: 2,4,10,25,30. The third smallest number is 10, which corresponds to 'Apple' in column B.