menu_book Course Curriculum (Google Sheets) expand_more
Core Formulas
Text & Dates
Array & Query
Data Quality & Analysis
Apps Script onEdit trigger
Learn Apps Script onEdit trigger in Google Sheets with a dedicated explanation, a concept-specific example, practical cautions, and a mastery check.
12 min read
•
Advanced
google-sheets-047.txt
text
function onEdit(e) {
const sheet = e.range.getSheet();
if (sheet.getName() === 'Tasks' && e.range.getColumn() === 3) {
e.range.offset(0, 1).setValue(new Date());
}
}
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content