Sends a short email with the row count and the total of column C from the active spreadsheet. Add a weekly time-driven trigger to run it every Monday.
function sendWeeklySummary() {
const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheets()[0];
const values = sheet.getDataRange().getValues().slice(1); // skip header
const total = values.reduce((sum, r) => sum + (Number(r[2]) || 0), 0);
const body = `Rows: ${values.length}\nTotal of column C: ${total.toFixed(2)}`;
MailApp.sendEmail(Session.getActiveUser().getEmail(), 'Weekly sheet summary', body);
}Undo: Delete the trigger under Triggers (clock icon) to stop it.
Reference: Apps Script documentation.
Facts on this page checked December 4, 2026 (Pacific) against the linked official sources.