# Extracting a list of unique values in a list

**URL:** <https://cl.desmos.com/t/extracting-a-list-of-unique-values-in-a-list/3017>\
**Category:** Examples\
**Created:** [March 29, 2021, 1:51am UTC](https://cl.desmos.com/t/extracting-a-list-of-unique-values-in-a-list/3017 "2021-03-29T01:51:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Werner\_Pries](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/werner_pries/32/129_2.png) [@Werner\_Pries](https://cl.desmos.com/u/Werner_Pries)\
**Post date:** [March 29, 2021, 1:51am UTC](https://cl.desmos.com/t/extracting-a-list-of-unique-values-in-a-list/3017/1 "2021-03-29T01:51:08Z")

</div>

Recently I had the occasion to try and filter a numberList for the unique values in the list, wanting to discard all duplicates. Seeing lists in the graph component can be sorted, but not finding a built in function, I wrote a few equations to filter out all the unique values and place them in a resulting list.  
This might be of use to a few activity developers out there.

In this activity are two slides. One to walk through the list processing step-by-step. The second is a condensed version if you simply want to use it to copy/paste into something you’re working on.

> **[Unique Number List • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/606125b7b47de60d6b68a5e0)**
>
> by Werner Pries
