How to Group Columns Next to Each Other in Excel (2 Easy Ways)

Method 1 – Use Keyboard Shortcuts to Group Excel Columns Next to Each Other

STEPS:

  • Insert a new column between Group 1 & Group 2.
  • Select the first column of Group 2.
  • In our case, Columns C & D from Group 1 and Columns E & F from Group 2.
  • We have selected Column E.

Use Keyboard Shortcuts to Group Excel Columns Next to Each Other

  • Right-click on Column E.
  • It will open the Context Menu.
  • Select Insert.

Use Keyboard Shortcuts to Group Excel Columns Next to Each Other

  • The dataset will look like the image below.

Use Keyboard Shortcuts to Group Excel Columns Next to Each Other

  • Select the first column of Group 1.
  • In our case, that is Column C (in the updated dataset after inserting a new column).

Use Keyboard Shortcuts to Group Excel Columns Next to Each Other

  • Press Alt + Shift + Right Arrow.
  • A negative () sign will appear.
  • Select Column D.
  • Press Alt + Shift + Right Arrow.

Use Keyboard Shortcuts to Group Excel Columns Next to Each Other

  • It will group Columns C & D.

Use Keyboard Shortcuts to Group Excel Columns Next to Each Other

  • You can press the negative () sign to hide the grouped columns.
  • Pressing the negative () sign, a plus (+) sign will appear.
  • You can unhide the grouped columns using the plus (+) sign.

Use Keyboard Shortcuts to Group Excel Columns Next to Each Other

  • Select Column F.

Use Keyboard Shortcuts to Group Excel Columns Next to Each Other

  • Press Alt + Shift + Right Arrow.
  • Select Column G.
  • Press the Alt + Shift + Right Arrow.

Use Keyboard Shortcuts to Group Excel Columns Next to Each Other

  • The columns are grouped as shown below.

Use Keyboard Shortcuts to Group Excel Columns Next to Each Other

  • Decrease the column width to show the groups next to each other.

Use Keyboard Shortcuts to Group Excel Columns Next to Each Other

Read More: How to Group Rows in Excel with Expand or Collapse


Method 2 – Group Columns Next to Each Other from Data Tab in Excel

STEPS:

  • Select Column E and rightclick.
  • It will open the Context Menu.
  • Select Insert.

Group Columns Next to Each Other from Data Tab in Excel

  • Select Cell C6 & D6.
  • We have selected these two cells because we want to group Columns C & D.
  • You can select any two adjacent cells from the columns.
  • For example, if you want to group Columns M, N and O, you can select Cells M1, N1 and O1 together.

Group Columns Next to Each Other from Data Tab in Excel

  • Go to the Data tab and select the Group icon.

Group Columns Next to Each Other from Data Tab in Excel

  • A message will pop up.
  • Select Columns and click on OK.

Group Columns Next to Each Other from Data Tab in Excel

  • Columns C & D will be grouped.

Group Columns Next to Each Other from Data Tab in Excel

  • Select Cell F6 & G6 to group Columns F & G.

  • Go to the Data tab and select Grouped.

  • Decrease the column width of Column E.


How to Ungroup Columns Next to Each Other in Excel

STEPS:

  • Select adjacent cells of the grouped columns.
  • We have selected Cell C6 and D6.

  • Click on the Data tab in the ribbon.
  • Select the Ungroup icon.

  • A message box will open.
  • Select Columns and click OK.
  • To ungroup rows, you need to select Rows.

  • Columns C & D will be ungrouped.
  • You can repeat the same steps to ungroup Columns F & G.

Read More: How to Group and Ungroup Columns or Rows in Excel


Things to Remember

  • In Microsoft Excel, you can’t create two separate groups right next to each other. It is a limitation of Excel.
  • You need to press the Alt + Shift + Right Arrow every time you want to add a column to the existing group.
  • In Method-2, don’t use the Ctrl key to select multiple columns at a time. Instead, use the mouse to select adjacent cells of the desired columns.

Download Practice Book


Related Articles

<< Go Back to Group Cells in Excel | Outline in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Mursalin Ibne Salehin
Mursalin Ibne Salehin

Mursalin Ibne Salehin holds a BSc in Electrical and Electronics Engineering from Bangladesh University of Engineering and Technology. Over the past 2 years, he has actively contributed to the ExcelDemy project, where he authored over 150 articles. He has also led a team with content development works. Currently, he is working as a Reviewer in the ExcelDemy Project. He likes using and learning about Microsoft Office, especially Excel. He is interested in data analysis with Excel, machine learning,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo