I have a Google Form that collects bookings for a number of events. The responses sheet (Sheet 1) contains, amongst other data, a column with the event being booked for.
I have added another sheet (Sheet 2) that contains a row for each of the events that contains:
- Event Name
- Name of Event leader
- An Email address
- A date
I wish to write a script that runs once a day that:
- Checks if today matches the date in any row on Sheet 2 (There aren't any duplicates).
- If there is a match, extract the rows from Sheet 1 that match the event name, together with row 1 (the header row).
- Email them to the email address in that row on Sheet 2.
How would I go about it?