Hi,
I'm working with the CalcQuickBase object, it works fine, but I'm currently having a hard time parsing the CountIf function
I'm very new to the Calculate object.
example Code :
var cq=new CalcQuickBase();
var checkValue=">1407";
cq["A"]="1407";
cq["B"]="1408";
cq["C"]="1407";
cq["result"]=cq.ParseAndCompute(" = CountIf ( ( A , B , C ) , checkValue )");
I also tried " = CountIf ( ( A , B , C ) ,\">1407\")"
This doen't work. Probably I'm doing something wrong when specifying my list.
I tried also this one:
var engine=cq.Engine;
engine.AddNamedRange("A","1407");
engine.AddNamedRange("B","1408");
engine.AddNamedRange("C","1407");
var result=engine.ParseAndComputeFormula("= CountIf ( ( A , B , C ) , checkValue )");
but no success
On the other hand the Count works fine:
var result=engine.ParseAndComputeFormula("= CountIf ( A , B , C )");
Can you point me into the right direction with this?