Bird
Raised Fist0
Excelspreadsheet~15 mins

Grouping and outlining in Excel - Real Business Scenario

Choose your learning style10 modes available
Scenario Mode
👤 Your Role: You are a sales analyst at a retail company.
📋 Request: Your manager wants a clear summary report that groups sales data by region and then by product category. The report should allow expanding and collapsing details for easy review.
📊 Data: You have monthly sales data including Region, Product Category, Product Name, and Sales Amount for 12 records.
🎯 Deliverable: Create a grouped and outlined sales report in Excel that shows total sales by Region and within each Region by Product Category. The report should allow collapsing and expanding groups.
Progress0 / 5 steps
Sample Data
RegionProduct CategoryProduct NameSales Amount
NorthElectronicsTV500
NorthElectronicsRadio150
NorthFurnitureChair200
SouthElectronicsTV300
SouthFurnitureTable400
SouthFurnitureSofa600
EastElectronicsRadio250
EastFurnitureDesk350
EastFurnitureChair150
WestElectronicsTV400
WestElectronicsRadio100
WestFurnitureTable300
1
Step 1: Sort the data by Region first, then by Product Category to group similar items together.
Select all data rows, then go to Data tab > Sort. Sort by Region (A to Z), then by Product Category (A to Z).
Expected Result
Data rows are ordered so all North region rows come first, grouped by Electronics then Furniture, followed by South, East, and West regions similarly grouped.
2
Step 2: Insert subtotal rows to calculate total sales for each Product Category within each Region.
Select the data range, then go to Data tab > Subtotal. At each change in 'Product Category', use 'Sum' function on 'Sales Amount'. Check 'Replace current subtotals' and 'Summary below data'.
Expected Result
Subtotal rows appear after each Product Category showing sum of sales amounts for that category within the region.
3
Step 3: Add another level of subtotal to calculate total sales for each Region.
With the data still selected, go to Data tab > Subtotal again. At each change in 'Region', use 'Sum' on 'Sales Amount'. Uncheck 'Replace current subtotals' to keep previous subtotals.
Expected Result
Subtotal rows appear after each Region showing total sales for the entire region, above the product category subtotals.
4
Step 4: Use Excel's outline feature to collapse and expand groups by Region and Product Category.
On the left side of the worksheet, use the outline symbols (1, 2, 3) to collapse to show only Region totals (level 1), or expand to show Product Category totals and individual sales (levels 2 and 3).
Expected Result
You can collapse the data to see only Region totals or expand to see detailed sales by Product Category and individual products.
5
Step 5: Format subtotal rows to make them stand out.
Select subtotal rows, apply bold font and a light fill color for clarity.
Expected Result
Subtotal rows are visually distinct, making it easy to identify totals.
Final Result
Region: North
  Electronics
    TV .......... 500
    Radio ....... 150
  Electronics Total: 650
  Furniture
    Chair ...... 200
  Furniture Total: 200
North Total: 850

Region: South
  Electronics
    TV .......... 300
  Electronics Total: 300
  Furniture
    Table ...... 400
    Sofa ....... 600
  Furniture Total: 1000
South Total: 1300

Region: East
  Electronics
    Radio ...... 250
  Electronics Total: 250
  Furniture
    Desk ....... 350
    Chair ...... 150
  Furniture Total: 500
East Total: 750

Region: West
  Electronics
    TV .......... 400
    Radio ....... 100
  Electronics Total: 500
  Furniture
    Table ...... 300
  Furniture Total: 300
West Total: 800
✓South region has the highest total sales of 1300.
✓Furniture sales are generally higher than Electronics in most regions.
✓East region has the lowest total sales of 750.
Bonus Challenge

Create a PivotTable from the data to show the same grouped sales summary with interactive filtering.

Show Hint
Select the data, then go to Insert > PivotTable. Drag Region to Rows, Product Category below Region, and Sales Amount to Values. Use the PivotTable filters to explore data.

Practice

(1/5)
1. What is the main purpose of using Grouping in Excel spreadsheets?
easy
A. To create charts automatically
B. To change the font color of cells
C. To organize and hide or show parts of data easily
D. To sort data alphabetically

Solution

  1. Step 1: Understand grouping function

    Grouping in Excel is used to organize data by allowing users to hide or show rows or columns.
  2. Step 2: Compare options

    Options B, C, and D describe other Excel features unrelated to grouping.
  3. Final Answer:

    To organize and hide or show parts of data easily -> Option C
  4. Quick Check:

    Grouping = Organize and hide/show data [OK]
Hint: Grouping hides/shows data sections quickly [OK]
Common Mistakes:
  • Confusing grouping with sorting
  • Thinking grouping changes cell formatting
  • Assuming grouping creates charts
2. Which menu path correctly creates a group of rows in Excel?
easy
A. Home > Insert > Group
B. Data > Group > Group
C. Review > Protect Sheet > Group
D. View > Freeze Panes > Group

Solution

  1. Step 1: Recall grouping location

    Grouping is found under the Data tab in Excel, specifically Data > Group.
  2. Step 2: Check options

    Only Data > Group > Group correctly shows Data > Group > Group. Other options refer to unrelated menus.
  3. Final Answer:

    Data > Group > Group -> Option B
  4. Quick Check:

    Grouping menu = Data > Group [OK]
Hint: Use Data tab for grouping rows or columns [OK]
Common Mistakes:
  • Looking under Home tab
  • Confusing grouping with freezing panes
  • Trying to group under Review tab
3. Given rows 2 to 5 are grouped in Excel, what happens when you click the minus (-) button next to the row numbers?
medium
A. Rows 2 to 5 are hidden from view
B. Rows 2 to 5 are deleted
C. Rows 2 to 5 are copied to clipboard
D. Rows 2 to 5 are sorted alphabetically

Solution

  1. Step 1: Understand minus (-) button function

    The minus (-) button collapses the group, hiding the grouped rows from view.
  2. Step 2: Eliminate other options

    Deleting, copying, or sorting are unrelated to the group collapse action.
  3. Final Answer:

    Rows 2 to 5 are hidden from view -> Option A
  4. Quick Check:

    Minus button = Hide grouped rows [OK]
Hint: Minus button collapses and hides grouped rows [OK]
Common Mistakes:
  • Thinking rows are deleted
  • Assuming rows are copied
  • Confusing with sorting action
4. You tried to group columns but the Group option is greyed out. What is the most likely reason?
medium
A. You are in cell edit mode
B. You have not selected any cells
C. You have selected non-adjacent columns
D. The worksheet is protected

Solution

  1. Step 1: Identify cause of disabled Group option

    When a worksheet is protected, many editing features including grouping are disabled.
  2. Step 2: Check other options

    Non-adjacent columns or no selection usually allow grouping but may give warnings; cell edit mode disables many commands but protection is the main cause.
  3. Final Answer:

    The worksheet is protected -> Option D
  4. Quick Check:

    Protected sheet disables grouping [OK]
Hint: Check if sheet is protected to enable grouping [OK]
Common Mistakes:
  • Selecting non-adjacent columns
  • Not selecting cells
  • Editing a cell disables grouping temporarily
5. You have a sales report with monthly data in columns B to M. You want to create an outline to quickly collapse all months except the total in column N. Which steps correctly achieve this?
hard
A. Select columns B to M, then go to Data > Group > Group Columns
B. Select columns B to N, then go to Data > Sort > Group
C. Select columns B to M, then right-click and choose Hide
D. Select column N only, then go to Data > Group > Group Columns

Solution

  1. Step 1: Select the monthly data columns

    Columns B to M contain the months to group, so select these columns only.
  2. Step 2: Use Data > Group to create outline

    Go to Data tab, then Group > Group Columns to create the outline for these months.
  3. Step 3: Confirm total column remains visible

    Column N (total) is not grouped, so it stays visible when months are collapsed.
  4. Final Answer:

    Select columns B to M, then go to Data > Group > Group Columns -> Option A
  5. Quick Check:

    Group months only, exclude total column [OK]
Hint: Group only data columns, exclude total column [OK]
Common Mistakes:
  • Including total column in group
  • Using Sort instead of Group
  • Hiding columns instead of grouping
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard