I have a bunch of data in a Google Sheet and I’m trying to create a simple script that’ll loop and copy it over into the correct place in a second Google Sheet.
DM SAMPLE SHEET (SOURCE)
SM SAMPLE SHEET (DESTINATION)
Rules for copy and paste:
The script needs to be able to be manually run periodically to update the SM SAMPLE SHEET with all the times from the DM SAMPLE SHEET.
Removed link to DM sheet
DM SAMPLE SHEET (SOURCE)
SM SAMPLE SHEET (DESTINATION)
Rules for copy and paste:
- Loop through each row in the source sheet.
- If the row is for a pick-up job (determined by time present in column D), then copy time from column L (Completed time) to SM's column Q (actual pick-up time), determining the row by matching the order number.
- If the row is for a delivery job (determined by time present in column E), then copy time from column L (Completed time) to SM's column S (actual delivery time), determining the row by matching the order number.
The script needs to be able to be manually run periodically to update the SM SAMPLE SHEET with all the times from the DM SAMPLE SHEET.
Removed link to DM sheet
Last edited by a moderator: