Number of unique values in a range

Copper Contributor

I want to now the number of unique values in a range (S9:U56) where column M of the corresponding rows contains a certain value (M9:M56="GVA")

I use this formula =IF(M9:M56="GVA";SUM(1/(COUNTIF(S9:U56;S9:U56)))-1;0)

This results in a #SPILL Error

1 Reply
#SPILL! errors in Excel
https://support.microsoft.com/en-gb/office/-spill-errors-in-excel-ffe0f555-b479-4a17-a6e2-ef9cc9ad40...

Just only for info, maybe will help.

Nikolino
I know I don't know anything (Socrates)