Help a small business owner quickly see monthly sales totals and hide details when not needed.
Row and column grouping in Google Sheets - Dashboard Guide
| Month | Product A | Product B | Product C | Total Sales |
|---|---|---|---|---|
| January | 120 | 80 | 100 | =SUM(B2:D2) |
| February | 150 | 90 | 110 | =SUM(B3:D3) |
| March | 130 | 85 | 105 | =SUM(B4:D4) |
| April | 140 | 95 | 115 | =SUM(B5:D5) |
| May | 160 | 100 | 120 | =SUM(B6:D6) |
- Sales Data Table: Shows monthly sales for each product and total sales. Formulas in column E calculate total sales per month using
=SUM(B2:D2)and so on. - Row Grouping: Group rows 2 to 6 (January to May) so the user can collapse or expand all months at once to hide or show details.
- Column Grouping: Group columns B to D (Product A, B, C) so the user can collapse or expand product details and only see total sales if desired.
- Monthly Total Sales Chart: A simple bar chart showing total sales per month (data from column E).
+----------------------------+ | Sales Data Table | | +------------------------+ | | | Month | Prod A | Prod B | | | | | Prod C | Total | | | +------------------------+ | | | | [Row Group: Months 2-6] | | [Col Group: B-D Products] | | | | Monthly Total Sales Chart | +----------------------------+
The user can click the small plus/minus icons next to the row numbers to collapse or expand all monthly rows (January to May). This hides or shows the detailed sales per product.
Similarly, the user can click the plus/minus icons above columns B to D to collapse or expand product columns. When collapsed, only the Month and Total Sales columns remain visible.
The chart updates automatically to reflect the visible data.
Try collapsing the product columns (B to D). Which columns remain visible? What happens to the total sales column?
Try collapsing the monthly rows (2 to 6). What happens to the sales data table? Does the chart still show monthly totals?
Practice
Solution
Step 1: Understand grouping function
Grouping in Google Sheets is used to organize rows or columns so you can hide or show them quickly.Step 2: Identify the main purpose
The main purpose is to make large data easier to manage by collapsing or expanding related rows or columns.Final Answer:
To hide or show related rows or columns easily -> Option CQuick Check:
Grouping = Hide/Show rows or columns [OK]
- Thinking grouping changes cell colors
- Confusing grouping with sorting
- Assuming grouping creates charts
Solution
Step 1: Identify grouping method
To group columns, you select the columns you want to group first.Step 2: Use the Data menu
Then use the Data menu and choose Group columns to create the group.Final Answer:
Select columns, then go to Data > Group columns -> Option AQuick Check:
Data > Group columns = Correct grouping method [OK]
- Pressing Ctrl + C copies instead of grouping
- Deleting columns instead of grouping
- Trying to insert charts to group
Solution
Step 1: Understand the minus sign function
The minus (-) sign on a group collapses the group, hiding the grouped rows.Step 2: Identify the effect on rows 5 to 8
Clicking minus hides rows 5 to 8 from view but does not delete or move them.Final Answer:
Rows 5 to 8 are hidden from view -> Option BQuick Check:
Minus sign = Hide grouped rows [OK]
- Thinking rows get deleted
- Assuming rows are copied elsewhere
- Confusing hiding with sorting
Solution
Step 1: Check selection of columns
The group option is only active when you select the columns you want to group.Step 2: Understand why option is greyed out
If the option is greyed out, it usually means no columns or incorrect columns are selected.Final Answer:
You have not selected the columns properly -> Option AQuick Check:
Proper selection = Group option enabled [OK]
- Thinking grouping is not for columns
- Trying to delete columns to group
- Inserting charts before grouping
Solution
Step 1: Understand nested grouping
Google Sheets allows nested groups by grouping a larger range that includes smaller groups.Step 2: Apply grouping to rows 2 to 10
Select rows 2 to 10 and group them again to create a bigger group that contains the smaller ones.Final Answer:
Select rows 2 to 10 and group them again to create a nested group -> Option DQuick Check:
Nested groups = Group bigger range [OK]
- Deleting smaller groups unnecessarily
- Confusing filters with grouping
- Believing nested groups are not possible
Ready to prove it?
Pass the test and this pattern moves unknown
