Hello,
The above code counts unique values in column A if a value of 1 is in column B. It correctly ignores blank values which is why I prefer this method to others I found on the internet. However it is my understanding that the CountIf function doesn't work when referencing closed workbooks. How would I get the code above to work when referencing a closed workbook?=SUM(--(FREQUENCY(IF(($B$1:$B$10000=1),COUNTIF($A$1:$A$10000,"<"&$A$1:$A$10000),""),COUNTIF($A$1:$A$10000,"<"&$A$1:$A$10000))>0)) CTRL+SHIFT+ENTER
Thank You,
HumbleAko
Bookmarks