Memuat
Memuat
Sync Between Spreadsheets for laundry
0 views
Copies the Data and Master sheets to a target spreadsheet, such as a copy for a manager or branch. The last sync time is logged on Rekap.

Two files hold the same content with one click.
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 |
|---|---|---|
| H5 | =COUNTA(Data!B2:B61) | Number of rows to copy. |
| H6 | =SUM(Data!G2:G61) | Total that must match at the target. |
| H7 | =COUNTA(Master!A2:A11) | Master item count. |
| H8 | =IF(H2="","Isi ID tujuan","Siap") | Check the target ID is filled. |
The script is delivered as a separate Code.gs file inside the ZIP. Paste it into Extensions, Apps Script. A short excerpt:
function sinkronAntarSpreadsheet() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var idTujuan = ss.getSheetByName("Rekap").getRange("H2").getValue();
var tujuan = SpreadsheetApp.openById(idTujuan);
salin_(ss.getSheetByName("Data"), tujuan, "Data");
salin_(ss.getSheetByName("Master"), tujuan, "Master");
ss.getSheetByName("Rekap").getRange("H3").setValue("Sinkron terakhir: " + new Date());
}
function salin_(sumber, tujuan, nama) {
var lembar = tujuan.getSheetByName(nama) || tujuan.insertSheet(nama);
var nilai = sumber.getDataRange().getValues();
lembar.clearContents();
lembar.getRange(1, 1, nilai.length, nilai[0].length).setValues(nilai);
}Columns of the Data sheet:
| Laundry Service | Price |
|---|---|
| Wash and Iron per Kg | 7,000 |
| Wash and Fold per Kg | 5,000 |
| Iron Only per Kg | 4,000 |
| Express 6 Hour Wash per Kg | 12,000 |
| Blanket per Piece | 25,000 |
| Bed Sheet Set | 20,000 |
| Suit or Blazer | 30,000 |
| Sneakers Cleaning | 35,000 |
| Large Stuffed Toy | 25,000 |
| Pickup and Delivery | 10,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