Bird
Raised Fist0
Excelspreadsheet~20 mins

Treemap and sunburst in Excel - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Treemap and Sunburst Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
Calculate total sales for a category in a Treemap data set
You have a table with product categories and their sales amounts. Which formula correctly sums sales for the category "Electronics" to prepare data for a Treemap chart?
Excel
Category | Sales
Electronics | 1200
Furniture | 800
Electronics | 1500
Clothing | 600
Furniture | 700
A=SUMIF(A2:A6, "Electronics", B2:B6)
B=SUM(A2:A6="Electronics", B2:B6)
C=COUNTIF(A2:A6, "Electronics")
D=SUMIFS(B2:B6, A2:A6, "Furniture")
Attempts:
2 left
💡 Hint
Use a function that sums values based on a condition matching the category name.
❓ Function Choice
intermediate
2:00remaining
Choose the best function to prepare data for a Sunburst chart
You want to create a Sunburst chart showing sales by Region and then by Country. Which function helps you summarize sales by both Region and Country?
Excel
Region | Country | Sales
North America | USA | 2000
North America | Canada | 1500
Europe | Germany | 1800
Europe | France | 1600
AVLOOKUP
BSUMIFS
CCOUNTIF
DLEFT
Attempts:
2 left
💡 Hint
You need to sum sales based on multiple criteria (Region and Country).
🎯 Scenario
advanced
2:00remaining
Identify the cause of incorrect Sunburst chart levels
You created a Sunburst chart with data showing sales by Department, Category, and Subcategory. The chart shows missing segments for some Subcategories. What is the most likely reason?
AThe data table has duplicate Department names
BThe Sales column contains text instead of numbers
CSome Subcategory cells are blank or contain errors
DThe chart type was set to Treemap instead of Sunburst
Attempts:
2 left
💡 Hint
Sunburst charts require complete hierarchical data without blanks in levels.
❓ data_analysis
advanced
2:00remaining
Determine the number of segments in a Treemap chart
Given this data for a Treemap chart showing sales by Region and Product, how many segments will the Treemap display?
Excel
Region | Product | Sales
East | Chair | 500
East | Table | 700
West | Chair | 600
West | Desk | 400
West | Table | 300
A4 segments
B3 segments
C2 segments
D5 segments
Attempts:
2 left
💡 Hint
Count unique combinations of Region and Product for segments.
🧠 Conceptual
expert
2:00remaining
Understand the difference between Treemap and Sunburst charts
Which statement best describes the key difference between Treemap and Sunburst charts in Excel?
ATreemap uses nested rectangles to show hierarchy; Sunburst uses concentric rings
BTreemap requires numeric data; Sunburst only works with text data
CTreemap shows data over time; Sunburst shows data by location
DTreemap is for flat data; Sunburst cannot show hierarchical data
Attempts:
2 left
💡 Hint
Think about how each chart visually represents hierarchical data.

Practice

(1/5)
1. What is the main purpose of a treemap or sunburst chart in Excel?
easy
A. To show parts of a whole with nested groups
B. To create a simple line graph
C. To calculate sums automatically
D. To sort data alphabetically

Solution

  1. Step 1: Understand chart types

    Treemap and sunburst charts visualize hierarchical data by showing parts of a whole with nested groups.
  2. Step 2: Compare with other chart types

    Line graphs show trends over time, sums are calculated by formulas, and sorting is a data operation, not chart purpose.
  3. Final Answer:

    To show parts of a whole with nested groups -> Option A
  4. Quick Check:

    Treemap/sunburst = parts of whole [OK]
Hint: Remember: treemap shows nested parts visually [OK]
Common Mistakes:
  • Confusing treemap with line or bar charts
  • Thinking treemap calculates data
  • Assuming treemap sorts data
2. Which Excel menu path do you use to insert a treemap or sunburst chart?
easy
A. Formulas > Function Library > Math & Trig
B. Insert > Charts > Hierarchy Chart
C. Data > Sort & Filter > Filter
D. Review > Comments > New Comment

Solution

  1. Step 1: Locate chart insertion

    Treemap and sunburst charts are found under Insert tab, then Charts group, specifically Hierarchy Chart.
  2. Step 2: Eliminate unrelated menus

    Data menu is for sorting/filtering, Formulas for functions, Review for comments, none for charts.
  3. Final Answer:

    Insert > Charts > Hierarchy Chart -> Option B
  4. Quick Check:

    Insert > Charts > Hierarchy = correct menu [OK]
Hint: Charts are always under Insert tab in Excel [OK]
Common Mistakes:
  • Looking under Data or Formulas tabs
  • Confusing chart types location
  • Not finding Hierarchy Chart group
3. Given this data in Excel:
Category | Subcategory | Sales
Fruit    | Apple       | 100
Fruit    | Banana      | 150
Veggie   | Carrot      | 80
Veggie   | Broccoli    | 120

If you create a sunburst chart from this data, what will the inner ring represent?
medium
A. The sales for only the first row
B. Individual sales numbers for each Subcategory
C. The sum of all sales combined
D. The total sales for each Category (Fruit, Veggie)

Solution

  1. Step 1: Understand sunburst chart rings

    The inner ring shows top-level groups (Categories), outer rings show subgroups (Subcategories).
  2. Step 2: Apply to given data

    Categories are Fruit and Veggie, so inner ring slices represent total sales per Category.
  3. Final Answer:

    The total sales for each Category (Fruit, Veggie) -> Option D
  4. Quick Check:

    Sunburst inner ring = top-level groups [OK]
Hint: Inner ring = main groups, outer rings = subgroups [OK]
Common Mistakes:
  • Thinking inner ring shows individual sales
  • Confusing total sum with category totals
  • Assuming only first row is shown
4. You tried to create a treemap chart but Excel shows an error. Which of these is the most likely cause?
medium
A. You used a formula instead of typing numbers
B. You selected the Insert tab instead of the Data tab
C. Your data has missing or blank cells in the hierarchy columns
D. You applied a filter to the data before inserting the chart

Solution

  1. Step 1: Check data requirements for treemap

    Treemap requires complete hierarchy data without blanks in category columns.
  2. Step 2: Analyze error causes

    Missing or blank cells break the hierarchy, causing Excel to error. Other options don't cause chart errors.
  3. Final Answer:

    Your data has missing or blank cells in the hierarchy columns -> Option C
  4. Quick Check:

    Complete hierarchy data needed [OK]
Hint: No blanks allowed in hierarchy columns for treemap [OK]
Common Mistakes:
  • Thinking Insert tab is wrong
  • Believing formulas cause chart errors
  • Assuming filters block chart creation
5. You have sales data for regions and products:
Region | Product | Sales
North  | A       | 200
North  | B       | 300
South  | A       | 150
South  | B       | 350

You want to create a treemap chart that shows sales by region and product. Which steps should you follow to prepare your data and insert the chart correctly?
hard
A. Arrange data with Region and Product columns, no blanks; select all data; go to Insert > Charts > Hierarchy Chart > Treemap
B. Sort data by Sales descending; select only Sales column; Insert > Charts > Pie Chart
C. Create a pivot table first; then insert a line chart from pivot data
D. Filter data by Region; select filtered data; Insert > Charts > Bar Chart

Solution

  1. Step 1: Prepare data with complete hierarchy

    Ensure Region and Product columns have no blanks and all sales data is included.
  2. Step 2: Insert treemap chart

    Select all data, then use Insert > Charts > Hierarchy Chart > Treemap to visualize sales by region and product.
  3. Final Answer:

    Arrange data with Region and Product columns, no blanks; select all data; go to Insert > Charts > Hierarchy Chart > Treemap -> Option A
  4. Quick Check:

    Complete data + Insert > Hierarchy > Treemap = correct [OK]
Hint: Select full hierarchy data before inserting treemap [OK]
Common Mistakes:
  • Selecting only sales column
  • Using wrong chart type like pie or line
  • Filtering data before chart insertion
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