I am aware of accomplishing this via MS Access, let me know if you'd like to and I shall certainly try and assist
Assuming that your values in column B start at B1, try the following.
In C1 type 1
In c2 type =IF(ISERROR(MATCH(B3,$B$2:B2,0)),C2+1,C2) and then fill this formula down to the same row as the last value in column B
The number in this last row in column C is then the number of Unique values you have.
-M
If you're counting unique numeric values consider
using...
=SUM((FREQUENCY(B:B,B:B)>0)+0)
What kind of records are you looking at? Are they muneric? mixed alpha & numeric? any blank records?
Try with this Array Formula. Assuming data in A1:A25
=SUM(IF(LEN(A1:A25),1/COUNTIF($A$1:$A$25,$A$1:$A$25)))
Juan Pablo G.