Invalid Variable "sum" in formula editor

Following from https://molflow.web.cern.ch/content/new-variables-formula-editor

I used the folowing formula sum(A,NEG)/D707 where NEG is the name of a memorized selction group. I am getting the error "Invalid variable sum(A,NEG)".

I appear to have idential syntax to that from the documentation, but am getting an error?

 

Thanks

Use capital SUM instead of sum, and instead of NEG, use Sn where n is the number of the selection (S1 for example).

(The name of the selection cannot be the reference to the selection, as it could be a formula itself, leading to ambigious parsing).