Grouping columns lets you collapse and expand them without deleting anything

Column grouping in Google Sheets lets you bundle related columns together so you can hide or show them all at once with a single click. This is useful when you have a spreadsheet with many columns — for example, monthly sales data where each month has three columns (revenue, costs, profit), or a budget sheet where each department has several columns of numbers.

When you group columns, Google Sheets adds a small minus sign above the grouped columns. Click that minus sign to collapse the group and hide those columns. Click the plus sign that appears to expand them again. The data stays in the spreadsheet; you are just hiding it from view temporarily.

Key Takeaways

  • Select the columns you want to group by clicking the column letter of the first column, then holding Shift and clicking the column letter of the last column.
  • Go to Data menu, then Group, then Group columns to create the group and see the collapse button appear above your columns.
  • Click the minus sign above the grouped columns to hide them, and click the plus sign to show them again.
  • You can create multiple separate groups in the same sheet, and you can also nest groups inside other groups for more complex layouts.
  • Grouping does not change your data or affect formulas — it only hides columns from view.

How to select and group columns step by step

Start by clicking the column letter of the first column you want to group. For example, if you want to group columns B, C, and D together, click the letter B at the top of the spreadsheet. The entire column B will turn blue to show it is selected.

Now hold down the Shift key on your keyboard and click the column letter of the last column in your group. If you are grouping B, C, and D, hold Shift and click D. All three columns (B, C, and D) should now be highlighted in blue. If you selected the wrong columns, click somewhere else to deselect and start over.

With your columns selected, go to the Data menu at the top of the sheet. Click it, and a dropdown menu will appear. Look for the option that says Group (not "Group rows" — that is for rows). Click Group, then click Group columns from the submenu that appears.

Google Sheets will now add a grouping control above your selected columns. You will see a small box with a minus sign (−) and a number showing how many columns are grouped. The columns are now grouped but still visible.

Collapsing and expanding your groups

To hide the grouped columns, click the minus sign (−) in the grouping control above your columns. The columns will disappear from view, and the minus sign will change to a plus sign (+). Your data is still there — it is just hidden.

To show the columns again, click the plus sign (+). The columns will reappear in their original position. You can collapse and expand groups as many times as you want without affecting the data inside them.

If you have multiple groups in the same sheet, each group has its own collapse button. You can hide one group while keeping another group visible, or hide all groups at once by clicking each minus sign separately.

Creating nested groups for complex spreadsheets

If your spreadsheet has a lot of columns, you can create groups within groups. For example, you might have a group for "Q1 Sales" that contains three smaller groups: one for January, one for February, and one for March. Each of those smaller groups might contain columns for revenue, costs, and profit.

To create nested groups, first create your smallest groups (like the January revenue, costs, and profit columns). Then select all the columns that make up a larger group (all the January, February, and March columns together) and group those as well. Google Sheets will show multiple levels of grouping controls, numbered 1, 2, 3, and so on from left to right.

Click the number buttons to collapse or expand entire levels at once. For example, clicking the "1" button collapses all groups to show only the outermost level. Clicking "2" expands one level deeper, and so on. This is helpful when you want to see only a summary view of your data.

Ungrouping columns when you no longer need the group

If you want to remove a group, select any column in that group and go to Data menu, then Group, then Ungroup columns. The grouping control will disappear, and all the columns will stay visible. Ungrouping does not delete anything — it just removes the collapse button.

If you have nested groups and ungroup the outer group, all the inner groups will also be removed. If you want to keep some inner groups but remove only the outer group, ungroup from the inside out, starting with the smallest groups first.

Common mistakes and how to avoid them

The most common mistake is selecting non-adjacent columns. You can only group columns that are next to each other. If you try to group column B, column D, and column F (skipping C and E), Google Sheets will not let you. Make sure the columns you want to group are touching each other, or rearrange your spreadsheet so they are.

Another mistake is confusing "Group columns" with "Group rows". The Data menu has both options. If you click "Group rows" by accident, you will group rows instead of columns. Just undo that action (Ctrl+Z on Windows, Cmd+Z on Mac) and try again with the correct option.

If your grouping control does not appear after you click "Group columns", make sure you actually selected multiple columns. You need at least two columns selected to create a group. A single column cannot be grouped.

When grouping helps and when it does not

Grouping works best when you have a clear structure to your data. For example, if each month has the same three columns (revenue, costs, profit), grouping by month makes sense. If your columns are scattered randomly or do not follow a pattern, grouping may not help much.

Grouping is also useful when you share a spreadsheet with others. You can set up groups so that when someone opens the sheet, certain columns are already hidden. This lets them focus on the most important data first and expand groups only when they need more detail.

However, grouping does not change how formulas work. If you have a formula that adds up all the values in a row, hiding some columns with grouping will not change the formula result. The hidden columns are still included in the calculation.

Frequently Asked Questions

Can I group columns that are not next to each other?

No. Google Sheets only lets you group columns that are adjacent — touching each other with no gaps. If you need to group non-adjacent columns, you will need to rearrange your spreadsheet first by moving columns around so the ones you want to group are next to each other.

If I hide columns with grouping, will they be hidden for everyone who views the sheet?

No. Grouping controls are personal to each person viewing the sheet. When you collapse a group, only your view changes. Other people who open the same sheet will see all columns expanded by default unless they collapse the groups themselves.

Can I delete a group without deleting the columns inside it?

Yes. Go to Data, then Group, then Ungroup columns. The grouping control will disappear, but all your columns and data will stay in the spreadsheet. Ungrouping only removes the collapse button, not the columns themselves.

What happens to groups if I insert a new column in the middle of a grouped set?

The new column will be added to the existing group automatically. If you insert a column between columns B and C, and B and C are grouped together, the new column becomes part of that same group. You can then ungroup and regroup if you want a different arrangement.

Can I group rows and columns at the same time?

Yes. You can create column groups and row groups in the same spreadsheet independently. Each works the same way — select what you want to group, go to Data, and choose Group columns or Group rows. The controls appear in different places (above columns, to the left of rows) so they do not interfere with each other.