0
0
Google Sheetsspreadsheet~10 mins

Row and column grouping in Google Sheets - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This table shows students' names and their scores in three subjects: Math, Science, and History.

CellValue
A1Name
B1Math
C1Science
D1History
A2Alice
B285
C290
D288
A3Bob
B378
C382
D380
A4Charlie
B492
C488
D491
Formula Trace
No formula used; this example demonstrates grouping rows 2 to 4 and columns B to D.
Step 1: Select rows 2 to 4
Step 2: Apply row grouping to selected rows
Step 3: Select columns B to D
Step 4: Apply column grouping to selected columns
Cell Reference Map
    A      B      C      D
1 | Name | Math | Science | History |
2 | Alice|  85  |   90    |   88    |
3 | Bob  |  78  |   82    |   80    |
4 |Charlie| 92  |   88    |   91    |

Rows 2-4 grouped (student data)
Columns B-D grouped (subject scores)
Rows 2 to 4 and columns B to D are selected and grouped to allow collapsing or expanding these data sections.
Result
    A      B      C      D
1 | Name | Math | Science | History |
  +-----------------------------+
  | (grouped rows 2-4 collapsed) |
  +-----------------------------+

Columns B-D can be collapsed to hide scores, showing only names.
The grouped rows 2 to 4 can be collapsed to hide all student data rows. Similarly, grouped columns B to D can be collapsed to hide all subject scores, leaving only the names visible.
Sheet Trace Quiz - 3 Questions
Test your understanding
What happens when you collapse the grouped rows 2 to 4?
AColumns B to D are hidden
BRows 2 to 4 are hidden from view
COnly row 2 is hidden
DNothing changes
Key Result
Row and column grouping does not use formulas; it groups selected rows or columns to collapse or expand them.