const isFormula_ = value => String(value).charAt(0) === '=';
const editValue_ = value => isFormula_(value) ? String(value).substring(1) : value;
function onEdit(e) {
const sheet = e.range.getSheet();
if (
sheet.getName() === 'Пример' &&
e.range.getRow() > 1 &&
e.range.getColumn() === 8 &&
isFormula_(e.value)) {
e.range.setValue(editValue_(e.value));
}
}