Five people, one spreadsheet, and nobody trusts the total
Shared spreadsheets are where small businesses really run. Orders, stock, tasks, invoices: in many teams they all live in a Google Sheet that four or five people edit every day. That is a huge strength, because everyone sees the same numbers in real time. It is also how sheets quietly fall apart. Someone inserts a subtotal in the middle of the list, someone else types "12 kg" instead of 12, a third person leaves the customer field empty, and at the end of the month the total does not match the bank account.
This lesson is for office managers, small-business owners, sales and operations staff, and anyone who maintains a sheet that other people rely on. You will learn the rules that make a table sharing-ready: tidy enough that colleagues can add rows safely, filters and pivot tables read it correctly, and a quick check tells you what to fix before anyone builds a report on it.
We use the September order log of Harbor Lane Coffee Co., a fictional small roaster that sells beans to cafés, hotels and online customers. In the free lab above you calculate the amount of each order, the total, the average order and the number of orders with no customer name. The formulas are short, but the habits behind them are what separate a sheet you can share from one you have to defend.
What "tidy data" means
Tidy data is a simple idea from data analysis that fits spreadsheets perfectly: each row is one record, each column is one kind of value, and each table holds one kind of thing. In an order log, a record is one order. So every order gets exactly one row, and every column holds one property of that order: its number, date, customer, product, kilograms, price per kilogram and amount.
- One header row with short, unique names. No merged title rows above it, no second header row below it.
- One order per row, with no blank rows and no subtotals in between. A blank row tells filters and charts that the table has ended.
- One kind of value per column. Kilograms are numbers, so the column holds 12, not "12 kg". Put the unit in the header instead.
- Consistent spelling. "Dockside Café" and "dockside cafe" look the same to you but are two different customers to SUMIFS and pivot tables.
- Totals and checks outside the data, below or beside the table, clearly labelled.
Why be so strict? Because almost every tool in Google Sheets and Excel assumes this shape. Filters, sorting, pivot tables, charts, SUMIFS, lookups and the QUERY function all read a table as "header plus records". The moment a subtotal sits inside the data, a SUM over the column counts it twice. The moment a blank row appears, a filter stops at it and silently hides everything below. Tidy data is not about looking neat, it is about formulas giving the right answer.
Worked example: Harbor Lane's September order log
Here is the complete lab table after you finish all four tasks. Kilograms and price per kilogram are given. The Amount column is a calculated column: one formula in G2, copied down to G15. The three result rows sit below the data, not inside it.
| Order | Date | Customer | Product | Kg | Price/kg | Formula in G | Amount |
|---|---|---|---|---|---|---|---|
| HL-1001 | Sep 1 | Dockside Café | House Blend | 12 | $19.50 | =E2*F2 | $234.00 |
| HL-1002 | Sep 2 | Northside Bakery | Espresso Roast | 8 | $24.00 | =E3*F3 | $192.00 |
| HL-1003 | Sep 3 | Green Bean Bistro | Decaf Colombia | 5 | $22.00 | =E4*F4 | $110.00 |
| HL-1004 | Sep 4 | Morning Ritual | Ethiopia Origin | 6 | $28.00 | =E5*F5 | $168.00 |
| HL-1005 | Sep 7 | (blank) | House Blend | 10 | $19.50 | =E6*F6 | $195.00 |
| HL-1006 | Sep 8 | Dockside Café | Espresso Roast | 15 | $24.00 | =E7*F7 | $360.00 |
| HL-1007 | Sep 9 | Harborview Hotel | House Blend | 25 | $19.50 | =E8*F8 | $487.50 |
| HL-1008 | Sep 10 | Northside Bakery | Decaf Colombia | 4 | $22.00 | =E9*F9 | $88.00 |
| HL-1009 | Sep 11 | Green Bean Bistro | Espresso Roast | 9 | $24.00 | =E10*F10 | $216.00 |
| HL-1010 | Sep 14 | (blank) | Ethiopia Origin | 3 | $28.00 | =E11*F11 | $84.00 |
| HL-1011 | Sep 15 | Morning Ritual | House Blend | 11 | $19.50 | =E12*F12 | $214.50 |
| HL-1012 | Sep 16 | Harborview Hotel | Espresso Roast | 18 | $24.00 | =E13*F13 | $432.00 |
| HL-1013 | Sep 17 | Dockside Café | Decaf Colombia | 6 | $22.00 | =E14*F14 | $132.00 |
| HL-1014 | Sep 18 | Northside Bakery | Ethiopia Origin | 7 | $28.00 | =E15*F15 | $196.00 |
| Total amount | =SUM(G2:G15) | $3,109.00 | |||||
| Average order | =AVERAGE(G2:G15) | $222.07 | |||||
| No customer | =COUNTBLANK(C2:C15) | 2 |
The order log totals $3,109.00 from 14 orders and 139 kg of coffee, an average of $222.07 per order. Two orders, HL-1005 and HL-1010, have no customer name. Together they are worth $279.00, about 9% of the month. That is exactly the kind of gap you want to catch before you share the sheet, because once someone builds a revenue-per-customer report, those $279 simply disappear from every customer's figure.
Notice how the calculated column works. You type =E2*F2 once in G2. When you copy it down, the row numbers adjust automatically: G3 becomes =E3*F3, G15 becomes =E15*F15. These are relative references, and they are the reason one formula can serve a list of any length. The lab also accepts the total and average written in one step with =SUMPRODUCT(E2:E15,F2:F15), which multiplies the two columns row by row and adds the results, but the helper column is easier to read and check.
Step by step: make the order log sharing-ready in Google Sheets
- Check the header row. Row 1 should hold one short name per column (Order, Date, Customer, Product, Kg, Price/kg, Amount) and nothing above it. Delete merged title rows. Put the sheet title in the file name or the tab name instead.
- Freeze the header: View > Freeze > 1 row. Now the column names stay visible while you scroll through hundreds of orders.
- In G2 type
=E2*F2and press Enter. Click G2 again and double-click the small blue square at its bottom-right corner (the fill handle). Sheets copies the formula down to the last row of data next to it. Alternatively select G2:G15 and press Ctrl+D (Mac: Cmd+D) to fill down. - Format the money columns: select F2:G17 and choose Format > Number > Currency, or press Ctrl+Shift+4.
- Below the data, add the labels Total amount, Average order and No customer in D16:D18, and the formulas
=SUM(G2:G15),=AVERAGE(G2:G15)and=COUNTBLANK(C2:C15)in G16:G18. - Make blanks visible: select C2:C15, open Format > Conditional formatting, choose the rule Is empty and a light red fill. Every missing customer now lights up.
- Clean stray spaces and duplicates: Data > Data cleanup > Trim whitespace removes leading and trailing spaces, and Data > Data cleanup > Remove duplicates finds rows entered twice.
- Protect the formulas: select G2:G18, choose Data > Protect sheets and ranges, give the range a name such as Amounts and restrict who can edit it. Editors can still add orders, but they cannot overwrite the calculation by accident.
- Share: click Share at the top right, add your colleagues and choose the right role for each one (see the next section).
- Tell people how to filter without disturbing others: Data > Filter views > Create new filter view. A filter view is personal. A normal filter changes the view for everybody.
=ARRAYFORMULA(E2:E15*F2:F15) in G2 calculates all 14 amounts at once. In Excel 365, =E2:E15*F2:F15 spills the same way without a wrapper. The lab uses the classic copied formula because it works everywhere.Sharing roles and protection, explained simply
Google Sheets offers three roles when you share a file. Viewers can read but not change anything. Commenters can read and add comments, which is ideal for a manager who reviews the numbers. Editors can change cells, add rows and share the file further unless the owner turns that off in the sharing settings. Give Editor rights only to the people who actually maintain the data.
Protection works on top of the roles. A protected range can be edited only by the people you choose, even if everyone else is an Editor. The typical setup for a shared log is: data columns open to the team, formula columns and lookup tables protected, and a short note in the header row of each protected column. If something still goes wrong, File > Version history > See version history shows who changed what and lets you restore an earlier version. Excel for the web has the same idea under File > Info > Version History.

Common mistakes and how to spot them
- Adding instead of multiplying.
=E2+F2gives 31.5 for the first order instead of $234. Spot it: amounts that are tiny compared with the kilograms and prices are a sign of the wrong operator. - Summing the wrong column.
=SUM(E2:E15)returns 139, the total kilograms, not the revenue. Spot it: the total has no currency format and is far too small. - Averaging the prices.
=AVERAGE(F2:F15)gives the average price per kg (about $23), not the average order. Spot it: ask yourself whether the result is "per order" or "per kilogram". - Counting filled instead of empty cells.
=COUNTA(C2:C15)returns 12, the orders that have a customer. You need COUNTBLANK for the missing ones. - Blanks that are not blank. A cell with a single space looks empty, but COUNTBLANK does not count it. Spot it: click the cell and look at the formula bar, or run Trim whitespace first.
- Totals inside the data. A subtotal row in the middle of the log is counted again by every SUM over the column. Spot it: the column total is larger than the sum of the orders, often by an obviously round "week" figure.
- Numbers stored as text. "12 kg" or a price pasted with a currency word in it. Spot it: the value is left-aligned and is ignored by SUM.
Quick reference: functions and shortcuts used in this lesson
All functions below work the same way in Google Sheets and in Excel. Menu paths are for Google Sheets.
| Function / shortcut | What it does | Example from the lab |
|---|---|---|
=E2*F2 | Multiplies two cells, copied down as a calculated column | G2 → $234.00 |
SUM(range) | Adds the numbers in a range | =SUM(G2:G15) → $3,109.00 |
AVERAGE(range) | Arithmetic mean of the numbers | =AVERAGE(G2:G15) → $222.07 |
COUNTBLANK(range) | Counts empty cells | =COUNTBLANK(C2:C15) → 2 |
COUNTA(range) | Counts non-empty cells | =COUNTA(C2:C15) → 12 |
SUMPRODUCT(a,b) | Multiplies two ranges row by row and adds | =SUMPRODUCT(E2:E15,F2:F15) → $3,109.00 |
ARRAYFORMULA(...) | Sheets only: one formula for a whole column | =ARRAYFORMULA(E2:E15*F2:F15) |
| Ctrl+D (Mac Cmd+D) | Fill down the selection | G2:G15 |
| Ctrl+Shift+4 | Currency format | F2:G17 |
| View > Freeze > 1 row | Keep the header visible | Row 1 |
| Data > Protect sheets and ranges | Lock formulas against edits | G2:G18 |
Real-world uses
- Order and invoice logs shared between sales and accounting, with a calculated amount column and a blank check before month-end.
- Stock lists in a shop or warehouse, where several people record goods in and out and nobody may overwrite the reorder formulas.
- Event or class registrations collected by a team, where COUNTBLANK shows at once how many people still lack an email address or a payment date.
- Expense sheets for a project team: one expense per row, amounts as numbers, totals below, and the finance lead as Commenter.
- Data handed to a dashboard or pivot table. A tidy source table is what makes the report in lesson 7 of this course possible.
What you will build in the rest of this course
All 20 labs use Harbor Lane Coffee Co., so each skill builds on data you already know. This first lab is free; the other 19 are part of the full course.
SUMIFS and COUNTIFS Reports (and QUERY in Sheets). You build a channel by month revenue report for Q3, count the orders per channel and chart the result. This is the step from a list to a real report.
Lookups: VLOOKUP, XLOOKUP and INDEX/MATCH (plus IMPORTRANGE). You complete an order sheet by pulling product names, prices and customer discounts from two reference tables, and you handle an unknown SKU gracefully instead of showing an error.
Text and Dates: Clean Names, Build IDs and Due Dates. You clean customer names typed by different colleagues, build readable invoice IDs and calculate due dates and working days, the everyday fixes every shared sheet needs.
Data Validation Logic: Checking Form Responses with Formulas. You check orders that arrived through an online form: is the email plausible, is the quantity a whole number of kilos within the limits, and is the delivery date inside the allowed window?
Conditional Formatting for a Shared Inventory Sheet. You calculate how many days the green-coffee stock lasts, flag what to reorder and colour the flags, so nobody on the team misses a low stock level.
A One-Page KPI Dashboard with a Chart. You build the half-year dashboard for the team meeting: gross margin per month, the best month, the average order value and a combo chart.
Team Task Tracker: Status Counts and Overdue Items. You turn a task list into a tracker with an overdue flag, counts per status, the number of overdue tasks and the share of tasks done.
Summary
A sharing-ready table follows a few strict rules: one header row, one record per row, one kind of value per column, consistent spelling, and totals and checks outside the data. A calculated column such as =E2*F2 is written once and copied down. SUM and AVERAGE give the total and the average order, and COUNTBLANK tells you how many records are incomplete before anyone builds a report on them. Add the right sharing roles, protect the formula columns and use filter views, and five people can work in one sheet without breaking it.
Now scroll up to the lab and make Harbor Lane's September log sharing-ready yourself: the amount column, the total, the average order and the blank-customer check. The Coach checks every cell as you type and explains the typical mistakes. It takes about fifteen minutes, and the same four formulas will be useful in almost every shared sheet you touch.
Frequently asked questions
What is a tidy table in Google Sheets?
A tidy table has one header row, one record per row and one kind of value per column, with no blank rows or subtotals inside the data. Filters, pivot tables, charts and formulas such as SUMIFS all expect this shape.
How do I count empty cells in Google Sheets?
Use =COUNTBLANK(range), for example =COUNTBLANK(C2:C15). Cells that contain only a space are not counted, so trim whitespace first if the count looks too low.
How do I copy a formula down a whole column in Google Sheets?
Type the formula in the first row, then double-click the small blue square at the bottom-right of the cell, or select the range and press Ctrl+D. ARRAYFORMULA is an alternative that fills a whole column from one cell.
Do Excel formulas work in Google Sheets?
Most common functions, including SUM, AVERAGE, COUNTBLANK, SUMIFS, XLOOKUP and INDEX/MATCH, work the same way in both. Google Sheets adds a few of its own, such as QUERY, ARRAYFORMULA and IMPORTRANGE.
What is the difference between Viewer, Commenter and Editor in Google Sheets?
Viewers can only read, Commenters can read and add comments, and Editors can change the content. Give Editor access only to people who maintain the data.
How do I stop people from overwriting formulas in a shared sheet?
Select the formula range and use Data > Protect sheets and ranges to choose who may edit it. Other editors can still add data in the unprotected columns.
Keep going: Google Sheets for Business
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time CHF 9.90.
- SUMIFS and COUNTIFS Reports (and QUERY in Sheets)
- Lookups: VLOOKUP, XLOOKUP and INDEX/MATCH (plus IMPORTRANGE)
- Text and Dates: Clean Names, Build IDs and Due Dates
- Data Validation Logic: Checking Form Responses with Formulas
- Conditional Formatting for a Shared Inventory Sheet
- A One-Page KPI Dashboard with a Chart
- Team Task Tracker: Status Counts and Overdue Items
- Live Lists with FILTER, UNIQUE and SORT
- Conditional Averages, Highs and Lows: AVERAGEIFS, MAXIFS and MINIFS
- Duplicate Form Responses: Matching Keys, Running Counts and Highlighted Repeats
- Monthly and Weekday Reporting with EOMONTH and WEEKDAY
- Volume Discounts and Shipping Bands: Approximate-Match Lookups
- Budget vs Actual: Variance %, Review Flags and Highlighted Overspends
- Receivables Aging: Days Overdue, Buckets and an Aging Chart
- Weekly Sales Trend: Running Total, Week-over-Week Change and a 4-Week Average
- Updating a Price List: Percentage Increase, Price Points and Margin Checks
- Team Timesheet: Hours from Clock Times, Overtime and Billable Share
- Customer Concentration: Revenue Shares, Cumulative % and a Pareto Chart
- Capstone Project: Q4 Channel Dashboard for the Shared Sheet