I am returned the error "Parse error at char (11)" and am unsure what it means and how I resolve it?
The formula used is IF [Earned]=<[Duration] THEN ([Earned]*([Earned]+1))/2 ELSE (365*(365+1)/2 ENDIF
All variables are in double format.
The formula is trying to calculate the triangular number sequence based on n = earned up until a limit of 365 (total number of days in the year). At which point the output should always be 365*(365+1)/2 = 66795