Forum Discussion
antotom98
Nov 17, 2022Copper Contributor
COUNT ID Codes IF Columns A & B respect specific criteria
Hello there! I'm working on a table, and I need to count the number of ID Codes depending on 2 specific criteria: 1) Each ID Code has to be counted only once, while as you can see from the ID Cod...
- Nov 17, 2022
What should your answer be in this example?
Perhaps this:
=COUNT(UNIQUE(FILTER(Table1[ID Code],Table1[Balance in $USD]<>0)))
It will return 12.
Riny_van_Eekelen
Nov 17, 2022Platinum Contributor
antotom98 Perhaps like in the attached file?
- antotom98Nov 17, 2022Copper Contributor
Hello Riny_van_Eekelen
Thanks a lot for your reply! That works, but I'm actually trying to do it with just one formula. Are you aware of any formula that might perform that?
- Riny_van_EekelenNov 17, 2022Platinum Contributor
Revised it to an all-in-one formula using HSTACK, BYROW and LAMBDA. See it that works for you.
- antotom98Nov 17, 2022Copper ContributorThanks a lot for that!
Would eventually be possible to get the final total number in just one cell?