Google Spreadsheet Hide and unhide rows based on cell values
问题 I have a spreadsheet with date's (Months) I'm looking for a script that hides and unhide's rows automatically. In column "Z" is a formula (=IF(A3=TODAY();"";"1")) So the cells containing "1" has to hide the row and the empty cells should unhide the row. Can anyone help me? I have seen a lot of forums with no result for me :( See the example below! Example 回答1: function hideShow() { var ss=SpreadsheetApp.getActive(); var sh=ss.getActiveSheet(); var rg=sh.getRange(3,26,sh.getLastRow()-2,1); var