Just looking for some help with the below script, as I need the IF statement to be between "29" and "50" and not just 29 or more, as this impacting other cells that it shouldn't.
function clearSomeCellsLeaversLockers () { const ss = SpreadsheetApp.getActive(); const sh = ss.getSheetByName('Form Responses 1'); const sr = 1; const vs = sh.getRange(sr,147,sh.getLastRow() - sr + 1).getValues().flat(); vs.forEach((e,i) => { if(e > 29) sh.getRange(i + sr,133,1,6).clearContent(); })}Any help will be greatly appreciated.