How To Make Box Plots In Excel: A Complete Step-by-Step Guide

How To Make Box Plots In Excel: A Complete Step-by-Step Guide

How to Create a Scatter Plot with 3 Variables in Excel - Excel Insider

Creating a box plot in Excel requires selecting a correctly structured dataset and inserting the native Box and Whisker chart type available in Excel 2016 and newer versions. Excel automatically calculates the five-number summary—minimum, first quartile, median, third quartile, and maximum—alongside mean markers and statistical outliers based on the 1.5 times Interquartile Range rule. This guide details data layout standards, formatting configurations, and manual formulas to build professional statistical charts in under ten minutes.


Data Structuring & Pre-Chart Preparation Requirements

Before generating a box plot (also known as a Box and Whisker chart) in Excel, your raw data must be organized in a precise format. Unlike standard bar or line charts, box plots perform background statistical calculations across continuous variable distributions. If your input data contains text errors, irregular blank rows, or improper column headers, Excel will either render an distorted visualization or disable the chart creation feature entirely.



Essential Setup Checklist



  • Software Requirements: Microsoft Excel 2016, Excel 2019, Excel 2021, or Microsoft 365 (Windows or Mac). Legacy versions (Excel 2013 and older) lack native box plot functionality and require manual stacked-bar workarounds.
  • Data Formatting Standard: Unaggregated numeric values arranged in contiguous vertical columns. Each column header represents a category or series name, with raw values listing vertically beneath it.
  • Statistical Concepts Applied:

    • First Quartile (Q1 / 25th Percentile): The boundary for the lower 25% of the data.
    • Median (Q2 / 50th Percentile): The midpoint value separating the dataset.
    • Third Quartile (Q3 / 75th Percentile): The boundary for the upper 75% of the data.
    • Interquartile Range (IQR): The distance between Q3 and Q1 ($IQR = Q3 - Q1$).
    • Outliers: Data points exceeding $1.5 \times IQR$ above Q3 or below Q1.
  • Estimated Execution Time: 5 to 10 minutes for data cleanup, chart generation, and visual formatting.

Step-by-Step Box and Whisker Chart Execution in Excel



Step 1: Layout and Validate Raw Data

To ensure Excel accurately parses your statistical categories, structure your spreadsheet using standardized column layouts. Do not calculate means, medians, or standard deviations manually prior to chart insertion; native box plots require raw, un-summarized observation data.



  1. Open your Excel worksheet and select a blank area.
  2. Enter your category names into the top row (Row 1). For example, if comparing sales across regions, place "North", "South", "East", and "West" in cells A1, B1, C1, and D1.
  3. Input the raw numeric measurements in the cells directly below each header (A2:A50, B2:B45, etc.).
  4. Verify that datasets of unequal sample sizes are left blank at the end of shorter columns. Do not insert text strings like "N/A", dash characters, or zeros into empty cells, as Excel will interpret these as valid numerical inputs or throw a processing error.

Pro-Tip: If your dataset is structured in a tall (unpivoted) format—where Column A contains Category Labels and Column B contains Numerical Values—Excel's native engine can still parse it. Simply highlight both columns simultaneously before generating the chart.



Step 2: Insert the Native Box and Whisker Chart

With your data validated, execute the insertion sequence through the native chart engine.



  1. Click and drag your mouse to highlight all data cells, including the column headers (e.g., Range A1:D50).
  2. Navigate to the Insert tab on the top Excel Ribbon interface.
  3. Locate the Charts command group.
  4. Click the Insert Statistic Chart icon (represented by a blue bar chart symbol with an overlaid line graph).
  5. From the drop-down visual menu under the Statistical Charts section, select Box and Whisker.

Excel will immediately generate a default Box and Whisker chart in your active worksheet display area.

Warning: Do not include totals, grand totals, or calculated average rows inside your highlighted selection range. Including summary rows will skew the quartile boundaries and trigger incorrect outlier calculations.



Step 3: Configure Statistical Calculations and Options

Excel allows you to alter how quartiles, mean markers, and inner points are calculated and rendered. Fine-tuning these options ensures compliance with academic or organizational statistics guidelines.



  1. Right-click any box within the newly created chart and select Format Data Series from the context menu. The Format Data Series pane will anchor to the right side of your window.
  2. Under Series Options (represented by the column chart icon), review and adjust the primary statistical toggle settings:

    • Show Inner Points: Check this box to display every individual data point as a small dot overlaid along the box and whisker structure. Leave unchecked for a clean executive layout.
    • Show Outlier Points: Check this box to isolate values exceeding the 1.5x IQR boundary as individual dots outside the upper and lower whiskers. Unchecking this option extends whiskers to absolute dataset minimums and maximums.
    • Show Mean Markers: Check this box to display an "X" symbol inside the box showing the calculated arithmetic mean alongside the horizontal median line.
    • Show Mean Line: Check this box to draw a connecting line between the mean markers across adjacent data series.
    • Quartile Calculation: Choose between Exclusive median ($QUARTILE.EXC$) and Inclusive median ($QUARTILE.INC$).

Pro-Tip: Use Exclusive median for large datasets where the median is excluded from quartile boundary evaluations, matching standard statistical packages like R and SAS. Use Inclusive median when analyzing small sample sizes where median inclusion prevents distortion of sample ranges.



Step 4: Customize Visual Attributes and Layout Bounds

Default Excel chart styles often lack high-contrast formatting necessary for technical publications or executive briefings. Adjust series spacing, axis limits, and color palettes to finalize the visualization.



  1. Adjust Gap Width: In the Format Data Series pane, locate the Gap Width slider. Reduce the value (e.g., from 100% to 50%) to widen individual boxes for easier reading, or increase it to create distinct separation between dense categories.
  2. Format Vertical (Value) Axis:

    • Double-click the vertical Y-axis to open the Format Axis pane.
    • Under Axis Options, manually adjust the Minimum and Maximum bounds if your data does not start at zero. Narrowing the axis scope highlights variations within tight interquartile ranges.
  3. Apply Custom Colors:

    • Click once on a single box within the series to select all boxes, or click a second time on a specific box to isolate a single data group.
    • Navigate to Format > Shape Fill and choose a distinct color fill. Apply a high-contrast line color via Shape Outline to sharpen whisker definition.
  4. Add Chart Elements: Click the green + icon (Chart Elements button) located at the top-right corner of the selected chart frame to enable or disable Chart Titles, Data Labels, and Gridlines.

How to Create a Box Plot in Excel | House of Math

How to Create a Box Plot in Excel | House of Math

Statistical Calculation Methods & Native vs. Manual Box Plot Parameters

Understanding the underlying calculation engine ensures that statistical conclusions derived from your Excel visualization are accurate and defensible. The table below details how Excel handles data series depending on your selection of native engines or legacy calculation methods.



Feature / Metric Native Box Plot (QUARTILE.EXC) Native Box Plot (QUARTILE.INC) Legacy Stacked Bar Workaround
Excel Version Support Excel 2016 and Newer Excel 2016 and Newer All Excel Versions (2003–365)
Quartile 1 (Q1) Rule Excludes median position from Q1 range calculation Includes median position in Q1 range calculation Dependent on formula used (QUARTILE vs PERCENTILE)
Quartile 3 (Q3) Rule Excludes median position from Q3 range calculation Includes median position in Q3 range calculation Dependent on formula used (QUARTILE vs PERCENTILE)
Outlier Boundaries Points beyond $Q3 + (1.5 \times IQR)$ or $Q1 - (1.5 \times IQR)$ Points beyond $Q3 + (1.5 \times IQR)$ or $Q1 - (1.5 \times IQR)$ Not calculated automatically; requires manual series plot
Whisker Limits Extends to smallest/largest non-outlier values Extends to smallest/largest non-outlier values Requires manual calculation of upper/lower error bar lengths
Mean Marker Support Automatic native "X" overlay Automatic native "X" overlay Requires custom scatter plot overlay execution
Multi-Series Handling Automatic side-by-side clustering Automatic side-by-side clustering Manual offset formatting per series required

Common Excel Box Plot Rendering Errors & Technical Remedies



Scenario 1: The Box and Whisker Chart Option is Greyed Out



  • Root Cause: The active workbook is saved in an older file format (.xls legacy format), running in Excel Compatibility Mode, or your data range includes a PivotTable source.
  • Actionable Fix:

    1. Click File > Info > Convert to upgrade the document to the modern .xlsx format. Save and reopen the file.
    2. If working from a PivotTable, copy the raw data range, paste it as Values (Ctrl+Alt+V > Values) into a fresh standard worksheet, and insert the chart from the static values.


Scenario 2: Multiple Categories Merge into a Single Indistinguishable Box



  • Root Cause: Excel failed to recognize column headers as category labels, treating all highlighted rows and columns as a single continuous numeric data series.
  • Actionable Fix:

    1. Right-click inside the chart area and click Select Data.
    2. Click Switch Row/Column in the Select Data Source window to force Excel to change how it reads series axes.
    3. If issues persist, adjust your worksheet layout so that category names reside exclusively in Row 1 and numeric observations flow continuously downward beneath each header.


Scenario 3: Outliers Are Not Displaying Despite Obvious Extreme Values



  • Root Cause: The Show Outlier Points option is toggled off in the data series properties, or the dataset contains duplicate extreme values that hide beneath a single dot layer.
  • Actionable Fix:

    1. Right-click the series box and open Format Data Series.
    2. Ensure the Show Outlier Points checkbox is explicitly selected.
    3. Toggle Show Inner Points to reveal if multiple observation markers overlap at identical numerical values on the scale.


Scenario 4: The Median Line is Missing or Invisible Inside the Box



  • Root Cause: The median line color matches the internal fill color of the box plot, or the median value is mathematically identical to either Quartile 1 or Quartile 3.
  • Actionable Fix:

    1. Click the box plot to select the series, open Format Data Series, and navigate to Fill & Line (paint bucket icon).
    2. Set the Border Line color to a dark, contrasting shade (e.g., Solid Line, Black, 1.5pt width).
    3. Check raw data distributions using the =MEDIAN() formula to verify if skewness forces the median directly onto a quartile boundary.

Frequently Asked Questions



What is the primary difference between Inclusive and Exclusive quartiles in Excel?

The Exclusive option (QUARTILE.EXC) calculates quartile positions excluding the median value, yielding a narrower interquartile range suitable for general population samples. The Inclusive option (QUARTILE.INC) includes the median position in calculation boundaries, making it better suited for small data samples where excluding values reduces statistical validity.



Can I create a box plot in Excel 2010 or 2013 without native chart options?

Yes, older Excel versions require building custom box plots using Stacked Bar or Column charts. You calculate the 5-number summary using formulas (MIN, QUARTILE.INC, MEDIAN, MAX), convert those values into difference metrics, generate a stacked bar chart, hide the base series, and apply custom Error Bars to represent the upper and lower whiskers.



How does Excel calculate outliers in a native Box and Whisker plot?

Excel identifies outliers using the standard Tukey fence method. Any value that falls greater than $1.5 \times IQR$ above the third quartile ($Q3$) or less than $1.5 \times IQR$ below the first quartile ($Q1$) is plotted as an isolated point outside the primary whisker span.



How do I add a mean marker to my box plot if it is not visible by default?

Right-click any box within the chart, choose Format Data Series, navigate to the Series Options tab, and place a checkmark next to Show Mean Markers. Excel will calculate the average of the series data and render it as an "X" marker inside each corresponding box.



How do I plot multiple data series side by side in a single box plot?

Arrange your raw data into distinct columns with category labels in the top row. Select all columns simultaneously before clicking Insert > Box and Whisker. Excel automatically assigns unique colors to each column and displays them side-by-side along the horizontal axis.

Advance Your Business Analytics Expertise

Mastering data visualization is a core capability for transforming raw operational figures into decisive strategic insights. Expand your technical skills by exploring advanced analytics techniques, automation macros, and enterprise reporting solutions to optimize your organization's data workflows.


Interpreting Box Plots - Educational Images | Picstank

Interpreting Box Plots - Educational Images | Picstank

Read also: Judith march designs are taking the summer fashion world by storm