Automate a Google Sheet with Apps Script
Six half-hour sessions built on Google's official Apps Script guides. You'll turn a simple task tracker into a sheet that colors overdue work, counts statuses, and emails you the overdue list every Monday on its own.
Outcome
A Google Sheet with a custom =LABORCOST() formula, a Task Tools menu, automatic red and green highlighting, a status summary, and a weekly overdue email sent by a time-driven trigger.
- Every resource is a real public page our team picked. Our server checks the links; if one ever breaks, tell us and we'll replace it.
- Approve permissions only for scripts you wrote or fully understand. A script can read, change, and email from your Google account.
- Free Gmail accounts can email up to 100 recipients a day from Apps Script, and limits can change. Test by emailing only yourself.
- Menus and button names in the Apps Script editor change from time to time; if one moves, the official guides show the current layout.
- 10,000 seconds is a structured starting point. It builds a real first result, not guaranteed expertise.
Outline
- 127:47
Open the script editor and run your first script
A Tasks sheet with sample data, and a script you ran that wrote to it.
- 227:47
Write your own spreadsheet formula
A custom =LABORCOST() formula that works on one cell or a whole column.
- 327:47
Read rows and write a summary
A function that reads every task and writes a status count table next to your data.
- 427:47
Format automatically and add a menu
A Task Tools menu that colors overdue tasks red and finished ones green.
- 527:46
Send yourself an email from the sheet
A function that emails you the overdue list with a link back to the sheet.
- 627:46
Capstone: run it every week automatically
The sheet highlights, summarizes, and emails you every Monday morning with no clicks.
Capstone
Your self-running task sheet
A Google Sheet whose script adds a custom formula, highlights overdue and finished tasks, writes a status summary, and emails you the overdue list every Monday through a time-driven trigger.
Sources
- Custom Functions in Google Sheets
Google for Developers (Apps Script)
Not yet verifiedFree - Extend Google Sheets
Google for Developers (Apps Script)
Not yet verifiedFree - Installable Triggers
Google for Developers (Apps Script)
Not yet verifiedFree - Class MailApp
Google for Developers (Apps Script)
Not yet verifiedFree - Custom Menus in Google Workspace
Google for Developers (Apps Script)
Not yet verifiedFree - Quotas for Google Services
Google for Developers (Apps Script)
Not yet verifiedFree - Class Range
Google for Developers (Apps Script)
Not yet verifiedFree - Simple Triggers
Google for Developers (Apps Script)
Not yet verifiedFree