0
0
Excelspreadsheet~15 mins

Grouping and outlining in Excel - Real Business Scenario

Choose your learning style9 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.