First time posting here, pretty new to coding Google Scripts, so I appreciate whatever help I can get.
I'm trying to design a macro and have gone through some threads but haven't found something that fits. I've tried to design the process as program-friendly as I can imagine, hopefully it'll help. The setup is as follows:
Single Spreadsheet, multiple Sheets. A MainSheet, and an ever increasing amount of secondary Sheets (in the example, there's SheetA and SheetB) Example Sheet Structure
Column Structure for MainSheet is: SheetName, Date, Column1, Column2. Column Structure for the secondary sheets is always the same: Date, Column 1, Column2. MainSheet Column Structure Secondary Sheet Column Structure
The macro is meant to copy data from Column1 and Column2 on MainSheet, and based on the information provided on the SheetName and Date columns, paste it on the respective cells on the secondary sheets. Repeat this process for each entry on MainSheet.
I here an image example of the process: Example MainSheet Example SheetA Example SheetB
Again, I'd appreciate whatever help I can get. Thank you very much!
Edit: Here is a Link to the example Google Sheets spreadsheet.
--- Valraz