fixed condition for google spreadsheet