Microsoft KB Archive/155130

= How to create a BoxPlot/Box and Whisker Chart in Excel =

Article ID: 155130

Article Last Modified on 4/2/2007

-

APPLIES TO


 * Microsoft Excel 95 Standard Edition
 * Microsoft Excel 5.0a
 * Microsoft Excel 95a
 * Microsoft Excel 5.0 Standard Edition
 * Microsoft Excel 5.0c
 * Microsoft Excel 98 for Macintosh
 * Microsoft Excel 5.0 for Macintosh
 * Microsoft Excel 5.0a for Macintosh
 * Microsoft Excel 2001 for Mac
 * Microsoft Excel X for Mac
 * Microsoft Excel 2004 for Mac

-



This article was previously published under Q155130



SUMMARY
Microsoft Excel charts do not include a BoxPlot/Box & Whisker chart type. However, you can create a reasonable representation of this type of chart by following the steps outlined in this article.



MORE INFORMATION
To create a sample BoxPlot/Box and Whisker chart, use the appropriate method for your version of Excel.

Excel 2004, X, 2001 and 98
  In a new worksheet, type the following data:   A1: Statistic   B1: a    C1: b    D1: c   A2: median      B2: 40   C2: 45   D2: 50 A3: q1         B3: 20   C3: 22   D3: 30 A4: min        B4: 10   C4: 15   D4: 18 A5: max        B5: 100  C5: 110  D5: 90 A6: q3         B6: 70   C6: 75   D6: 57  Select cells A1:D6. On the Insert menu, click Chart. On the Standard types tab, click Stock under Chart type, and then click the fourth chart sub-type.

The following explanation appears below the chart sub-type:

Volume-Open-High-Low-Close. Requires five series of values in this order.

 Click Next. On the Data Range tab, click Rows under Series in, and then click Next. On the Legend tab, click to clear the Show legend check box.</li> On the Axes tab, click to clear the Value (Y) Axis check box under Secondary axis, and then click Finish.</li> Click once on any one of the colored columns to select the series. Do not click one of the white columns.</li> On the Chart menu, click Chart Type. Under Chart type, click Line, and then click OK.

A line that connects the three white columns appears in the chart.</li> Click once on the line, and then click Selected Data Series on the Format menu.</li></ol>

In Excel 2004 for Mac

 * 1) Click the Colors and Line tab. Under Line for Color, click No Line.
 * 2) Under Marker, select the plus sign (+).
 * 3) In the Foreground list, click the black color. In the Background list, click No Color. Click OK.

In Excel X and earlier

 * 1) Click the Patterns tab. Under Line, click None.
 * 2) Under Marker, click Custom. In the Style list, click the plus sign (+)
 * 3) In the Foreground list, click the black color.
 * 4) In the Background list, click No Color. Click OK.

Excel 5.0 and Excel 7.0
<ol>  In a new worksheet, type the following data: <pre class="fixed_text">  A1: Statistic   B1: a    C1: b    D1: c   A2: median      B2: 40   C2: 45   D2: 50 A3: q1         B3: 20   C3: 22   D3: 30 A4: min        B4: 10   C4: 15   D4: 18 A5: max        B5: 100  C5: 110  D5: 90 A6: q3         B6: 70   C6: 75   D6: 57 </li> Select cells A1:D6. On the Insert menu, point to Chart, and then click On This Sheet.</li> Click and drag the area for the chart. In the Step 1 of 5 dialog box of the ChartWizard, click Next.</li> In the Step 2 of 5 dialog box, click the Combination chart type, and then click Next.</li> In the Step 3 of 5 dialog box, click the sixth chart style, and then click Next.

The following message appears in an Alert Box:

A volume-open-high-low-close stock chart must contain five series

</li> Click OK.</li> In the Step 4 of 5 dialog box, click Rows under Data Series in, and then click Next.</li> In the Step 5 of 5 dialog box, click No under Add a Legend?, and then click Finish.</li> Double-click the chart to activate it. On the Insert menu, click Axes. Under Secondary Axis, click to clear the Value (Y) Axis check box, and then click OK.</li> Click once on any one of the colored columns to select the series. Do not click one of the white columns.</li> On the Format menu, click Chart Type. In the list of chart types, click Line, and then click OK.

A line that connects the three white columns appears in the chart.</li> Click once on the line, and then click Selected Data Series on the Format menu.</li> <li>Click the Patterns tab. Under Line, click None.</li> <li>Under Marker, click Custom. In the Style list, click the plus sign (+). In the Foreground list, click the black color. In the Background list, click None. Click OK.</li></ol>

<div class="references_section">

Excel X and later versions
For more information about creating charts, click Excel Help on the Help menu, type about charts, click Search, and then click a topic to view it.

Excel 98 and Excel 2001
For more information about creating charts, click the Office Assistant, type charts, click Search, and then click a topic to view it.

Note If the Assistant is hidden, click the Office Assistant button on the Standard toolbar.

Excel 7.0
For more information about creating charts, click Answer Wizard on the Help menu and type:

how do I create a chart

Excel 5.0
For more information about creating charts, choose the Search button in Help and type:

charts

Additional query words: XL2001 XL98 5.00a 5.00c 7.00a box plot XLX XL2004

Keywords: kbhowto kbinfo KB155130

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.