I am building a GAS timestamp function in google spreadsheet which will change the timestamp whenever I revise the cell value in column 10. However, The cell I'd revise now is filled with IFS function, which actually will change itself. The IFS function results to the original timestamp function stop working cause literally the cell value has not changed. Wanna ask if there's any way that I can solve this problem, so that GAS and spreadsheet function could work together smoothly.
function onEdit(e) {
var row = e.range.getRow();
var col = e.range.getColumn();
if(col == 10 && row >1 && e.source.getActiveSheet().getName() === "Sheet 1" ){
e.source.getActiveSheet().getRange(row, 3).setValue(new Date());
}
}