Matrices dinámicas: FILTRAR, ORDENAR, ÚNICOS

En A1:A8 hay 8 ventas y las ciudades se repiten. Quieres saber cuántas ciudades DISTINTAS hay.

Completa la fórmula en B1.

A · ciudad
B · distintas
1
Monterrey
2
CDMX
3
Monterrey
4
Puebla
5
CDMX
6
Monterrey
7
Puebla
8
CDMX
B1=CONTARA((A1:A8))

La función