ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Data tools
  3. How to Make a Sunburst Chart in Excel for Nested Categories

How to Make a Sunburst Chart in Excel for Nested Categories

By ExcelReady Team·Updated November 3, 2026·5 min read

The short answer

Put your category levels in columns from left to right, such as Region, Category and Product, with the values in the last column. Select the data, go to Insert > Insert Hierarchy Chart and choose Sunburst. Each ring is one level: the inner ring is the top level. Sunburst charts need Excel 2016 or later.

Key takeaways

  • A sunburst chart shows a hierarchy as rings: the inner ring is the top level, the outer rings are the details.
  • Arrange label columns from the highest level to the lowest, with one column of numbers on the right.
  • Insert it from Insert > Insert Hierarchy Chart > Sunburst in Excel 2016 or later.
  • Total raw rows first with SUMIFS, so each combination appears once.
  • A sunburst can't be a PivotChart and doesn't draw zero or negative values.
On this page+
  1. What a sunburst chart shows
  2. Step 1: Arrange the data for a sunburst chart
  3. Step 2: Insert the sunburst chart
  4. Step 3: Make the labels readable
  5. How to total raw data with SUMIFS before charting
  6. Can you make a sunburst from a PivotTable?
  7. Sunburst vs treemap vs pie chart
  8. Practise it

A sunburst chart in Excel shows nested categories as rings: the inner ring is the top level, such as Region, and each outer ring breaks it down further, such as Category and then Product. You make one by arranging the levels in columns from left to right and choosing Insert > Insert Hierarchy Chart > Sunburst. This guide is for anyone who needs to show how a total splits across two or three levels, and it covers the layout, the clicks, and how to prepare raw data with SUMIFS.

What a sunburst chart shows#

A sunburst chart is a set of rings. The centre ring holds the top level, and every slice in the next ring sits right outside its parent. The size of each slice shows its share of the total.

Use a sunburst when the hierarchy itself is the point: "Which region sells most, and what is that made of?" For one level only, a pie chart is simpler. To compare exact values, a bar chart is easier to read, because people judge lengths better than angles. The chart basics guide explains how to match the chart to the question.

Sunburst charts were added in Excel 2016 and are in every later version, including Microsoft 365 on Windows and Mac. Excel 2013 and earlier don't have them.

Step 1: Arrange the data for a sunburst chart#

A sunburst needs label columns from the highest level on the left to the lowest on the right, and one column of numbers last. This sales table is ready to chart:

ABCD
1RegionCategoryProductSales
2NorthHardwareLaptops30,000
3NorthHardwareMonitors12,000
4NorthSoftwareCRM18,000
5SouthHardwareLaptops25,000
6SouthSoftwareCRM15,000
7SouthSoftwareSecurity9,000
8SouthServicesTraining6,000

Check three things first:

  • One header row, with a short name for each column.
  • Real, positive numbers in the value column. Zero and negative values are skipped, and numbers stored as text are left out.
  • One row per combination. If the same Region, Category and Product appear on two rows, total them first (see the SUMIFS section below).

Not every branch needs the same depth. If Services has no products, leave the Product cell empty for that row and the slice stops at the Category ring.

Step 2: Insert the sunburst chart#

With the data ready, it takes three clicks:

  1. Select A1:D8, headers included.
  2. Go to Insert > Insert Hierarchy Chart (the icon with coloured rectangles) and choose Sunburst. On a Mac, the same icon is on the Insert tab.
  3. Move and resize the chart.

You can also use Insert > Recommended Charts > All Charts > Sunburst. On this data the inner ring shows North (60,000) and South (55,000). The middle ring splits North into Hardware (42,000) and Software (18,000), and the outer ring shows each product.

Step 3: Make the labels readable#

The default labels show category names only, and small slices often hide their text. To improve them:

  • Add values: click the chart, then + (Chart Elements) or Chart Design > Add Chart Element > Data Labels > More Options, and tick Value next to Category Name.
  • Change colours: Chart Design > Change Colors. Each top-level item gets its own colour, and its children use shades of it.
  • Write a title that states the point, such as "Laptops drive both regions", not just "Sales".

If labels still overlap, the chart has too many small slices. Group the smallest items into "Other" in your data, or make the chart larger.

How to total raw data with SUMIFS before charting#

When your data has one row per sale, total it first so each combination appears once. SUMIFS adds the values in rows that match several conditions:

Excel formula
=SUMIFS(D2:D8,A2:A8,"South",B2:B8,"Software")

The result is 24,000 (15,000 + 9,000), the size of the South / Software slice. The range to add comes first, then pairs of range and condition. The SUMIFS function guide explains each argument.

For a full chart table, list each unique combination in F2:H8 (Region, Category, Product) and type this in I2:

Excel formula
=SUMIFS($D$2:$D$100,$A$2:$A$100,F2,$B$2:$B$100,G2,$C$2:$C$100,H2)

Fill it down. The $ signs keep the raw data ranges fixed while the criteria cells move. Then chart F1:I8. In Excel 2021 or Microsoft 365, =UNIQUE(A2:C100) lists each combination once for you. Turning raw rows into one-row-per-group totals is the core skill in a pivot-style summary, and the guide to SUMIF in Excel covers the one-condition version.

Can you make a sunburst from a PivotTable?#

No: a sunburst can't be a PivotChart. If you pick a PivotTable cell and open the chart menu, Sunburst isn't offered. You have two options:

  1. Copy the PivotTable and paste values (Home > Paste > Values) into a normal range, then chart that. It won't update when the PivotTable does.
  2. Build the summary with SUMIFS, as above. It updates whenever the raw data changes.

Other newer chart types behave the same way. A waterfall chart also has to be built from a normal range.

Sunburst vs treemap vs pie chart#

All three show parts of a whole, but they suit different questions:

You want to showBest chart
One level, up to about six partsPie chart
Several levels, where the hierarchy mattersSunburst chart
Many items, where comparing sizes mattersTreemap chart
Exact comparisons between itemsBar chart

A sunburst is the best of these for two or three levels. Beyond three levels, or past about 20 outer slices, it gets hard to read, so cut the detail or split it into two charts.

Practise it#

The chart takes three clicks; the summary table behind it is where people slip. Practise building a pivot-style summary in a live spreadsheet, then practise SUMIF and conditional totals: you type the formula and it checks it instantly. Or try the exercise on this page and total the South / Software slice.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Before you chart the data, check one segment. In G2, use SUMIFS to total Sales (D2:D8) for the South region and the Software category, then press Enter.

fx
ABCDEFGH
1
Region
Category
Product
Sales
2
North
Hardware
Laptops
30000
South Software
3
North
Hardware
Monitors
12000
4
North
Software
CRM
18000
5
South
Hardware
Laptops
25000
6
South
Software
CRM
15000
7
South
Software
Security
9000
8
South
Services
Training
6000
9
10
11

Tip: SUMIFS starts with the range to add, D2:D8, then pairs of range and condition: A2:A8 with South, B2:B8 with Software.

Practise this in a lesson

LessonPivot-style summary with formulasBuild a summary table like a pivot table with formulas: a sorted UNIQUE list of categories, then SUMIFS and COUNTIFS filled down beside it.LessonSUMIFAdd up only the numbers that meet a condition, with and without a separate sum range.Function guideSUMIFSTotal values that meet several conditions with SUMIFS. Examples by region, month and number range, common errors, and live practice.

Frequently asked questions

How do I create a sunburst chart in Excel?

+

Arrange the levels in columns from left to right with the values last, select the data including headers, then go to Insert > Insert Hierarchy Chart and choose Sunburst.

Which Excel versions have the sunburst chart?

+

Sunburst charts were added in Excel 2016. They are in Excel 2016, 2019, 2021, 2024 and Microsoft 365. Excel 2013 and earlier don't have them.

Can I make a sunburst chart from a PivotTable?

+

Not directly. Sunburst is not available as a PivotChart type. Copy the PivotTable and paste it as values in a normal range, or build the summary with SUMIFS, then chart that range.

What is the difference between a sunburst and a treemap?

+

Both show a hierarchy. A sunburst uses rings, which makes the levels easy to follow. A treemap uses nested rectangles, which makes the sizes of the smallest items easier to compare.

Why doesn't my sunburst chart show some rows?

+

A sunburst skips zero and negative values, and numbers stored as text are left out. Check that the value column holds real, positive numbers.

Sources

  • Create a chart from start to finish - Microsoft Support
  • SUMIFS function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 3, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What a sunburst chart shows
  2. Step 1: Arrange the data for a sunburst chart
  3. Step 2: Insert the sunburst chart
  4. Step 3: Make the labels readable
  5. How to total raw data with SUMIFS before charting
  6. Can you make a sunburst from a PivotTable?
  7. Sunburst vs treemap vs pie chart
  8. Practise it

Keep reading

Data tools· 6 min read

How to Make a Pie Chart in Excel (and When Not To)

To make a pie chart in Excel, put category names in one column and their values in the next, select both, then choose Insert > Pie Chart > 2-D Pie. Add data labels and tick Percentage to show each slice's share. Use a pie only for a few parts of one whole; otherwise use a bar chart.

Data tools· 6 min read

How to Make a Bar Chart in Excel

To make a bar chart in Excel, select your labels and numbers with their headers, go to Insert > Insert Column or Bar Chart, and pick Clustered Bar. Excel draws one horizontal bar per row. Add a title and data labels, and sort the data smallest to largest so the biggest bar is at the top.

Data tools· 5 min read

Make a Chart in Excel: Column, Bar, Line and Pie

To make a chart in Excel, select your data including the headers, go to Insert and pick a chart, or click Recommended Charts to let Excel suggest one. Use a column or bar chart to compare categories, a line chart for a trend over time, and a pie chart only for a few parts of one whole.

More on data tools

  • Excel Tables (Ctrl+T): Why and How to Use Them
  • How to Make a Thermometer Chart in Excel for a Goal
  • How to Make a Treemap Chart in Excel From Category Totals
  • Make a Waterfall Chart in Excel to Explain a Change
  • How to Shade Alternate Row Colors in Excel
  • Excel Area Chart: When to Use One and How to Build It
All data tools articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free