Any Data or workbook please?
Stella -Attr() won't work but min(), max() or avg(0 will
If this posts assists in resolving the question, please mark it helpful or as the 'correct answer' if it resolves the question. This will help other users find the same answer/resolution. Thank you.
You need to double check the data type for variables you are trying to subtract. For example if you have field "Year" as text, you would need to have the following formula SUM(INT([Year])). ATTR () function returns a value if it is unique, otherwise it returns *.
Hope that helps. Thanks.