Como funciona na prática.
ÚNICO é uma função essencial no Excel. Retorna uma lista de valores exclusivos em uma lista ou intervalo, removendo duplicatas. Facilita a automação de relatórios, otimiza consultas de dados e garante máxima produtividade no seu fluxo de trabalho.
💡 Em termos simples.
Looks at a list with duplicate entries and returns a clean list containing only one copy of each item.
"Think of this like sorting cards. If you have five duplicate red aces, it keeps only one copy and throws the rest away."
Sintaxe.
Notação Oficial do Excel=ÚNICO(matriz; [por_col]; [apenas_uma_vez])Argumentos.
Confira abaixo o detalhamento de cada parâmetro aceito por esta função.
The range or array to extract unique values from.
Exemplo:A2:A6FALSE = Compare rows (default), TRUE = Compare columns.
Padrão: FALSEFALSE = Return all unique values (default), TRUE = Return only values that appear exactly once in the list.
Padrão: FALSEExemplo passo a passo.
Cenário de AplicaçãoExtract Sales Categories
Extract a clean list of unique product departments that recorded sales.
| Sale Department | Amount | Unique list | ||
|---|---|---|---|---|
| Electronics | 120 | — | — | — |
| Home Decor | 45 | — | — | — |
| Electronics | 250 | — | — | — |
=UNIQUE(A2:A6)Evaluates UNIQUE over the sample table cells, placing the verified output in cell C2:C6.
Gerador de fórmula.
Abrir Assistente CompletoPreencha os campos abaixo para gerar uma fórmula pronta para copiar e colar na sua planilha.
=ÚNICO()Comportamento do resultado.
Returns "Calculated output" based on sample evaluation criteria and active cell references.
Boas Práticas
- Nest UNIQUE inside SORT to get a alphabetically or numerically sorted list of unique values (e.g. `=SORT(UNIQUE(A2:A20))`).
- You can retrieve unique rows across multiple columns (like unique First/Last name combos).
Erros Mais Comuns
- Requires Excel 365 or 2021+. Returns #SPILL! if any cell in the output range is already occupied.
Compatibilidade de software e versão.
Validação técnica fundamentada nas especificações oficiais da Microsoft e do Google.
In Excel 2019, use Data > Remove Duplicates or an Advanced Filter with "Unique records only".
Introduced in Excel 365 and Excel 2021. Not available in Excel 2019.
Native Google Sheets function for deduplicating ranges with automatic multi-cell spilling.
Perguntas frequentes.
Dúvidas TécnicasHow does UNIQUE handle empty or blank cells?↓
By default, UNIQUE will return a 0 for blank cells in the source range. You can nest FILTER inside UNIQUE to exclude empty cells before deduplicating.
Can UNIQUE extract items that appear exactly once?↓
Yes. Setting the third argument exactly_once to TRUE will filter out any items that appear more than once, leaving only distinct unique entries.