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 the following article explaining Pivot Table in greater detail: Pivot Table in Google Sheets: Explained

Other tips and formulas related to rows and columns

If you don’t get the solution to your question in this article or you have further questions related to rows and columns, you may find the answers in the following articles.

Navigate to the articles below to learn how to fix rows and/or columns, or adjust the heights of rows or the widths of columns to have a better view of a table or a list more efficiently.

How to Freeze Rows and Columns in Google Sheets

How to Resize Column Width in Google Sheets

How to Resize Row Height in Google Sheets

Visit the pages below if you need to learn how to insert multiple rows or columns.

How to Insert Multiple Rows in Google Sheets

How to Insert Multiple Columns in Google Sheets

Check the following articles if you want to learn about how to group or ungroup rows or columns, or change the order of rows and columns.

How to Switch Two Columns and Rows in Google Sheets

Go to the following web pages if you need to learn how to switch rows and columns. You can do it by using a special paste or the TRANSPOSE function.

Switch Rows and Columns in Google Sheets: Explained

How to Use TRANSPOSE Function in Google Sheets

See these articles to learn how to show the row or column numbers of cells by formula.

COLUMN Function in Google Sheets: Explained

ROW Function in Google Sheets: Explained

You can learn about other Google Sheets formulas and tips that are not mentioned here on this page: LiveFlow‘s How to Guides

Analyze your live financial data in a snap

Are you learning this formula to visualize financial data, build a financial model, or conduct financial analysis? In that case, LiveFlow may help you automate manual workflows and update numbers in real-time. You can access various financial templates on our website, from the simple Income Statement to Multi-Currency Consolidated Financial Statement. You can also customize these templates as you want without breaking the automated data inflow.

To learn more about LiveFlow, book a demo.

Automate any custom financial dashboard in Google Sheets with LiveFlow

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:
Check Icon
Call us at +1 (415) 650-1711