function onEdit(e) {
var sheet = e.source.getActiveSheet();
var range = e.range;
if(range.getA1Notation() === "X3" && sheet.getName() === "Лист14") {
var value = range.getValue();
range.clearContent();
var sumRange = sheet.getRange("Y3");
var sumValue = sumRange.getValue();
sumRange.setValue(sumValue + value);
}
if(range.getColumn() == 1 && range.getRow() == 1 && range.getValue() == '') {
sheet.getRange('X3').activate();
}