Forum Discussion
oteixeira62
Jan 31, 2023Copper Contributor
UNIQUE + FILTER functions returning more results than expected
Hello to all,
I am attaching a file which I think is self-explanatory.
I am filtering a table data by using two cell parameters but I am getting more results than expected.
Can someone please give me a hand on this?
Many thanks,
Octavio
You forgot one bracket
=UNIQUE(FILTER(TRegistos[Item],(YEAR(TRegistos[Data])=$Q$5)*(TRegistos[Origem]=$Q$6)))
11 Replies
- SergeiBaklanDiamond Contributor
You forgot one bracket
=UNIQUE(FILTER(TRegistos[Item],(YEAR(TRegistos[Data])=$Q$5)*(TRegistos[Origem]=$Q$6)))- oteixeira62Copper Contributor
- SergeiBaklanDiamond Contributor
oteixeira62 , glad to help. In general try to use formatting, manual one or with Advanced Formula Environment add-in. Like
=UNIQUE( FILTER( TRegistos[Item], (YEAR(TRegistos[Data]) = $Q$5) * (TRegistos[Origem] = $Q$6) ) )