你好,
我想在设置列下的单元格中获取项目的总数。 有人可以给我建议我如何对其进行编码,以便它将获取:setting 列下的值并计算总数,如:Total Items 下所示。 非常感谢。

这是我想出的 Total Items 列的公式。
count = 0;
i = 1;
While( Word( i, :setting, "," ) != "",
theWord = Word( i, :setting, "," );
If( Contains( theWord, "-" ) | Contains( theWord, ":" ),
Show( Row(), theWord );
count = ((count + Num( Word( 2, theWord, "-:" ) )) - Num( Word( 1, theWord, "-:" ) )) + 1;
,
count
++);
i++;
);
count;