A collection of innovative Google Apps Script projects designed to automate tasks and enhance productivity within Google Workspace. These projects cover a variety of use cases, from data cleaning and report generation to email automation and error handling.
- Code | HTML File | Documentation
- Description: Automates the generation of a PDF report from Google Sheets, formats it into an HTML table, and sends it as an email attachment.
- Key Features:
- PDF Report Generation: Converts Google Sheets data into structured PDFs.
- Email Automation: Sends the generated PDF as an attachment.
- Customizable Content: Adjust report data and recipient list.
- Code | Documentation
- Description: Automates data cleaning by removing duplicates while keeping the last occurrence and sorting the remaining rows.
- Key Features:
- Remove Duplicates: Retains only the latest entry.
- Sort Data: Organizes rows based on a chosen column.
- Flexible Range & Column Selection: Customizable for various datasets.
- Code | Documentation
- Description: Automates copying data from a specified range, cleaning it, and appending it to a destination sheet or tab.
- Key Features:
- User-Defined Source Range: Flexible data copying.
- Data Cleaning: Removes empty rows.
- Automatic Destination Detection: Appends to the next available row.
- Code | HTML | Documentation
- Description: Sends personalized emails to recipients listed in a Google Sheet, using HTML templates to include dynamic content like sales data.
- Key Features:
- Dynamic Email Content: Customizes email content based on sheet data.
- HTML Template: Easily customizable email design.
- Spreadsheet Integration: Manage recipients and content directly from Google Sheets.
- Code | HTML | Documentation
- Description: Automates sending customized schedule emails to recipients, dynamically pulling email addresses and schedule data from Google Sheets.
- Key Features:
- Dynamic Recipients: Sends emails to recipients listed in the sheet.
- Data Retrieval: Fetches personalized data for each recipient.
- Customizable Email Content: Subject, CC, and content can be dynamically pulled from the sheet.
- Code | Documentation
- Description: Imports CSV attachments from Gmail into Google Sheets, automating the process of updating data from email reports.
- Key Features:
- Email Fetching: Automatically searches for specific emails.
- CSV Parsing: Imports CSV data into Google Sheets.
- Scheduled Updates: Runs automatically at a set time.
- Code | Documentation
- Description: Detects and resolves
#REF!
errors in Google Sheets, with automatic row additions and email notifications. - Key Features:
- Automatic Error Detection: Identifies
#REF!
errors. - Retry Mechanism: Configurable error resolution attempts.
- Email Alerts: Notifies users if the issue persists.
- Automatic Error Detection: Identifies
- Code | Documentation
- Description: Automatically adds timestamps when specific cells are edited, ensuring accurate tracking of changes.
- Key Features:
- Automatic Timestamping: Adds timestamps on cell edits.
- Fallback for
onEdit()
: Ensures timestamps even ifonEdit()
fails. - Customizable: Works on any sheet or column.
- Code | Documentation
- Description: Records the date and email address of users when specific columns are edited in Google Sheets.
- Key Features:
- Automatic Date Logging: Logs date and time of edits.
- User Email Logging: Tracks the email of the editor.
- Seamless Operation: Runs without manual input.
- Code | Documentation
- Description: Colors rows based on the values in a specific column to visually categorize data.
- Key Features:
- Dynamic Row Coloring: Apply colors based on cell values.
- Customizable Conditions: Set colors for specific values.
- Easy Integration: Works with any Google Sheet.
- Code | Documentation
- Description: Automatically hides or shows rows based on the values in a designated column.
- Key Features:
- Conditional Row Visibility: Hides rows based on specific values.
- Customizable: Can be adapted to different sheets and conditions.
- Code | Documentation
- Description: Marks rows based on the background color of cells, helping to categorize or highlight data visually.
- Key Features:
- Target Sheet: Operates on
Sheet1
(modifiable). - Color Check: Evaluates cell colors to mark rows.
- Conditional Marking: Marks rows with
1
or0
based on color.
- Target Sheet: Operates on
- Code | Documentation
- Description: Clears specific cell ranges across multiple sheets, streamlining daily data cleaning tasks.
- Key Features:
- Clears specified ranges in multiple sheets.
- Ideal for daily data reset tasks.
- Open the script in the Google Apps Script editor.
- Follow the individual project instructions provided in each folder for setup and customization.