---
title: "Build Live, Filtered, and Deduplicated Excel Lists with FILTER & UNIQUE"
url: "https://binary.ph/2026/12/03/build-live-filtered-and-deduplicated-excel-lists-with-filter-unique/"
author: "BinaryPH"
published: "2026-12-02T20:00:18+00:00"
modified: "2026-12-02T20:00:18+00:00"
tags: ["Main"]
---

# Build Live, Filtered, and Deduplicated Excel Lists with FILTER & UNIQUE

## Understanding FILTER and UNIQUE

The **FILTER** function extracts rows that meet one or more criteria, while **UNIQUE** removes duplicate values from a range or array. Together they create lists that update automatically when source data changes.

## Creating a Simple Filtered List

To display all employees in the “Sales” department, enter:

```
=FILTER($B$2:$B$13,$C$2:$C$13="Sales")
```

This returns every name in column B where the adjacent department in column C equals “Sales”. The results spill into the cells below the formula.

## Adding a Unique Constraint

When duplicate names can appear, combine **UNIQUE** around the **FILTER** call:

```
=UNIQUE(FILTER(B5:B16,C5:C16=G4,"None"))
```

The *G4* reference contains the target department. The optional third argument in **FILTER** displays “None” when no rows satisfy the condition.

## Multiple Criteria with OR Conditions

To filter for either “North” or “West” sales regions, use the `+` operator or the **IF** function inside **FILTER**:

```
=FILTER(A2:D9,(C2:C9="North")+(C2:C9="West"),"No sales found")
```

Each matching row appears once; the **FILTER** function keeps all rows that meet either criterion.

## Combining FILTER, UNIQUE, and SORT

For an alphabetized list of unique regions with sales above $5,000, stack the functions:

```
=SORT(UNIQUE(FILTER(B2:B100,C2:C100>5000)))
```

Here **FILTER** selects the regions, **UNIQUE** removes duplicates, and **SORT** orders the final array.

## Using SORTBY for Custom Order

When sorting by another column, wrap **SORTBY** around the nested formulas:

```
=SORTBY(UNIQUE(FILTER(A2:C100,B2:B100="North")),C2:C100,-1)
```

This lists unique North-region entries sorted by sales in descending order.

## Handling Merged Cells and Spills

Spill errors often appear when the formula’s output overlaps a merged cell. One workaround is to apply **SORT** after filtering out blanks:

```
=SORT(UNIQUE(FILTER(range, range"")))
```

This removes empty rows and prevents spills into merged areas.

## Inserting the List into Data Validation

Dynamic dropdowns become possible by referencing the spilled array:

```
Data Validation → List → Source: =E4#
```

The hash sign tells Excel that the list is dynamic and will extend automatically as new data appears.

## Common Error Fixes

- **#CALC!** – Indicates a calculation error, often caused by circular references or invalid arguments.
- **#SPILL!** – Occurs when the formula’s output cannot fit into the target range, typically due to overlapping data or merged cells.
- Ensure the source range is contiguous and that the formula’s output area is clear.

## Best Practices

• Start with **UNIQUE** on a single column, then add **FILTER** conditions as needed. • Use optional *if\_empty* argument in **FILTER** to control what appears when no data matches. • Avoid merging cells in areas that will contain dynamic lists. • Combine functions in nested order: FILTER → UNIQUE → SORT or SORTBY.

## Conclusion

The combination of **FILTER**, **UNIQUE**, and **SORT** or **SORTBY** provides a powerful, non‑destructive way to create clean, self‑updating lists. By mastering these functions, analysts can replace manual filtering, deduplication, and sorting with concise formulas that adapt instantly to changing data.
