Arrow left
Back to product guides
Google Sheets Tips

How to Group Rows and Columns in Google Sheets

In this article, you will learn how to group and ungroup rows and columns in Google Sheets.

How to group columns and rows in Google Sheets

Without a keyboard and shortcut keys

  1. Select the columns you want to group.
  2. Right-click and choose “View more column actions”. Then -“Group column A-Z”.
  3. Now, you can collapse or open the grouped columns by clicking the “+” icon (for opening) or the “-” icon (for collapsing) near the column letters of the selected range.

The following screenshot shows how to group Column B to D.

How to group columns in Google Sheets

The same approach applies to grouping rows.

Do you want to know how to ungroup rows and columns? 

Here is a way to do it.

  1. Right-click the bar above the columns or next to the rows and choose “Remove group.” 
  2. If you want to ungroup rows or columns partially, select the number(s) or letter(s) of those row(s) or column(s), right-click, go to “View more column actions,” and choose “Ungroup row/column.”

The picture below shows the pop-up menu and “Remove group” command to delete a group of Columns B to D.

How to remove an entire group of columns in Google Sheets

In the following screenshot, we are trying to take Column C out from a group of Column B through D.

How to ungroup columns in Google Sheets

With a keyboard and shortcut keys

  1. First, go to the “Help” tab above the toolbar, click “Keyboard shortcuts,” and enable compatible spreadsheet shortcuts.
  2. To select a row (or a column), you need to press the Shift key (Ctrl for a column) and then hit the Space key while pushing the Shift key (or Ctrl key for a column). 
  3. Then, press Up Arrow or Down Arrow (Left or Right Arrow for columns) to adjust the range selection.
  4. For Windows, press Shift, Alt, and Right Arrow to group the selected rows or columns. For Mac, press “Option” instead of “Alt”.
  5. For Windows, press Shift, Alt, and Left Arrow to remove the selected group. Mac users, press “Option” instead of “Alt” again.
  6. If you want to ungroup the selected ranges (e.g., removing a mid-row from a group of three rows), choose one of the rows or columns that you want to take out (Shift and Space for a row, Ctrl + Space for a column).
  7. Adjust the range to ungroup with Arrow buttons, and press Shift, Alt (for Windows) or Option (for Mac), and Left Arrow.

At first, you may feel memorizing shortcuts is painful and may be unwilling to do it. However, once you get used to them, they allow you to work much more efficiently. We highly encourage you to learn shortcuts, especially for the particular actions you often do on Google Sheets. 

How do you split data into a group in Google Sheets?

You can use “Pivot Table” to split data into a group. Check out this article explaining Pivot Table in greater detail.

Learn how to do this step-by-step in the video below 👇

Do you need personal help?

Our team of real people are here to help you any time between 9am and 10pm GMT.
Check Icon
Email us at: founders@liveflow.io
Check Icon
Call us at +1 (415) 650-1711