A small business tracker in Google Sheets is a living spreadsheet that logs revenue, expenses, inventory, and client data in one place. Apps Script then automates the repetitive tasksβreconciling invoices, sending email reports, flagging budget overrunsβso you stop doing manual data entry every Sunday night. You build the structure first, then layer in JavaScript functions and time-based triggers to keep your operations running on autopilot.
Structuring Your Small Business Tracker Spreadsheet
Before you write a single line of code, your spreadsheet needs a solid skeleton. Open a new Google Sheets file and create five tabs: Clients, Invoices, Expenses, Inventory, and Budget. Each tab holds one data type so your later Apps Script functions can reference clean, predictable ranges.
In the Clients tab, set columns for Name, Business Name, Email, and Outstanding Balance. In Invoices, use Invoice ID, Client, Issue Date, Amount, and Status (Paid/Unpaid/Overdue). The Expenses tab mirrors a simple bookkeeping log: Date, Category, Vendor, Amount, and Payment Method.
Keep every column header consistent and avoid merged cells. Merged cells break formula references and make Apps Script data reads unreliable. Lock down your column order now because every JavaScript function you write later will reference columns by index (A=1, B=2, etc.).
- Clients tab: One row per active or past client, sorted alphabetically.
- Invoices tab: A unique sequential ID per invoice (e.g., INV-2025-00041).
- Expenses tab: Category dropdown limited to 8β12 options (Supplies, Rent, Software, Payroll, Marketing, Utilities, Shipping, Other).
- Inventory tab: SKU, Product Name, Quantity on Hand, Reorder Point, and Last Restocked Date.
- Budget tab: Monthly row with columns for Planned, Actual, and Variance.
Small Business Bookkeeping in Google Sheets: A Practical Workflow
Small business bookkeeping in Google Sheets works best when you treat it as a daily 10-minute habit rather than a monthly fire-drill. Each evening, log every expense into the Expenses tab using the category dropdown you set up earlier. At the end of the week, reconcile your bank feed against the rows you entered.
The key to a clean bookkeeping workflow is a running Cash On Hand cell at the top of the Invoices tab. Use a SUMIF formula to total paid amounts minus expenses, giving you a real-time net figure without opening external accounting software. Update this cell with a simple =SUMIF(Expenses!D:D,">0",Expenses!D:D) paired against your invoice totals.
When your invoice count crosses 200 rows a month, manual reconciliation gets painful. That is where Apps Script enters: a script pulls your Stripe or PayPal payout data through the API, matches it against your Invoices tab, and auto-fills the Status column. This helps keep your bookkeeping accurate without a $40-per-month software subscription.
- Log expenses daily (Category + Amount + Vendor).
- Mark invoices as Paid the moment a client payment clears.
- Run a weekly SUMIF check against your bank balance.
- Flag any invoice older than 45 days for a follow-up email.
Layering Accounting Logic with Apps Script Triggers
Apps Script turns your spreadsheet from a static log into an automated accounting engine. Open the Script Editor in Google Sheets (Extensions β Apps Script) and write a function that scans the Invoices tab for any row where Status equals Unpaid and the Issue Date is more than 14 days in the past.
Here is a starter function: function flagOverdueInvoices() { const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Invoices'); const data = sheet.getDataRange().getValues(); for (let i = 1; i < data.length; i++) { if (String(data[i][4]).trim() === 'Unpaid' && data[i][2] && data[i][2].getTime() < Date.now() - 14*86400000) { sheet.getRange(i+1, 5).setValue('Overdue'); } } }
Schedule this as a daily time-driven trigger (click the clock icon in the Script Editor β Add Trigger β flagOverdueInvoices β Daily 9 AM). The script recalculates the status column overnight, so you wake up to a clean, color-coded sheet. Pair it with a weekly summary function that emails your accountant a revenue and expense digest.
- Daily trigger: Run flagOverdueInvoices at 9 AM Eastern.
- Weekly trigger: A second function compiles a summary email with total revenue, expenses, and net cash.
- On-edit trigger: Whenever a user changes an invoice amount, a validation function checks that it is not negative.
How to Build a Monthly Budget on Google Sheets
Knowing how to do a budget in Google Sheets comes down to separating planned figures from actuals in a side-by-side layout. In your Budget tab, list each month as a row and each expense category as a column. Add a Planned row above each category's Actual row so the variance is always visible at a glance.
To make the budget on Google Sheets truly useful, add a cumulative YTD Actual column. The formula =SUM(B$5:B12), adjusted to your layout, pulls every month's actual spending up to that point. When the YTD actual exceeds 80% of your annual plan in March, you know the problem early instead of discovering it in December.
Pair this with a conditional-formatting rule: highlight any cell where Actual exceeds Planned by more than 10%. The visual flag means you do not have to hunt for overruns in a 200-row sheet. Reserve 5β8% of monthly planned spend as a contingency line item so unexpected costs do not blow your category budget.
- Planned vs. Actual: One row per category, two columns side by side.
- YTD tracker: A running SUM formula per category across January through December.
- Buffer row: 5β8% contingency allocated monthly for unexpected costs.
- Color rule: Red when Actual exceeds Planned by 10% or more; green when within 5%.
Automating Invoices, Client Emails, and Inventory Alerts
Once your spreadsheet structure is solid, Apps Script handles the communication layer. Write a JavaScript function that loops through the Inventory tab, finds any SKU where Quantity on Hand is below the Reorder Point, and fires a Gmail notification to your supplier.
function restockAlert() { const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Inventory'); const rows = sheet.getDataRange().getValues(); for (let i = 1; i < rows.length; i++) { if (Number(rows[i][2]) < Number(rows[i][3])) { MailApp.sendEmail('[email protected]', 'Restock: ' + rows[i][1], 'SKU ' + rows[i][0] + ' (' + rows[i][1] + ') is below its reorder point.'); } } }
Schedule restockAlert() as a weekly trigger on Monday at 8 AM. You receive a single email digest instead of checking the sheet every day. Extend the same pattern with a monthly function that exports a PDF report of all paid invoices and emails it to your accountant. API calls to Stripe for payout data keep your numbers in sync without a manual export step.
- Inventory trigger: Weekly Gmail alert for low-stock SKUs below reorder point.
- Client follow-up: 7-day post-invoice email with payment link if Status is still Unpaid.
- Monthly report: Script exports a CSV and attaches it to an email to your bookkeeper.
Workflow Approach Comparison
| Task | Manual (No Script) | Semi-Automated (Formulas) | Fully Automated (Apps Script) |
|---|---|---|---|
| Daily expense entry | Type each row by hand | Paste bank feed, categorize | Bank API auto-imports and classifies |
| Overdue invoice flag | Check Invoices tab weekly | SUMIF + conditional formatting | Daily trigger recalculates and sends email |
| Monthly budget variance | Recalculate by hand | YTD SUM formula | Script emails a variance report |
| Inventory reorder | Count stock in the warehouse | Reorder-point formula on sheet | Weekly Gmail digest + auto-PO draft |
Frequently Asked Questions
Do I need to know JavaScript before using Apps Script?
No. Apps Script uses a simplified version of JavaScript, and many small-business workflows need only 10 to 30 lines of code. Start by copying a ready-made function, adapting the sheet names to match your tabs, and testing it in the Script Editor before you schedule a trigger.
Can I use a small business tracker in Google Sheets alongside QuickBooks or Xero?
Yes. Apps Script can read or write data through the QuickBooks Online API and the Xero API. Treat your spreadsheet as the operational tracker for inventory, client contacts, and budget, and let your accounting software handle tax and payroll. Sync both nightly with a scheduled script.
How many rows can a single Google Sheets tab hold before performance drops?
Google Sheets supports up to 10 million cells per spreadsheet. In practice, performance can degrade noticeably past 50,000 rows when you use heavy array formulas. For invoice and expense logs, archive completed months into a separate spreadsheet once the active tab crosses 30,000 rows.