Countif-func
This function is used to count the number of values that satisfies a specified condition.
double Countif(vector vd, string con$)
vd
con$
Return the count of values that satisfied the condition con$.
newbook; col(A) = data(1,32); countif(col(A),"col(A) > 5 && col(A) < 10")=;//should return 4
//simpler condition countif(col(A), "boston")=; countif(A, 2)=; countif(A, "!=2")=;
Sumif, Averageif