Tabellab

Sharing-Ready Tables: Tidy Data, Totals and Checks

Lesson 1 of 20Lab

All lessons

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — $9.90
Read first

Sharing a sheet without breaking it

  • Share (top right) gives people one of three roles: Viewer, Commenter or Editor. Give Editor rights only to people who maintain the data.
  • Data > Protect sheets and ranges locks formula columns and lookup tables, so an editor cannot overwrite them by accident.
  • View > Freeze > 1 row keeps the header visible while you scroll. A tidy header row is what filters, pivot tables and charts read.
  • Data > Create a filter view lets each person filter without changing what everyone else sees. A normal filter changes the view for all users.
  • File > Version history shows who changed what and lets you restore an older version. Excel for the web has the same idea under File > Info > Version history.

Tidy table checklist

  • One header row with short, unique names.
  • One record (order) per row, no empty rows, no subtotals in between.
  • Numbers stored as numbers (right-aligned), dates as real dates.
  • Totals and checks below or beside the table, never inside it.
Loading the spreadsheet…

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.

Messy (hard to share)SEPTEMBER ORDERS (merged title)Order | Customer | Kg | AmountHL-1001 | Dockside Café | 12 kg | 234HL-1002 | Northside | 8 kg | 192Subtotal week 1 | | | 426HL-1005 | ??? | 10 kg | 195HL-1006 | dockside cafe | 15 | 360title row and blank row break filterssubtotal inside the data counts twice"12 kg" is text, not a numberTidy (ready to share)Order | Customer | Kg | Price/kg | AmountHL-1001 | Dockside Café | 12 | 19.50 | 234HL-1002 | Northside Bakery | 8 | 24 | 192HL-1003 | Green Bean Bistro | 5 | 22 | 110... one order per row ...HL-1014 | Northside Bakery | 7 | 28 | 196Total amount (below the data) 3,109No customer =COUNTBLANK 2one header row, names spelled the samekg and prices stored as numberstotals and checks below the table
The same orders twice. On the left, a title row, a blank row, a subtotal and "12 kg" typed as text all break formulas, filters and pivot tables. On the right, the tidy version: one header, one order per row, numbers stored as numbers and the totals below.

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.

OrderDateCustomerProductKgPrice/kgFormula in GAmount
HL-1001Sep 1Dockside CaféHouse Blend12$19.50=E2*F2$234.00
HL-1002Sep 2Northside BakeryEspresso Roast8$24.00=E3*F3$192.00
HL-1003Sep 3Green Bean BistroDecaf Colombia5$22.00=E4*F4$110.00
HL-1004Sep 4Morning RitualEthiopia Origin6$28.00=E5*F5$168.00
HL-1005Sep 7(blank)House Blend10$19.50=E6*F6$195.00
HL-1006Sep 8Dockside CaféEspresso Roast15$24.00=E7*F7$360.00
HL-1007Sep 9Harborview HotelHouse Blend25$19.50=E8*F8$487.50
HL-1008Sep 10Northside BakeryDecaf Colombia4$22.00=E9*F9$88.00
HL-1009Sep 11Green Bean BistroEspresso Roast9$24.00=E10*F10$216.00
HL-1010Sep 14(blank)Ethiopia Origin3$28.00=E11*F11$84.00
HL-1011Sep 15Morning RitualHouse Blend11$19.50=E12*F12$214.50
HL-1012Sep 16Harborview HotelEspresso Roast18$24.00=E13*F13$432.00
HL-1013Sep 17Dockside CaféDecaf Colombia6$22.00=E14*F14$132.00
HL-1014Sep 18Northside BakeryEthiopia Origin7$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.

September revenue by product (orders HL-1001 to HL-1014)$0$200$400$600$800$1,000$1,200$1,400Espresso Roast$1,200House Blend$1,131Ethiopia Origin$448Decaf Colombia$330
Once the amounts are calculated, a tidy table can answer new questions in seconds. Espresso Roast and House Blend bring in about three quarters of September's revenue. You will build reports like this with SUMIFS in the next lesson.

Step by step: make the order log sharing-ready in Google Sheets

  1. 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.
  2. Freeze the header: View > Freeze > 1 row. Now the column names stay visible while you scroll through hundreds of orders.
  3. In G2 type =E2*F2 and 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.
  4. Format the money columns: select F2:G17 and choose Format > Number > Currency, or press Ctrl+Shift+4.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. Share: click Share at the top right, add your colleagues and choose the right role for each one (see the next section).
  10. 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.
In Google Sheets you can also fill a whole column with one formula: =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.

Revenue by customer: $279 has no owner yet$0$200$400$600$800$1,000Harborview$919.50Dockside$726Northside$476Morning R.$382.50Green Bean$326(blank)$279
Revenue by customer. The peach bar is the problem the COUNTBLANK check finds: $279 of September orders cannot be assigned to anyone until the two missing names are filled in.

Illustration for the Google Sheets for Business course: a shared spreadsheet with tables, checks and a chart
The course works through one company's shared sheets, from a tidy order log to reports, lookups, validation and a team tracker.

Common mistakes and how to spot them

  • Adding instead of multiplying. =E2+F2 gives 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 / shortcutWhat it doesExample from the lab
=E2*F2Multiplies two cells, copied down as a calculated columnG2 → $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 selectionG2:G15
Ctrl+Shift+4Currency formatF2:G17
View > Freeze > 1 rowKeep the header visibleRow 1
Data > Protect sheets and rangesLock formulas against editsG2: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 $9.90.

  1. SUMIFS and COUNTIFS Reports (and QUERY in Sheets)
  2. Lookups: VLOOKUP, XLOOKUP and INDEX/MATCH (plus IMPORTRANGE)
  3. Text and Dates: Clean Names, Build IDs and Due Dates
  4. Data Validation Logic: Checking Form Responses with Formulas
  5. Conditional Formatting for a Shared Inventory Sheet
  6. A One-Page KPI Dashboard with a Chart
  7. Team Task Tracker: Status Counts and Overdue Items
  8. Live Lists with FILTER, UNIQUE and SORT
  9. Conditional Averages, Highs and Lows: AVERAGEIFS, MAXIFS and MINIFS
  10. Duplicate Form Responses: Matching Keys, Running Counts and Highlighted Repeats
  11. Monthly and Weekday Reporting with EOMONTH and WEEKDAY
  12. Volume Discounts and Shipping Bands: Approximate-Match Lookups
  13. Budget vs Actual: Variance %, Review Flags and Highlighted Overspends
  14. Receivables Aging: Days Overdue, Buckets and an Aging Chart
  15. Weekly Sales Trend: Running Total, Week-over-Week Change and a 4-Week Average
  16. Updating a Price List: Percentage Increase, Price Points and Margin Checks
  17. Team Timesheet: Hours from Clock Times, Overtime and Billable Share
  18. Customer Concentration: Revenue Shares, Cumulative % and a Pareto Chart
  19. Capstone Project: Q4 Channel Dashboard for the Shared Sheet

Buy course — $9.90 See the full course