Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Unique count and filter formula not displaying counts correctly?

I have a google sheet where I want to look at columns A:C and see a unique count of Products they manage (col A) and have a condition to only count when col C = "Outreach". It seems to be working, but you can see in col F that Ike is being counted although he doesn’t have any products with an Outreach status:

enter image description here

formula is: =counta(UNIQUE(FILTER(A:A,(B:B=E3),C:C="Outreach")))

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

It happens because FILTER returns #N/A and COUNTA treats it as a value. To avoid it you need to wrap FILTER in IFNA that will return empty value:

=COUNTA(UNIQUE(IFNA(FILTER(A:A, B:B=E3, C:C="Outreach"))))
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading