title: How to shift cells down in specified columns? Google Sheets
body: <p>I'm trying to use this script (<a href="https://stackoverflow.com/questions/61220720/is-there-an-easy-way-to-shift-down-cells-google-app-script/64724593#64724593">Is there an easy way to shift down cells? - Google App Script</a>) to shift 2 cells down at a time in specified columns only when that specified cell is edited. The issue I'm having is that regardless of which cell is edited even outside the column the specified cell shifts. Is there a way to fix this?</p>
  <p>this is how I'm using it:`</p>
  <pre><code>var ss = SpreadsheetApp.getActiveSpreadsheet(); var sheet = ss.getSheets()[0];
  
  var range = sheet.getRange(3,1).insertCells(SpreadsheetApp.Dimension.ROWS); sheet.getRange(3,2).insertCells(SpreadsheetApp.Dimension.ROWS);`
  </code></pre>