How to Make a Box and Whisker Plot in Excel: Complete Step-by-Step Guide
Learn how to make a box and whisker plot in Excel with step-by-step instructions, tips for data analysis, and chart customization techniques.

Learning how to make a box and whisker plot in Excel is one of the most valuable data visualization skills you can develop. A box and whisker plot — sometimes called a box plot — displays the distribution of a dataset by showing the median, quartiles, and outliers in a single compact chart. Whether you are analyzing test scores, sales figures, or manufacturing measurements, this chart type reveals patterns that simple bar charts or line graphs often miss entirely.
Excel 2016 and later versions include a built-in box and whisker chart type, making it significantly easier to create this visualization compared to older workarounds that required manual calculations. Before this addition, analysts had to use stacked bar tricks and manual IQR calculations just to approximate the same result. Today, you can generate a polished box plot in under three minutes once you understand the workflow, which is exactly what this guide covers from start to finish.
The box portion of the chart represents the interquartile range (IQR), spanning from the first quartile (Q1) at the 25th percentile to the third quartile (Q3) at the 75th percentile. A horizontal line inside the box marks the median — the 50th percentile value. The whiskers extend outward from Q1 and Q3 to capture the remaining data within 1.5 times the IQR. Any data points outside that range appear as individual dots, flagged as statistical outliers that deserve closer inspection.
Box plots are especially powerful when you need to compare multiple groups side by side. For example, a teacher might plot exam scores for five different class sections simultaneously, instantly seeing which section had the tightest score clustering and which had the widest spread. A product manager comparing customer satisfaction scores across regions can spot in seconds whether one market has unusually high variability compared to the others. This kind of grouped comparison is where box plots truly outperform alternative chart types.
Before diving into the step-by-step process, it helps to understand what data structure Excel expects. Your dataset should have each group or category in a separate column, with individual data values listed row by row within that column. Columns do not need to be the same length — Excel handles unequal group sizes gracefully. Clean your data first by removing blank cells within a data range, as internal blanks can distort quartile calculations and produce misleading charts.
This guide also covers several related Excel skills that complement box plot creation. For instance, knowing how to make a box and whisker plot in excel pairs naturally with understanding other statistical chart types and data analysis features built into the application. You will also find tips on formatting, color customization, and troubleshooting common errors that trip up first-time users of this chart type.
By the end of this article, you will be fully equipped to create, customize, and interpret box and whisker plots in Excel across a variety of real-world scenarios. Whether you are preparing a presentation for colleagues, submitting a report for class, or conducting exploratory data analysis on a new dataset, the skills covered here will serve you well. Let us begin with the fundamentals and build up to more advanced techniques step by step.
Box and Whisker Plots in Excel by the Numbers

Step-by-Step: Creating Your First Box and Whisker Plot
Organize Your Data
Select Your Data Range
Insert the Box and Whisker Chart
Verify Quartile Calculations
Customize Appearance
Add Labels and Export
Understanding the individual components of a box and whisker plot is essential before you can correctly interpret the charts you create or present them confidently to others. Each element carries specific statistical meaning, and confusing one part for another leads to analytical errors. The rectangular box itself represents the middle 50 percent of your data — specifically the interquartile range, or IQR — and its height visually conveys how spread out the central portion of your dataset is across the entire range.
The median line drawn horizontally inside the box marks the exact midpoint of your dataset when values are ranked in order. This is not the same as the mean or average, and the distinction matters enormously in practice. If your dataset contains outliers — extreme high or low values — the mean gets pulled toward those extremes while the median remains anchored to the true center. A box plot that shows the median close to the bottom of the box, for example, immediately signals a right-skewed distribution even before you look at any numbers.
The whiskers extending above and below the box follow the standard Tukey fence method by default in Excel. The upper whisker reaches up to the largest data value that still falls within Q3 plus 1.5 times the IQR. Symmetrically, the lower whisker extends down to the smallest value above Q1 minus 1.5 times the IQR. Any individual data points lying outside these fences are plotted as separate dots or circles and classified as statistical outliers. These outlier points deserve individual investigation because they may represent data entry errors, genuine rare events, or measurement anomalies.
Excel offers two quartile calculation methods that produce slightly different box heights for the same dataset. The Exclusive Median method excludes the median value itself when computing Q1 and Q3, which is standard in most academic statistics courses and aligns with the QUARTILE.EXC function. The Inclusive Median method includes the median in both quartile calculations, producing a slightly smaller IQR box. For most business presentations and general analysis, the default Exclusive setting is appropriate, but always confirm which method your organization or course requires before finalizing a chart.
When you place multiple box plots side by side — for instance, comparing monthly sales data across six product lines — patterns emerge that would be invisible in tabular data. If one box sits dramatically higher than the others, that group's median is higher. If one box is much taller, that group's data has greater variability.
If the whiskers on one chart are far longer than the box itself, the data is heavily spread at the extremes but tightly clustered in the middle. Reading these shape patterns is the real analytical skill that transforms a box plot from a chart into an insight.
Excel also allows you to show the mean as an X marker inside each box, which is a helpful addition when your audience needs to compare both the median and mean simultaneously. To enable this, right-click a data series and open Format Data Series, then check Show Mean Markers and Show Mean Line. The gap between the X marker and the median line is a quick visual indicator of skewness — a large gap suggests the distribution is pulled toward one tail by extreme values, while a small gap indicates a relatively symmetric distribution.
For users who work extensively with data analysis in Excel, understanding box plots connects directly to other statistical tools built into the application. The Analysis ToolPak add-in, for example, provides descriptive statistics including quartiles, which you can cross-reference with your chart values to validate accuracy. Similarly, functions like QUARTILE.EXC, MEDIAN, MIN, and MAX let you calculate the five-number summary manually in worksheet cells, giving you an independent check on what Excel's charting engine is computing automatically behind the scenes.
How to Merge Cells in Excel and Use Other Key Excel Skills Alongside Box Plots
Knowing how to merge cells in Excel becomes important when formatting the worksheet area surrounding your box plot. To merge cells, select the range you want to combine, navigate to the Home tab, click the Merge and Center dropdown in the Alignment group, and choose your preferred merge option. Merge and Center combines all selected cells into one and centers the content horizontally — ideal for chart titles or section headers above your data columns.
When merging cells near your data range, be careful not to accidentally merge cells within the actual dataset, as Excel will drop all values except the top-left cell during the merge operation. A best practice is to keep your data columns untouched and only merge cells in dedicated header or label rows above or below the data. This preserves data integrity while still giving your worksheet a professional, well-organized appearance that complements your box plot visualization.

Box and Whisker Plots vs. Other Chart Types: Pros and Cons
- +Displays five key statistics simultaneously — minimum, Q1, median, Q3, and maximum — in a single compact visual
- +Automatically flags statistical outliers as individual data points, making anomalies immediately visible without additional analysis
- +Enables direct side-by-side comparison of multiple groups, revealing differences in spread and central tendency at a glance
- +Works equally well with small datasets (10 values) and large datasets (thousands of rows) without visual distortion
- +Resistant to the distortion caused by extreme outliers because the box always represents only the middle 50 percent of data
- +Native support in Excel 2016 and later eliminates the need for complex workaround formulas or third-party add-ins
- −Less intuitive for general audiences who are unfamiliar with quartiles and interquartile range concepts
- −Does not show the actual distribution shape within each quartile — a bimodal dataset looks identical to a uniform one
- −Hides individual data points within the box region, which can obscure important patterns in small datasets
- −Cannot represent categorical data or show trends over time as effectively as line charts or bar charts
- −Requires at least 5-6 data points per group to produce statistically meaningful quartile boundaries
- −Excel's default styling options for box plots are more limited compared to the customization available in specialized tools like R or Python matplotlib
Box Plot Creation Checklist: Before You Publish Your Chart
- ✓Confirm all data columns have descriptive header labels in row 1 that will serve as category names in the chart legend.
- ✓Remove any blank cells within each data column, as internal blanks distort Excel's quartile calculations.
- ✓Verify the quartile calculation method matches your organization's or course's statistical standard (Exclusive vs. Inclusive Median).
- ✓Check that the median line is visible inside each box and is not hidden by a fill color that matches the line color.
- ✓Confirm outlier data points are displayed as individual markers and have not been accidentally hidden in Format Data Series settings.
- ✓Add a descriptive chart title that identifies the variable being measured and the time period or context of the data.
- ✓Include axis titles on both axes: a Y-axis title for the measured variable and an X-axis title for the category or group names.
- ✓Test the chart at the final print or display size to ensure all text labels are legible and no elements are overlapping.
- ✓If comparing groups, verify that all box plots use the same Y-axis scale so visual size differences reflect true statistical differences.
- ✓Save a copy of the source data alongside the chart file so colleagues can audit or reproduce the visualization independently.
Why the Interquartile Range Beats Standard Deviation for Skewed Data
When your data contains outliers or is heavily skewed, the standard deviation inflates dramatically because it factors in every extreme value. The IQR, which forms the height of your box plot's rectangle, is completely unaffected by outliers because it only measures the spread of the central 50 percent of your data. This makes box plots a more honest visual representation of variability for real-world datasets like salaries, response times, or customer wait times — all of which tend to have long upper tails that would distort mean-based statistics.
Advanced box plot techniques in Excel open up significantly more analytical power once you have mastered the basics. One of the most useful advanced features is creating box plots that update automatically when new data is added, using Excel Tables as the data source instead of a static range. To convert your data to a Table, click anywhere within your data range and press Ctrl+T, then confirm the header row checkbox is selected. Excel Tables automatically expand to include new rows, and any chart linked to a Table updates dynamically when data is appended at the bottom.
Another powerful technique involves using VLookup Excel formulas to pull data from separate tables into the columns that feed your box plot. Imagine you have a master database with thousands of transactions, each tagged with a region code. You could use VLOOKUP or the newer XLOOKUP function to extract transactions for each region into separate staging columns, then build your box plot from those populated columns. This approach lets you maintain a single clean database while still generating meaningful grouped visualizations without manual copy-paste operations that introduce errors.
Color coding box plots by group is a simple but high-impact customization that makes multi-series charts far easier to read. Click on one of the boxes in your chart to select the entire series, then right-click and choose Format Data Series. Under Fill, select Solid Fill and pick a color from the palette. Repeat this process for each series, assigning a distinct color that aligns with your organization's brand palette or the colors used elsewhere in your presentation. Consistent color coding across multiple charts in the same report builds visual literacy for your audience.
For presentations where space is tight, you can reduce the chart's Gap Width setting to make the boxes visually wider and more prominent on the page. In Format Data Series, the Gap Width slider controls the space between adjacent boxes as a percentage of the box width. Reducing this from the default 150 percent down to 50 or 75 percent creates a denser, more impactful chart that reads well even at small sizes in printed reports. Conversely, increasing the gap width emphasizes the separation between groups, which helps when the groups themselves represent very different categories.
Adding reference lines to a box plot is another advanced technique that provides important context. For instance, if you are comparing employee productivity scores across departments and the company target is a specific value, you can add a horizontal line at that threshold. Insert a new data series with the target value repeated for each category, then change that series to a Line chart type using the Change Chart Type option. This hybrid chart approach overlays a goal line on your box plot without disrupting the underlying statistical visualization.
The institute of creative excellence in data storytelling often emphasizes that charts should lead readers to a conclusion rather than simply displaying raw statistics. With box plots, you can guide interpretation by annotating specific outlier points with text boxes that explain what that data point represents — a record-breaking sale, an equipment failure, or a particularly challenging test administration. Right-click the chart area, select Insert Text Box, and drag it to position the annotation near the relevant data point. Connect it with an arrow shape from the Insert Shapes menu for added clarity.
Finally, consider exporting your completed box plot as a reusable template. Once you have spent time getting the formatting, colors, axis labels, and overall aesthetic exactly right, save the chart as a template by right-clicking the chart border and selecting Save as Template. This saves a .crtx file that appears under the Templates category in the Insert Chart dialog, letting you recreate the same professional styling instantly for future projects. Chart templates store formatting rules but not actual data, so they are safe to share with teammates who need to produce consistently branded visualizations.

The built-in Box and Whisker chart type is only available in Excel 2016, Excel 2019, Excel 2021, and Microsoft 365. If you open a file containing a box plot in Excel 2013 or earlier, the chart will not render and will display as a blank placeholder. Before sharing files with colleagues, confirm they are using a compatible Excel version. If compatibility is a concern, export the chart as a static image — right-click the chart and choose Save as Picture — so all recipients can view it regardless of their Excel version.
Troubleshooting box and whisker plots in Excel is a skill that saves hours of frustration when charts do not look the way you expect. The most common problem beginners encounter is the chart displaying as a blank white rectangle after insertion. This almost always means Excel could not identify numeric data in the selected range.
Check that your data columns contain actual numbers rather than numbers stored as text — a common side effect of copying data from web pages or PDFs. Select a suspicious cell, look at the formula bar for an apostrophe prefix or a green error triangle, and use the Text to Columns wizard on the Data tab to convert the entire column to proper numbers.
Another frequent issue is whiskers appearing as a single point or seemingly missing from the chart entirely. This happens when all data values fall within the IQR boundaries, so there is no data outside the fence range for the whiskers to extend toward. In this case, the whisker endpoints coincide with Q1 and Q3, making them invisible against the box border.
This is actually statistically valid — it means your dataset has no values outside the standard range — but it can look like a rendering bug. Adding a brief annotation to the chart clarifying this prevents audience confusion during presentations.
Incorrect outlier detection is another source of confusion. If you see far more outlier dots than expected, verify that you selected the correct quartile calculation method for your data type. Switching between Exclusive and Inclusive Median modes changes the IQR boundaries slightly, which in turn shifts which values fall outside the 1.5× fence.
For heavily skewed datasets, some analysts prefer using the 3× IQR fence to distinguish between mild outliers and extreme outliers, though Excel does not support this natively — you would need to calculate those boundaries manually and add them as reference lines using the technique described in the advanced section above.
When your box plot looks correct on screen but prints with distorted proportions, the issue is typically that the chart's aspect ratio is not locked. Click the chart once to select it, then hold Shift while dragging a corner handle to resize proportionally. Alternatively, right-click the chart border, select Format Chart Area, and in the Size and Properties panel, check Lock Aspect Ratio before setting specific pixel dimensions. This ensures the printed output matches what you see on screen regardless of printer scaling settings.
Dataset labeling errors are another common pitfall — specifically, accidentally selecting data from the wrong rows or including a totals row at the bottom of your data table. A totals row that contains a SUM formula will appear as a single extremely high or low data point that throws off the entire scale of your chart. Always double-check your selection range and exclude any summary rows before inserting the chart. If your data is in an Excel Table format, Excel automatically excludes totals rows from chart ranges, which is another reason to use Tables for data that feeds visualizations.
Performance issues can arise when creating box plots from very large datasets with tens of thousands of rows per column. Excel may become sluggish during chart rendering or update operations. A practical solution is to use Excel's PERCENTILE.EXC function to pre-calculate Q1, Q2, Q3, and the fence values in a summary table, then build the chart from that five-row summary rather than the raw data. This dramatically reduces the computation load while producing an identical visual result, since box plots only require the five-number summary statistics regardless of how many raw values generated them.
For users in professional or academic contexts who need to reproduce the exact same chart configuration across multiple files, recording a macro while creating and formatting your box plot is a time-saving strategy. Go to Developer tab, click Record Macro, assign a keyboard shortcut, then perform your entire chart creation and formatting workflow. Stop the recording, and from that point forward the entire process executes with a single keystroke. The resulting VBA code can also be edited to parameterize the data range, allowing the macro to adapt dynamically to different dataset sizes and structures without manual modification each time.
Putting everything together, the practical workflow for creating professional-quality box and whisker plots starts long before you open the Insert Chart dialog. Effective data visualization begins with deliberate data collection and organization. When designing a study, survey, or measurement system that will eventually produce box plots, structure your data capture so each comparison group populates a distinct column from the outset. This eliminates the data reshaping step that trips up many analysts who receive data in a row-based or mixed format that requires significant transformation before charting.
Excel's QUARTILE.EXC and QUARTILE.INC functions are your best friends for validating chart output. After creating your box plot, type these formulas into a blank area of the worksheet and manually verify that the Q1 and Q3 values match the bottom and top edges of your chart's boxes. Small discrepancies might indicate that Excel selected a different data range than intended, while large discrepancies could indicate a data type issue causing some values to be treated as text rather than numbers. This cross-checking habit catches errors before they reach a printed report or presentation slide.
Color accessibility is a practical consideration that many Excel users overlook when formatting box plots for professional distribution. Approximately 8 percent of men and 0.5 percent of women have some form of color vision deficiency that affects their ability to distinguish red-green color combinations. When assigning series colors to a multi-group box plot, use a colorblind-safe palette such as the IBM Design Color Blind Safe palette or the Okabe-Ito palette, which relies on blue, orange, teal, and yellow combinations that remain distinguishable under deuteranopia and protanopia conditions. Including pattern fills in addition to color further improves accessibility for printed materials.
For educational settings, box plots paired with the raw data table create a powerful teaching tool that connects abstract statistical concepts to concrete numbers. Display the raw data in a side-by-side layout with the chart, perhaps using Excel's Arrange Windows feature to show both the data sheet and the chart sheet simultaneously.
When students can trace an outlier dot back to a specific row in the data table, the abstract concept of a statistical outlier immediately becomes concrete and memorable. This paired presentation technique also helps when reviewing the results of Excel practice tests and quizzes that cover statistical chart interpretation.
If you regularly create box plots from data refreshed from external sources — database exports, API feeds, or linked SharePoint lists — consider setting up Power Query to handle the data transformation automatically. Power Query, accessible from the Data tab under Get and Transform, can filter, pivot, and clean incoming data and output it into a formatted Excel table that your chart already references. Each time new data arrives, a single Refresh All command updates both the Power Query output and the downstream box plot simultaneously, reducing the manual effort of the refresh cycle to a single click.
Combining box plots with other chart types in the same sheet creates a comprehensive analytical dashboard. For instance, placing a box plot of monthly sales by region alongside a line chart of the same data over time gives viewers both the distributional view and the trend view in a single glance. Use consistent axis scales and color coding across both charts to make the relationship between them visually intuitive. Align chart edges using Excel's Align Objects tools on the Format tab to create a polished grid layout that looks professionally designed rather than assembled ad hoc.
Finally, remember that the goal of any data visualization is communication, not technical demonstration. Before finalizing a box plot for distribution, show it to someone unfamiliar with the underlying data and ask them to describe what they see. If they can correctly identify which group has the highest median, which has the most variability, and where the outliers are located — without any explanation from you — then the chart is doing its job.
Excel Questions and Answers
About the Author
Business Consultant & Professional Certification Advisor
Wharton School, University of PennsylvaniaKatherine Lee earned her MBA from the Wharton School at the University of Pennsylvania and holds CPA, PHR, and PMP certifications. With a background spanning corporate finance, human resources, and project management, she has coached professionals preparing for CPA, CMA, PHR/SPHR, PMP, and financial services licensing exams.




