<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>FAQ/ExcelErrorBarPlot</title><revhistory><revision><revnumber>18</revnumber><date>2013-03-08 10:17:41</date><authorinitials>localhost</authorinitials><revremark>converted to 1.6 markup</revremark></revision><revision><revnumber>17</revnumber><date>2012-07-09 14:55:17</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>16</revnumber><date>2009-12-14 14:38:49</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>15</revnumber><date>2009-04-29 13:16:10</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>14</revnumber><date>2009-04-29 13:15:43</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>13</revnumber><date>2009-04-29 13:12:04</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>12</revnumber><date>2009-04-29 13:10:29</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>11</revnumber><date>2009-04-29 13:06:11</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>10</revnumber><date>2009-04-29 13:05:31</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>9</revnumber><date>2009-04-29 13:05:04</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>8</revnumber><date>2009-04-29 13:03:56</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>7</revnumber><date>2009-04-29 13:02:41</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>6</revnumber><date>2009-04-29 12:23:04</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>5</revnumber><date>2009-04-29 12:22:10</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>4</revnumber><date>2009-04-29 12:17:14</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>3</revnumber><date>2009-04-29 12:13:17</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>2</revnumber><date>2009-04-29 12:04:21</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>1</revnumber><date>2009-04-29 12:00:30</date><authorinitials>PeterWatson</authorinitials></revision></revhistory></articleinfo><section><title>How do I plot a boxplot in EXCEL?</title><para>You can't produce boxplots directly in EXCEL but there is a rather convoluted work around described <ulink url="http://support.microsoft.com/kb/155130">here.</ulink> I also reproduce Microsoft's solution below for some example data. </para><para>1. In a new worksheet, type the following data: </para><informaltable><tgroup cols="6"><colspec colname="col_0"/><colspec colname="col_1"/><colspec colname="col_2"/><colspec colname="col_3"/><colspec colname="col_4"/><colspec colname="col_5"/><tbody><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para> <emphasis>A1: Statistic</emphasis> </para></entry><entry colsep="1" rowsep="1"><para>  <emphasis>B1: a</emphasis>  </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>C1: b</emphasis>  </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>D1: c</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para> <emphasis>A2: median</emphasis>    </para></entry><entry colsep="1" rowsep="1"><para>  <emphasis>B2: 40</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>C2: 45</emphasis>  </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>D2: 50</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para> <emphasis>A3: q1</emphasis>        </para></entry><entry colsep="1" rowsep="1"><para>  <emphasis>B3: 20</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>C3: 22</emphasis>  </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>D3: 30</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para> <emphasis>A4: min</emphasis>       </para></entry><entry colsep="1" rowsep="1"><para>  <emphasis>B4: 10</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>C4: 15</emphasis>  </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>D4: 18</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para> <emphasis>A5: max</emphasis>       </para></entry><entry colsep="1" rowsep="1"><para>  <emphasis>B5: 100</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>C5: 110</emphasis>  </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>D5: 90</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_2" namest="col_0" rowsep="1"><para> <emphasis>A6: q3</emphasis>        </para></entry><entry colsep="1" rowsep="1"><para>  <emphasis>B6: 70</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>C6: 75</emphasis>  </para></entry><entry colsep="1" rowsep="1"><para> <emphasis>D6: 57</emphasis> </para></entry></row></tbody></tgroup></informaltable><para>2. Select cells A1:D6. On the <emphasis role="strong">Insert</emphasis> menu, click <emphasis role="strong">Chart</emphasis>. </para><para>3. On the <emphasis role="strong">Standard types</emphasis> tab, click <emphasis role="strong">Stock</emphasis> under <emphasis role="strong">Chart type</emphasis>, and then click the fourth chart sub-type. </para><para><emphasis>The following explanation appears below the chart sub-type: Volume-Open-High-Low-Close. Requires five series of values in this order.</emphasis>  </para><para>4. Click <emphasis role="strong">Next</emphasis>. </para><para>5. On the <emphasis role="strong">Data Range</emphasis> tab, click <emphasis role="strong">Rows</emphasis> under <emphasis role="strong">Series in</emphasis>, and then click <emphasis role="strong">Next</emphasis>. </para><para>6. On the <emphasis role="strong">Legend</emphasis> tab, click to clear the <emphasis role="strong">Show legend</emphasis> check box.  </para><para>7. On the <emphasis role="strong">Axes</emphasis> tab, click to clear the <emphasis role="strong">Value (Y) Axis</emphasis> check box under <emphasis role="strong">Secondary axis</emphasis>, and then click <emphasis role="strong">Finish</emphasis>. </para><para>8. Click once on any one of the coloured columns to select the series. Do not click one of the white columns. </para><para>9. On the <emphasis role="strong">Chart</emphasis> menu, click <emphasis role="strong">Chart Type</emphasis>. Under <emphasis role="strong">Chart type</emphasis>, click <emphasis role="strong">Line</emphasis>, and then click <emphasis role="strong">OK</emphasis>. </para><para>A line that connects the three white columns appears in the chart. </para><para>10. Click once on the line, and then click <emphasis role="strong">Selected Data Series</emphasis> on the <emphasis role="strong">Format</emphasis> menu and under <emphasis role="strong">Display line</emphasis> choose <emphasis role="strong">None</emphasis> and under <emphasis role="strong">Display marker</emphasis> choose <emphasis role="strong">None</emphasis>. Click <emphasis role="strong">OK</emphasis>.   </para><para>After some tidying up including the removal of the gridlines and the changing of the background and box colours you should end up with something like <ulink url="https://lsr-wiki-02.mrc-cbu.cam.ac.uk/statswiki/FAQ/ExcelErrorBarPlot/statswiki/FAQ/ExcelErrorBarPlot?action=AttachFile&amp;do=get&amp;target=box.xls">this</ulink> made using EXCEL 2003. </para><para>Lane and Sandor (2009) advocate and illustrate the use of boxplots because they encapsulate  graphically information on medians, interquartile ranges, ranges and outliers.  </para><para><emphasis role="underline">References</emphasis> </para><para>Elliott, J and Marsh, C (2008) Exploring Data: An Introduction to Data Analysis for Social Scientists. Second Edition. Polity Press:Cambridge. Chapter 8 introduces boxplots. </para><para>Lane, DM and Sandor, A (2009) Designing better graphs by including distributional information and integrating words, numbers and images. <emphasis>Psychological Methods</emphasis> <emphasis role="strong">14(3)</emphasis> 239-257. </para></section></article>