Google Sheets Formatting with Apps Script

Apps Script gives you complete programmatic control over the visual presentation of a Google Sheet — cell colors, fonts, borders, number formats, conditional formatting rules, charts, dropdowns, and protected ranges.

In this series, the Acme Corp sales team uses Apps Script to transform their plain Sales Tracker sheet into a polished, interactive dashboard. Status rows light up with color, amounts display as currency, dropdowns enforce valid entries, and charts update automatically — all without manual formatting.

All examples use a Sales Tracker Google Sheet with the following columns:

Customer NameEmailProductAmountRegionSales RepStatusDate
Sarah Johnson[email protected]Pro Plan299NorthAlex MartinezClosed2024-03-15
Mark Chen[email protected]Enterprise Plan999EastJordan LeeIn Progress2024-03-18
Lisa Park[email protected]Starter Plan99SouthSam RiveraClosed2024-03-20