Excel Functions Tutorials
- Excel Tips
- Excel vs Access
- Excel Rows vs Columns
- Apple Numbers vs Excel
- 3D Reference in Excel
- Absolute Reference in Excel
- Mixed References in Excel
- Excel Reference to Another Sheet
- Array Formulas in Excel
- Arrays in Excel VBA
- Auto Numbering in Excel
- AutoFit in Excel
- AutoCorrect in Excel
- AutoSave in Excel
- AutoRecover in Excel
- Bullet Points in Excel
- Break Links in Excel
- Barcode in Excel
- Change Case in Excel
- CAGR Formula in Excel
- Calculate Age in Excel
- Calculate Percentage in Excel Formula
- Cell Reference in Excel
- Checklist in Excel
- Circular Reference in Excel
- Column Sort in Excel
- Column Lock in Excel
- Move Columns in Excel
- Custom List in Excel
- Consolidate in Excel
- Combine Cells in Excel
- Compare Two Columns in Excel
- Compare and Match Columns in Excel
- Compound Interest Formula in Excel
- Convert Columns to Rows in Excel
- Convert Date to Text in Excel
- Convert Numbers to Text in Excel
- Convert Text to Numbers in Excel
- Convert Excel to CSV
- Count Characters in Excel
- Count Rows in Excel
- Count Unique Values in Excel
- Countif not Blank in Excel
- Create Templates in Excel
- Family Tree in Excel Template
- Custom Number Format in Excel
- Delete Row Shortcut in Excel
- Divide in Excel Formula
- Drop Down List in Excel
- Dynamic Tables in Excel
- Dashboard in Excel
- KPI Dashboard in Excel
- Date to Text in Excel
- Date Format in Excel
- Database in Excel
- Delta Symbol in Excel
- $ Symbol in Excel
- Excel Column to Number
- Edit Drop-Down List in Excel
- Equations in Excel
- Exponents in Excel
- Excel Extensions
- Excel Translate
- Excel Not Responding
- Excel Find and Replace
- Find and Select in Excel
- Excel Subtraction Formula
- Excel Formula for Grade
- Excel as Calculator
- Excel Formula Not Working (Updating)
- Excel Table Styles & Formats
- Excel vs Google Sheets
- External Links in Excel
- Excel Alternate Row Color
- Excel Worksheet Tab
- Extract Number from String Excel
- Evaluate Formula in Excel
- Find Duplicates in Excel
- Finding Links in Excel
- Filter Shortcut in Excel
- Formatting in Excel
- Format Numbers to Millions & Thousands in Excel
- Format Phone Numbers in Excel
- Formula Errors in Excel
- Fractions in Excel
- Frequency Distribution in Excel
- Group in Excel
- Group Worksheets in Excel
- Group Columns in Excel
- Hide Formula in Excel
- Hiding a Column in Excel
- Highlight Every Other Row in Excel
- Highlight Duplicates in Excel
- How to Create a Formula in Excel?
- How to Create an Excel Spreadsheet?
- How to Add Text in Excel Formula?
- How to Create Dashboard in Excel?
- How to Copy Sheet in Excel?
- How to Delete Pivot Table?
- How to Calculate Percentage Increase in Excel?
- How to Multiply in Excel Formula?
- How to Unhide Columns in Excel?
- Insert Date in Excel
- Insert Calendar in Excel
- Import Data into Excel
- Insert Comment in Excel
- Insert Hyperlinks in Excel
- Insert Multiple Rows in Excel
- Insert Row Shortcut in Excel
- Insert New Worksheet in Excel
- Insert (Embed) an Object in Excel
- Insert Image in Excel Cell
- Insert Page Break in Excel
- Line Breaks in Excel
- Linear Interpolation in Excel
- Leading Zeros in Excel
- Last Day of the Month in Excel
- Logical Operators in Excel
- Lookup Table in Excel
- Mortgage Calculator in Excel
- Moving Average in Excel
- Not Equal to in Excel
- Numbering in Excel
- Name Manager in Excel
- Page Numbers in Excel
- Page Break in Excel
- Personal Budget Template in Excel
- Project Management Template in Excel
- Percentage Difference in Excel (Increase / Decrease)
- Pivot Table Calculated Field & Formula
- Pivot Table Sort
- Pivot Table From Multiple Sheets
- Print Comments in Excel
- Print Excel Gridlines
- Print in Excel
- Print Preview in Excel
- Print Area in Excel
- Print Titles in Excel
- Print Labels From Excel
- Project Timeline in Excel
- Protect Sheet in Excel
- Ratio in Excel Formula
- Random Numbers in Excel
- Randomize List in Excel
- Refresh Pivot Table in Excel
- Relative References in Excel
- Remove Blank Rows in Excel
- Remove Duplicates in Excel
- Remove Duplicates from Excel Column
- Remove Hyperlinks in Excel
- Remove Space in Excel
- Remove Leading Spaces in Excel
- Remove Watermark in Excel
- Row Limit in Excel
- Rows and Columns in Excel
- Rows to Columns in Excel
- Row Header in Excel
- Search in Excel
- Search For Text in Excel
- Share an Excel Workbook
- Shortcut to Merge Cells in Excel
- Show Formula in Excel
- Split Cells in Excel
- Separate Text in Excel
- Strikethrough in Excel
- Strikethrough Text in Excel
- Sum by Color in Excel
- Subscript in Excel
- Superscript in Excel
- Themes in Excel
- Timesheet Calculator in Excel
- Top 20 Keyboard Shortcuts in Excel
- Unmerge Cells in Excel
- Uppercase in Excel
- Word Count in Excel
- Word Cloud in Excel
- Watermark in Excel
- Weighted Average in Excel
- Wildcard in Excel
- Financial Functions in Excel (17+)
- Logical Functions in Excel (15+)
- TEXT Functions in Excel (29+)
- Lookup Reference in Excel (44+)
- Maths Functions in Excel (52+)
- Date and Time Function in Excel (22+)
- Statistical Function in Excel (50+)
- Information Functions in Excel (5+)
- Excel Charts (48+)
- Excel Tools (98+)
- VBA (162+)
Group is a tool in excel with which we can group two or more rows or columns together, it helps to represent the group of rows or columns together, also it gives us an option of minimize and maximize the group, minimizing the group hides those rows or columns grouped together and maximizing shows the group, Group option is available in the data tab under the outline section.
Excel Group Data (Table of Contents)
Group Excel Data
In a worksheet, we see many lines of data and it is often difficult to see the entire report at a time. Sometimes data is a complex structure and it forces us to organize the data according to our needs. Fortunately, in excel we have many ways of consolidating the data precisely. In such cases, we need to group our rows and columns make the data readily readable and reduce the complexity of the data structure.
Grouping either rows or columns in excel makes the data easy to read and understand. We can expand to see the break-up and we can collapse at any point in time to see the actual data in a worksheet.
How to Group Data in Excel?
You must be wondering when you have to group your data and how to group in Excel. For this, I have created on simple example data in a worksheet.
Now let me tell you the data structure here. A country is same for some items and sometimes have same countries. Instead of seeing all the country names we can club all the countries into one and make the data very precise or else we can go one step ahead and group products as well and show very little data.
In this article, we will concentrate and grouping and ungrouping of data in an excel spreadsheet.
Example #1 – Create Auto Outline or Group Automatically
Step 1: Add subtotals to each country manually.
Step 2: Place a cursor inside the data and click on the DATA tab > Group > Auto Outline.
Step 3: As soon as you click on Auto Outline it will group all the range which is included in the country-wise total.
Click on those buttons to hide all the sub items involved in each country.
Now we can see only the consolidated summary of each country.
Example #2 – Auto Outline with Above Totals
In the previous method, each countries total was added at the end of each country and the auto outline was worked perfectly without any kind of trouble.
However, if the total is before each country Auto Outline does not work in a normal way, we need to tell the excel that total is above the subheading. I have added the total of each country above each country.
Step 1: Go to DATA > Outline > Click on the Outline dialogue box launcher.
Step 2: After you click on that arrow you will see below dialogue box. Uncheck the box Summary rows below detail.
Step 3: Click on Create to complete the process. Now it will group. Now we will see the group button at the top, not at the bottom.
Collapse & Expand
We can collapse and expand at any point in time. If you notice on the top left-hand side corner (just below the name box) we have two numbers
If you click on One (1) it will show only a summary.
If you click on Two (2) it will expand and show breakup.
Example #3 – Group Manually in Excel
Above methods can quickly identify the excel formula cells and group automatically. If that method does not work we can group manually as well.
Step 1: Select the range of rows you want to group. For example, if you want to group the country CANADA then selects the full range.
Step 2: Go to DATA > Group. It will show the below dialogue box.
Since we are grouping Rows select Rows.
You can also type the excel shortcut key SHIFT + ALT + RIGHT ARROW (hold Shift & Alt key together and press Right Arrow). It will group instantly without any further prompts.
Step 3: Done. Grouping of rows is done.
It has grouped only the CANADA country. Repeat the same for other countries as well. You have select each country individually and group.
Example #4 – Group and Add Subtotal to the Data in Excel
In the previous examples, we have added subtotals manually. We can add subtotals automatically by following below steps.
Step 1: Remove all the manually added subtotals.
Step 2: Select the data and click on SUBTOTAL under DATA tab.
Step 3: You will see below dialogue box.
Step 4: Here we need to select on what basis we are adding the subtotals. I have selected Country as the base.
Under Use Function, I have selected the Sum. Since I want to take the totals I have selected SUM.
Under Add subtotal to I want to add Units Sold, Unit Price, Gross Sales, COGS, and Profit.
Step 5: Click on OK it will add the subtotals. It will group as well.
Things to Remember About Group in Excel
- When you are grouping manually it should not contain any hidden rows.
- Under SUBTOTAL we can add a variety of function like SUM, AVERAGE, MIN, MAX, and many other things.
- Clear Outline will remove all the grouping from the worksheet.
- SHIFT + ALT + RIGHT ARROW is the short cut key to group selected cells.
You can Download this Group and Subtotal Excel template here – Excel Group Template
This has been a guide to Group in Excel (Auto, Manual). Here we discuss how to group and ungroup data in excel along with examples and downloadable excel template. You may learn more about excel from the following articles –