Link to home
Start Free TrialLog in
Avatar of dgd1212
dgd1212

asked on

Frequency Function

I'm using this formula: =SUM(IF(FREQUENCY(A1:A200,A1:AD200)>0,1)) to count unique numbers in column A.

I noticed that if a letter(s) proceed numbers it does not count. I'm assuming this is correct for this function.

Is there a way to modify the formula to count unique "cells" if either numbers or letters? or another solution all together.

Thanks
Avatar of Professor J
Professor J

=SUM(IF(ISBLANK(A1:A200),0,1/COUNTIF(A1:A200,A1:A200)))
assuming your data is from a1 to a200   feel free to change the range in formula
enter with Control + Shift + Enter
ASKER CERTIFIED SOLUTION
Avatar of Professor J
Professor J

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
and with your original frequency function  here is the formula

enter with control shift enter

=SUM(IF(FREQUENCY(IF(LEN(A1:A200)>0,MATCH(A1:A200,A1:A200,0),""), IF(LEN(A1:A200)>0,MATCH(A1:A200, A1:A200,0),""))>0,1))
Avatar of dgd1212

ASKER

Solution resolves issue. Thanks!!