I'm trying to create a UDF of:
=SUM(IF(FREQUENCY(IF(LEN(F3:F29)>0,MATCH(F3:F29,F3:F29,0),""),IF(LEN(F3:F29)>0,MATCH(F3:F29,F3:F29,0),""))>0,1))
Where F3:F29 is a given range into VBA Code such as Function CountUniques(Rng as Range). I'm pretty much self-taught (ha...) in VBA, so I tried a bunch of stuff, but maybe I'm just retarded.