what is error code 508

I’m setting up a formula for a calculation worksheet and get an error code 508 or 509. What am I doing wrong??

You might have missed a parentheses or an operator per this error code chart. It’s easy to type long formulas and forget to close one of the many nested parentheses.

Error codes in Calc