I have a code written code.gs of Google App script like this
function enterAmount(inputInfo){
  var url = 'https://docs.google.com/spreadsheets/d/1bM8l6JefFsPrlJnTWf56wOhnuSjdIwg3hMbY1tN1Zp8/edit#gid=1151242353';
  var ss = SpreadsheetApp.openByUrl(url);
  var ws = ss.getSheetByName("Payment Configuration");
  
  var repeatedPayment = ( inputInfo.amount / 50 );
  for(var i = 50; i <= repeatedPayment; i++){
           ws.appendRow([inputInfo.uname,inputInfo.pm_hseno,inputInfo.streetName]);
  }
}
The function is working fine but I just want to append the information starting from column E. I dont want it follow the last column of the whole sheet. Can anyone help me modify the code? Thanks in advance.