I made a workaround based on TFatExpression. Because it can handle infix formulas, I am using them in the table and simply change the cell names to their value in a string which finally I give to the FatExpression component. If the value starts with "=" then of course I call recursively the algorithm again, so finally I get a string with the fomula and numbers.
Not really correct, because I am giving 0 if there is no value in a cell, but it will do, since I won't use nor multiplication, nor division. Anyway, this can be corrected too to 1.
Just as an information if someone is interested, TFatExpression has an error: it cannot handle only scientific floats, but it can be corrected in the source.
By line 250 in function GetTokenType
if (Error = 0) then
Result := ttNumeric
has to be change to
if (Error = 0) or (S = DefaultFormatSettings.DecimalSeparator) then
Result := ttNumeric
Later in function TExpParser.ReadNextToken by line 325
before the line
Part := Part + Ch;
the following code should be added:
if (FirstType = ttNumeric) and (Ch = DefaultFormatSettings.DecimalSeparator)
and (DefaultFormatSettings.DecimalSeparator <> '.') then Ch := '.';