Memuat
Memuat
Daily Reminder Trigger for personal shopping and pre-orders
0 views
A time-driven trigger runs the script every morning and emails the data whose status needs action. You only activate it once.

Reminders arrive every morning without opening the file.
The real project file is available. It is not just the picture above: you get the working file with every formula in place. It can be downloaded after payment, and we send the download link by WhatsApp or email.
ZIP: .xlsx workbook + Apps Script module (.zip)
| Cell | Formula | What it does |
|---|---|---|
| B26 | =COUNTIF(Data!F2:F61,B25) | Number of rows with the reminder status. |
| B27 | =SUMIFS(Data!G:G,Data!F:F,B25) | Total value needing action. |
| B28 | =IF(B26=0,"Tidak ada pengingat","Ada "&B26&" data") | Reminder status text. |
| B29 | =TODAY() | Today's date. |
The script is delivered as a separate Code.gs file inside the ZIP. Paste it into Extensions, Apps Script. A short excerpt:
function aktifkanPengingatHarian() {
ScriptApp.getProjectTriggers().forEach(function (t) {
if (t.getHandlerFunction() === "pengingatHarian") ScriptApp.deleteTrigger(t);
});
ScriptApp.newTrigger("pengingatHarian").timeBased().everyDays(1).atHour(8).create();
}
function pengingatHarian() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var data = ss.getSheetByName("Data").getDataRange().getValues();
var dash = ss.getSheetByName("Dashboard");
var tujuan = dash.getRange("B24").getValue();
var status = dash.getRange("B25").getValue();
var daftar = [];
for (var i = 1; i < data.length; i++) {
if (data[i][5] === status) daftar.push(data[i][1] + " (Rp " + data[i][6] + ")");
}
if (daftar.length === 0) return;
MailApp.sendEmail(tujuan, "Pengingat harian: " + daftar.length + " data",
"Status " + status + ":\n" + daftar.join("\n"));
}Columns of the Data sheet:
| Requested Item | Item Price |
|---|---|
| Korean Skincare Set | 450,000 |
| Outlet Branded Bag | 1,800,000 |
| Imported Running Shoes | 1,500,000 |
| Japanese Chocolate Box | 120,000 |
| Bandung Cake Souvenirs | 150,000 |
| Premium Coffee Pack | 95,000 |
| Original Perfume 50 ml | 650,000 |
| K-Pop Album Merchandise | 350,000 |
| Collectible Blind Box Toy | 180,000 |
| Shopping Fee per Kg | 50,000 |
The sample data is synthetic.
Yes. The picture above is only a preview. After payment we send the download link of the real project file (a ZIP containing the .xlsx workbook and the macro module) by WhatsApp or email.
No. The sample data is synthetic and only shows how the formulas behave. Replace it with your own data and the formulas keep working.
Yes, as a separate order. Message us on WhatsApp with a short description of your columns and what you want to see.
Sample data is synthetic. Google Sheets is a trademark of Google LLC.
Back to Google Sheets portfolio