---
title: "SORT and UNIQUE in Excel: practice exercises | PracticeExcel"
description: "Practice SORT and UNIQUE in a live spreadsheet. Sort a table by sales, list each customer once and combine the two."
canonical_url: "https://practiceexcelonline.com/practice/sort-and-unique"
locale: en
meta:
  "og:description": "Practice SORT and UNIQUE in a live spreadsheet. Sort a table by sales, list each customer once and combine the two."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~U09SVCBhbmQgVU5JUVVFIGluIEV4Y2VsOiBwcmFjdGljZSBleGVyY2lzZXM%2Cdescription_~UHJhY3RpY2UgU09SVCBhbmQgVU5JUVVFIGluIGEgbGl2ZSBzcHJlYWRzaGVldC4gU29ydCBhIHRhYmxlIGJ5IHNhbGVzLCBsaXN0IGVhY2ggY3VzdG9tZXIgb25jZSBhbmQgY29tYmluZSB0aGUgdHdvLg%2Ceyebrow_Excel%2Bpractice%2Bexercises%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJEIiwiRSJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJSZXAiLCJTYWxlcyIsIlJlcCIsIlNhbGVzIl19LHsibiI6MiwiY2VsbHMiOlsiQW5uIiwiNDIwIiwiIiwiIl19LHsibiI6MywiY2VsbHMiOlsiQmVuIiwiMzEwIiwiIiwiIl19LHsibiI6NCwiY2VsbHMiOlsiQ3kiLCIxNTAiLCIiLCIiXX0seyJuIjo1LCJjZWxscyI6WyJEaSIsIjUwMCIsIiIsIiJdfSx7Im4iOjYsImNlbGxzIjpbIkVkIiwiMjYwIiwiIiwiIl19XSwidGFyZ2V0IjpbMSwyXX19%2Cp_Ii9wcmFjdGljZS9zb3J0LWFuZC11bmlxdWUi%2Cs_qFE8A4k7tkxsZU6-.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "SORT and UNIQUE in Excel: practice exercises | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~U09SVCBhbmQgVU5JUVVFIGluIEV4Y2VsOiBwcmFjdGljZSBleGVyY2lzZXM%2Cdescription_~UHJhY3RpY2UgU09SVCBhbmQgVU5JUVVFIGluIGEgbGl2ZSBzcHJlYWRzaGVldC4gU29ydCBhIHRhYmxlIGJ5IHNhbGVzLCBsaXN0IGVhY2ggY3VzdG9tZXIgb25jZSBhbmQgY29tYmluZSB0aGUgdHdvLg%2Ceyebrow_Excel%2Bpractice%2Bexercises%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJEIiwiRSJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJSZXAiLCJTYWxlcyIsIlJlcCIsIlNhbGVzIl19LHsibiI6MiwiY2VsbHMiOlsiQW5uIiwiNDIwIiwiIiwiIl19LHsibiI6MywiY2VsbHMiOlsiQmVuIiwiMzEwIiwiIiwiIl19LHsibiI6NCwiY2VsbHMiOlsiQ3kiLCIxNTAiLCIiLCIiXX0seyJuIjo1LCJjZWxscyI6WyJEaSIsIjUwMCIsIiIsIiJdfSx7Im4iOjYsImNlbGxzIjpbIkVkIiwiMjYwIiwiIiwiIl19XSwidGFyZ2V0IjpbMSwyXX19%2Cp_Ii9wcmFjdGljZS9zb3J0LWFuZC11bmlxdWUi%2Cs_qFE8A4k7tkxsZU6-.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **SORT and UNIQUE practice exercises**

Sort a table by any column and pull out a list without duplicates, with formulas that update the moment the data changes.

[**Start the first exercise**](https://practiceexcelonline.com/practice/sort-and-unique/sort-function)

SORT(UNIQUE(

1. [**1****Sort a table by sales with SORT**In D2, return the table A2:B6 sorted by sales, highest first. SORT takes the range, the column to sort by (2) and the order (-1 for descending).](https://practiceexcelonline.com/practice/sort-and-unique/sort-function)
2. [**2****List each customer once with UNIQUE****Premium**In D2, list every customer in B2:B8 once, without the repeats, with UNIQUE.](https://practiceexcelonline.com/practice/sort-and-unique/unique-function)
3. [**3****A sorted list without duplicates****Premium**In D2, list every rep in B2:B9 once, sorted from A to Z. Put UNIQUE inside SORT.](https://practiceexcelonline.com/practice/sort-and-unique/sort-unique-list)

## **Functions in this topic**

- [**SORT**](https://practiceexcelonline.com/functions/sort)
- [**UNIQUE**](https://practiceexcelonline.com/functions/unique)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/practice/sort-and-unique#webpage","description":"Practice SORT and UNIQUE in a live spreadsheet. Sort a table by sales, list each customer once and combine the two.","name":"SORT and UNIQUE in Excel: practice exercises","url":"https://practiceexcelonline.com/practice/sort-and-unique","@type":["WebPage","CollectionPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/practice/sort-and-unique#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/sort-and-unique"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/sort-and-unique#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel practice exercises","item":"https://practiceexcelonline.com/practice","position":2},{"@type":"ListItem","name":"SORT and UNIQUE in Excel: practice exercises","position":3}]},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
