Excel has no built-in fan chart type, but you can build one in about 15 minutes using a stacked area chart. A fan chart shows a central forecast (usually the median) surrounded by shaded bands that represent uncertainty ranges, widening as you look further into the future. To make one, you need a table with your forecast periods and several percentile values (for example 10th, 25th, 50th, 75th, and 90th percentiles), then you convert those into stacked series and format them so only the outer bands appear shaded.

What You'll Need

  • Excel for Windows or Mac (the steps below work in both; labels may differ slightly by version). The web version of Excel can create the chart but has fewer formatting options.
  • A table of forecast data with one row per time period and columns for each percentile or confidence level. If you only have a single forecast line, you will need to create the bands first (see Step 1).
  • Basic familiarity with selecting ranges and inserting charts.

Step-by-Step

  1. Prepare your data table. In separate columns, list your time periods (e.g., months or years) and the values for each band. A common setup is: Period, P10, P25, P50 (median), P75, P90. Each row should contain the value for that period at each percentile. If you only have a single forecast and a known uncertainty range, you can calculate approximate bands by adding and subtracting a percentage of the forecast value, but be aware this is a simplification.
  2. Calculate the stacked series. A fan chart is built from stacked areas, so you need to convert your percentile values into differences. In new columns to the right of your data, create: Band 1 = P10; Band 2 = P25 - P10; Band 3 = P50 - P25; Band 4 = P75 - P50; Band 5 = P90 - P75. These differences will stack to produce the full range.
  3. Select the period column and the five band columns. Do not include the original percentile columns. On the Insert tab, click the Insert Area Chart button (or Insert > Chart > Area) and choose Stacked Area. A chart appears with five stacked areas.
  4. Format the bands. Right-click each area series and choose Format Data Series. Set the fill color and transparency. Typically, the outermost bands (Band 1 and Band 5) are lightest, and the inner bands get progressively darker. A common approach is to use the same color for all bands but with different transparency levels (e.g., 80% for outer, 40% for inner). Set the border to No Line for a clean look.
  5. Add the median line. The median (P50) is already the top of Band 3, but you may want a distinct line. Right-click the chart, choose Select Data, and add a new series for the P50 column. Change that series chart type to Line (right-click the series > Change Series Chart Type). Format the line with a solid color and thicker weight.
  6. Adjust axes and labels. Right-click the horizontal axis and choose Format Axis to set the axis type to Text axis if your periods are text. Add a chart title and axis titles via the Chart Elements plus button (or Chart Design > Add Chart Element).
  7. Remove clutter. Delete the legend if it is not needed, or keep it and rename the series to meaningful labels (e.g., "10th–90th percentile"). You can also hide the gridlines or lighten them.

Common Mistakes

  • Stacking the raw percentiles instead of the differences. If you stack P10, P25, P50, P75, P90 directly, the bands will be wrong because each value is added on top of the previous. Always use the difference columns.
  • Forgetting to set the horizontal axis to a text axis. Excel may treat your period labels as numbers and space them unevenly. Set the axis type to Text axis in the Format Axis pane.
  • Using too many bands. More than five or six bands makes the chart hard to read. Stick to three or four bands for clarity.
  • Not labeling the bands. A fan chart without a legend or labels is confusing. Add a legend or direct labels to indicate what each shaded area represents.

Tips

  • Use a consistent color scheme: one color for all bands with varying transparency, and a contrasting color for the median line.
  • If your data has many periods, consider smoothing the lines by using a scatter chart with smooth lines instead of an area chart, but note that stacked areas cannot be smoothed in the same way.
  • To make the chart dynamic, convert your data range to an Excel Table (Ctrl+T). When you add new rows, the chart will update automatically if you use the table references.
  • For a professional look, remove the chart border and set the plot area to no fill.

Troubleshooting

  • The bands look inverted or overlap incorrectly. Double-check your difference formulas. Band 2 should be P25 minus P10, not the other way around. All differences must be positive.
  • The median line is hidden behind the areas. Right-click the median series and choose Format Data Series, then set it to Secondary Axis? No—that would misalign it. Instead, ensure the median series is the last series added so it draws on top, or change the series order in Select Data.
  • The chart does not update when data changes. If you used a normal range, the chart is static. Convert the range to a Table and recreate the chart using the table columns.
  • Excel crashes or freezes when formatting. Save your work and restart Excel. Large datasets with many series can slow down; consider reducing the number of periods shown.

Frequently Asked Questions

Can I make a fan chart without percentile data?

Yes, but you need to create the bands yourself. A common method is to use a forecast value and add/subtract a fixed percentage (e.g., ±10%, ±20%) to create inner and outer bands. This is a simplification and does not represent a statistical confidence interval.

Does Excel have a built-in fan chart type?

No. Excel offers line, area, column, and other chart types, but not a dedicated fan chart. The stacked area method described here is the standard workaround.

Can I use this method in Excel for the web?

You can create a stacked area chart in Excel for the web, but formatting options (like transparency and series order) are more limited. For full control, use the desktop version.

How many bands should I use?

Three to five bands are typical. More bands can show finer detail but may clutter the chart. Choose based on your audience and the story you want to tell.

Why does my fan chart look like a solid block?

This usually happens when the transparency is not set or all bands have the same color. Right-click each series, choose Format Data Series, and adjust the fill transparency.

Can I add a legend that explains the bands?

Yes. By default, the legend shows each series name. You can rename the series in Select Data to descriptive labels like "10th–25th percentile" and then show the legend.