Hi everyone, I am working on a UDF that will basically function as a "countifs" but only counting unique values. I think I am on the right track, however I can't get the "EVALUATE" function to operate properly on: (Code, 1 line) This is the full code: (Code, 130 lines) Any thoughts??? Thanks :)