← Blog NEWProductivity Nov 30, 2026 · 3 min read

Automate Reports with Google Sheets: A Guide for Small Businesses

Automate reports with Google Sheets: tidy the data, build summaries with formulas, add a dashboard, then email a weekly report with Apps Script.

Automate Reports with Google Sheets: A Guide for Small Businesses

Every Monday morning, the routine is the same: copy order data from chats, marketplaces and cashier notes into a spreadsheet, add it up, make a chart, and send a screenshot to the business owner. One or two hours go into a job whose output always looks the same. The good news is that most of that work can run by itself. In this article I explain how to automate reports with Google Sheets, from tidying the data and building summaries with formulas to sending a weekly report automatically with Apps Script.

The Google limits and quotas below apply as of late 2026 and can change. Check the official pages in the Sources section.

The basic principle: keep data, summary and report apart

Before any formulas, this is the habit that most decides whether automation works. Create three separate tabs:

  • Data: where raw data comes in. It is only filled in, never processed.
  • Summary: formulas that calculate from the Data tab. Never typed by hand.
  • Report: the overview and charts, ready to view or send.

With this split, the report updates just by adding rows to the Data tab.

Step 1: Tidy the raw data

Formulas and automation only work when the data is tidy. The rules I use:

  • One row per transaction.
  • One column per type of information, for example: Date, Order No, Product, Qty, Price, Total, Channel, Status.
  • Column headers only in the first row, with no merged cells.
  • Consistent date formatting. Make sure the date column is really formatted as dates, not text.
  • Use dropdowns for columns like Channel and Status, so "Shopee", "shopee" and "Shope" are not counted as different things.
  • Do not insert subtotal rows in the middle of the data.

Step 2: Fill the data automatically from its source

The less data is retyped, the fewer typos. Some practical options:

  • Google Forms: your team logs orders or stock through a form, and the answers land in the spreadsheet automatically.
  • Export files: many marketplaces and payment gateways offer CSV exports. Paste or import them into the Data tab with a fixed column order.
  • IMPORTRANGE: combines data from branch or team spreadsheets into one file.
  • Through an API: for online stores or apps that offer an API, Apps Script can pull the data automatically.

Step 3: Build the summary with formulas

One important note: formula argument separators depend on the spreadsheet's locale. English locales use commas, as in the examples below, while locales that use a comma as the decimal mark, including Indonesia, use semicolons (;).

Say that in the Summary tab:

  • B1 (start of the period, last Monday): =TODAY()-WEEKDAY(TODAY(),2)-6
  • B2 (end boundary, this Monday, not included): =TODAY()-WEEKDAY(TODAY(),2)+1
  • B3 (last week's revenue): =SUMIFS(Data!F:F, Data!A:A, ">="&B1, Data!A:A, "<"&B2)
  • B4 (number of orders): =COUNTIFS(Data!A:A, ">="&B1, Data!A:A, "<"&B2)

The end boundary deliberately uses "earlier than this Monday", so Sunday transactions that include a time (for example from Google Forms) are still counted.

For revenue per channel, the QUERY function is very handy:

=QUERY(Data!A:H, "select G, sum(F) where G is not null group by G label sum(F) 'Revenue'", 1)

For best-selling products, use a pivot table: Product in rows, the sum of Qty in values, sorted from largest to smallest.

Step 4: Put together a simple dashboard

In the Report tab, add:

  • Scorecards for revenue and number of orders
  • A line chart for daily or weekly revenue
  • A bar chart for revenue per channel

If the report needs to go to many people with a more polished look, Looker Studio can read directly from the same spreadsheet.

Step 5: Send the report automatically with Apps Script

Open Extensions → Apps Script and paste the example below. The script reads the numbers from the Summary tab and emails a short overview:

function sendWeeklyReport() {
  const ss = SpreadsheetApp.getActiveSpreadsheet();
  const summary = ss.getSheetByName('Summary');
  const revenue = summary.getRange('B3').getDisplayValue();
  const orders = summary.getRange('B4').getDisplayValue();
  const body = 'Last week\'s report\n\n' +
    'Revenue: ' + revenue + '\n' +
    'Orders: ' + orders + '\n\n' +
    'Details: ' + ss.getUrl();
  MailApp.sendEmail('[email protected]', 'Weekly Sales Report', body);
}

Replace the email address with your own, then run it once manually. Google will ask for access permissions; read them and approve if it is your own account.

Then schedule it:

  1. In Apps Script, open Triggers (the clock icon).
  2. Click Add Trigger and choose the sendWeeklyReport function.
  3. Choose the Time-driven event source, a Week timer, Every Monday, and a morning time slot.

From next Monday, the report arrives on its own. In a similar way, the summary can also go to a Telegram group through a bot. I outline bots in Telegram and WhatsApp bots for online stores.

Quotas and limits to know about

  • Daily email quota: free Gmail accounts are far more limited than Google Workspace. As of late 2026, Apps Script allows 100 email recipients per day for free accounts and 1,500 for Workspace.
  • Script runtime: each execution is limited to about 6 minutes. Heavy jobs need to be split up.
  • File size: a spreadsheet has a cell limit per file (currently 20 million cells). Well before that, very large files already feel slow.

Once your data reaches hundreds of thousands of rows or needs real-time syncing, it is time to consider a database or an automation platform like n8n.

Security and housekeeping

  • Set access carefully: the owner only needs view access, and the team that enters data only needs edit access to the Data tab.
  • Protect the Summary and Report tabs with protected sheets and ranges, so formulas do not get deleted.
  • Use a business account for scripts and triggers. Triggers run as the account that created them. If they were set up from an employee's account and that person leaves, the reports can stop.
  • Use version history to restore data if something gets deleted by mistake.

FAQ

Is all of this free?

Google Sheets, Forms and Apps Script can be used for free with a Gmail account, with smaller quotas. Paid Google Workspace gives larger quotas and email on your business domain.

Do I need to know how to code?

For formulas, pivot tables and charts, no. A simple script like the one above can be copied and adjusted. For automation that connects several apps, it is usually more efficient to get help from someone who does it regularly.

Why does my formula error out when it matches the example?

The most common cause is the argument separator. Spreadsheets in some locales use semicolons, while many English tutorials use commas. Also check that the date column is really formatted as dates.

Final thoughts

Automating reports with Google Sheets does not have to start with a big system. Tidy the data, separate the tabs, build the summary with formulas, then schedule one weekly email. That alone can give you back one or two hours every week for more important work.

If you would like this built into the spreadsheet you already use, there is a Google Sheets automation service from IDR 750,000, and everything runs in your own Google account. If the process spans several apps, such as orders that become invoices and land in your CRM, see the business automation service.

Sources

Read next