I have the following onGoogleSpreadsheets.Iwanttoaddallthatanemployeeearnswhosecolumn"COD REND" equals "1" and put the sum in the SUM column. Then I want to discount SOMA from each employee in the "RUB CODE" column only when the rubric is 53 or 33. Given that discount, I should compare if the remaining value exceeds 30000. How to do this using appscript?