title: Add a timestamp to one column when other columns changed
body: <p>I'm trying to add a timestamp to a column when other cells in the same row are completed or changed.</p>
  
  <p>The below script works if just one column is changed, but not multiple columns.</p>
  
  <pre><code>function onEdit() {
    var s = SpreadsheetApp.getActiveSheet();
    if( s.getName() == "Allocation Requests" ) { //checks that we're on the correct sheet
      var r = s.getActiveCell();
      if( r.getColumn() == 7) { //checks the column
        var nextCell = r.offset(0, 7);
            nextCell.setValue(new Date());
        }
    }
  }
  </code></pre>
  
  <p>I'm trying to get it so that if columns E,F,G or H are changed, the timestamp in Column M is updated. Thanks</p>