Sample Data
A simple task list showing tasks and their status before automation.
| Cell | Value |
|---|---|
| A1 | Task |
| B1 | Status |
| A2 | Send emails |
| B2 | Pending |
| A3 | Update report |
| B3 | Pending |
| A4 | Calculate totals |
| B4 | Pending |
Jump into concepts and practice - no test required
A simple task list showing tasks and their status before automation.
| Cell | Value |
|---|---|
| A1 | Task |
| B1 | Status |
| A2 | Send emails |
| B2 | Pending |
| A3 | Update report |
| B3 | Pending |
| A4 | Calculate totals |
| B4 | Pending |
IF(B2="Pending", "Send reminder", "Done")A B 1 | Task | Status | 2 | Send emails| Pending | <-- referenced by formula 3 | Update report| Pending | 4 | Calculate totals| Pending |
A B C 1 | Task | Status | Reminder | 2 | Send emails| Pending | Send reminder| 3 | Update report| Pending | | 4 | Calculate totals| Pending | |
function fillCells() {
var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
sheet.getRange('A1:A3').setValue('Hello');
}function sendEmail() {
MailApp.sendEmail('user@example.com', 'Subject', 'Body text')
}