Sub topic 2
Prepare a Clean Source Table
Assume you already know basic Google Sheets navigation, ranges, tabs, and simple formulas such as SUM. You should also be comfortable reading a table with one header row and many records.
A slicer is an on-sheet filter control. It can filter a data range by values or conditions, but it works reliably only when the source range has a consistent table structure. Prepare the source data before creating pivot tables, charts, or slicers.
Use one row for each record
Create a separate sheet named Data. Put field names in row 1. Put one sales record on each following row.
| Order ID | Order Date | Region | Category | Units | Revenue |
|---|---|---|---|---|---|
| 1001 | 2026-01-05 | West | Hardware | 3 | 450.00 |
| 1002 | 2026-01-09 | East | Software | 1 | 120.00 |
| 1003 | 2026-02-02 | East | Hardware | 2 | 300.00 |
Each column should contain one kind of value:
Order IDidentifies the order.Order Datecontains real date values.RegionandCategorycontain text labels.Unitscontains numbers.Revenuecontains numbers that can be summed.
Do not insert subtotals, section labels, or notes inside the table. Do not leave blank rows between records. A blank row can make a range appear to end early when you create a pivot table or slicer.
Keep headers and values consistent
Use a single header row with unique names. Avoid blank header cells and duplicate names such as two columns both called Value. Choose one spelling for each category. For example, use West consistently instead of mixing West, Western, and west.
Dates need special attention. A date that looks like 2026-01-05 might be stored as a date value or as text. Google Sheets can filter and group real dates by month or year, but text that only looks like a date may not behave correctly.
To check a date, select the cell and inspect the formula bar. You can also test it with:
=ISNUMBER(B2)If the result is TRUE, Sheets stores the date as a number, which is how spreadsheet dates work internally. If the result is FALSE, convert the imported text before building the dashboard.
Numbers should also be numeric. Do not type currency symbols or explanatory text directly into revenue cells. Format the column as currency instead. A value such as $450.00 can be numeric if entered or converted correctly, but "450 dollars" is text and cannot be summed reliably.
Use a stable source range
For a small, fixed dataset, you can select a range such as Data!A1:F1000 when creating summaries. Leave unused rows empty. For data that grows regularly, use a range that includes expected future rows or update the source range when new data arrives.
Avoid merged cells in the source table. Merged cells are useful for titles, but they interrupt the row-and-column structure that pivot tables and slicers expect. Freeze row 1 if the table is long, so the headers remain visible while you inspect records.
The following diagram shows the intended separation between source data and dashboard content.
Before continuing, test a few records. Sort or filter the table and confirm that dates, labels, units, and revenue behave as expected. Correcting inconsistent source values now prevents confusing results later.
Exercise
Why should a source table avoid blank rows, merged cells, and subtotal rows?
Show answer
They interrupt the rectangular record structure. Pivot tables, charts, and slicers may then read only part of the data or interpret labels and totals as records.