<?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/errbar07</title><revhistory><revision><revnumber>22</revnumber><date>2015-11-10 14:00:49</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>21</revnumber><date>2015-11-10 14:00:26</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>20</revnumber><date>2015-11-10 13:59:49</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>19</revnumber><date>2013-05-30 15:09:41</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>18</revnumber><date>2013-05-30 11:13:39</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>17</revnumber><date>2013-05-30 11:12:33</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>16</revnumber><date>2013-05-30 11:03:19</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>15</revnumber><date>2013-05-30 11:02:37</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>14</revnumber><date>2013-03-08 10:17:38</date><authorinitials>localhost</authorinitials><revremark>converted to 1.6 markup</revremark></revision><revision><revnumber>13</revnumber><date>2012-10-23 10:17:43</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>12</revnumber><date>2012-10-23 10:17:32</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>11</revnumber><date>2011-09-12 10:49:28</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>10</revnumber><date>2011-09-12 10:49:08</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>9</revnumber><date>2010-11-03 11:52:30</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>8</revnumber><date>2010-10-26 13:55:53</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>7</revnumber><date>2010-10-26 13:26:12</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>6</revnumber><date>2010-10-26 13:08:17</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>5</revnumber><date>2010-10-26 13:00:21</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>4</revnumber><date>2010-03-11 17:05:24</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>3</revnumber><date>2010-03-11 17:04:48</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>2</revnumber><date>2010-02-25 14:30:32</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>1</revnumber><date>2010-02-25 14:29:45</date><authorinitials>PeterWatson</authorinitials></revision></revhistory></articleinfo><section><title>Putting error bars on graphs using EXCEL 2007, 2010 and 2013</title><para>(This a bit more convoluted than in earlier versions of EXCEL but uses exactly the same strategy) </para><orderedlist numeration="arabic"><listitem><para>    Click on <emphasis role="strong">INSERT</emphasis> on menu bar and doubleclick on <emphasis role="strong">COLUMN</emphasis> in the <emphasis role="strong">CHARTS</emphasis>  section at the top of the spreadsheet. </para></listitem><listitem><para>    Choose <emphasis role="strong">2-D COLUMN CLUSTERED</emphasis> (leftmost chart on 1st row from the top).  </para></listitem><listitem><para>    Doubleclick on the outputted graph.  In the <emphasis role="strong">DATA</emphasis> section at the top of the spreadsheet click <emphasis role="strong">SELECT DATA</emphasis>. Note: for EXCEL 2010 double right click on the graph and choose <emphasis role="strong">SELECT DATA</emphasis> from the resulting pop-up menu. </para></listitem><listitem><para>    In the left window labelled <emphasis role="strong">LEGEND ENTRIES (SERIES)</emphasis> click <emphasis role="strong">ADD</emphasis>. </para></listitem><listitem><para>    In the <emphasis role="strong">SERIES NAME</emphasis> box type in Males; Delete all contents in the <emphasis role="strong">SERIES VALUES</emphasis> box directly beneath and click the spreadsheet icon immediately to the right of the <emphasis role="strong">SERIES VALUES</emphasis> box. </para></listitem><listitem><para>    Highlight cells A2 to A4 in the column representing the means (these should appear in the <emphasis role="strong">SERIES VALUES</emphasis> box). Click <emphasis role="strong">OK</emphasis>. </para></listitem><listitem><para>    In the left window labelled <emphasis role="strong">LEGEND ENTRIES (SERIES)</emphasis> click <emphasis role="strong">ADD</emphasis>. </para></listitem><listitem><para>    Repeat steps 5 and 6 for Females: in the <emphasis role="strong">SERIES NAME</emphasis> box type in Females, delete all contents in the <emphasis role="strong">SERIES VALUES</emphasis> box directly beneath and click the spreadsheet icon immediately to the right of the <emphasis role="strong">SERIES VALUES</emphasis> box. </para></listitem><listitem><para>    Highlight cells A5 to A7 in the column representing the means (these should appear in the <emphasis role="strong">SERIES VALUES</emphasis> box). Click <emphasis role="strong">OK</emphasis>. </para></listitem><listitem><para>Click <emphasis role="strong">EDIT</emphasis> in the <emphasis role="strong">HORIZONTAL (CATEGORY) AXIS LABELS</emphasis> box. </para></listitem><listitem><para>     Delete any contents In the <emphasis role="strong">AXES LABEL RANGE</emphasis> box, and insert {“NE”,”SE”,”W”} and click <emphasis role="strong">OK</emphasis>. </para></listitem><listitem><para>     Now doubleclick on any bar representing males in the graph and choose <emphasis role="strong">LAYOUT</emphasis> in the top spreadsheet menu and in the <emphasis role="strong">ANALYSIS</emphasis> section click <emphasis role="strong">ERROR BARS&gt;MORE ERROR BARS OPTIONS</emphasis> and choose <emphasis role="strong">CUSTOM</emphasis> and click <emphasis role="strong">SPECIFY VALUE</emphasis>. Note: In EXCEL 2013 the custom error bar option is found by clicking on the <emphasis role="strong">DESIGN</emphasis> tab and choosing <emphasis role="strong">ADD CHART ELEMENT</emphasis> on the far left of the upper tool bar. </para></listitem><listitem><para>    Click on the spreadsheet icon adjacent to the box under <emphasis role="strong">POSITIVE ERROR VALUE</emphasis> and highlight cells B2 to B4 in the width (standard error) column. The co-ordinates of the standard error row should appear in the <emphasis role="strong">POSITIVE ERROR VALUE</emphasis> box. Repeat for the <emphasis role="strong">NEGATIVE ERROR VALUE</emphasis> box again highlighting cells B2 to B4. Click <emphasis role="strong">OK</emphasis> and <emphasis role="strong">CLOSE</emphasis>.  </para></listitem><listitem><para>    Repeat steps 15 and 16 for females by clicking on any bar representing females and placing cells B5 to B7 in the <emphasis role="strong">POSITIVE ERROR VALUE</emphasis> and <emphasis role="strong">NEGATIVE ERROR VALUE</emphasis> boxes. </para></listitem><listitem><para>    Click <emphasis role="strong">OK</emphasis> and <emphasis role="strong">CLOSE</emphasis>. You should now have a bar chart with error bars. Doubleclicking on the bars and clicking the <emphasis role="strong">FORMAT</emphasis> tab in the menu bar  located at the top of the spreadsheet allows the user to change the style and colour of the bars.  </para></listitem></orderedlist><para>A similar approach to the above works producing line plots with error bars at set points (usually corresponding to groups) on the x-axis. The line plot can then be edited to leave just error bars. If using EXCEL 2010 you can double click on a particular error bar on a particular line and choose <emphasis role="strong">Marker Options&gt;Built in</emphasis> and choose <emphasis role="strong">type</emphasis>. An error bar centrepoint in the particular type will then appear in the middle of the error bar. This can be repeated for each error bar. If you then double click on a line and choose <emphasis role="strong">Line Color&gt;no line</emphasis> the line disappears leaving just the error bars giving something like <ulink url="https://lsr-wiki-02.mrc-cbu.cam.ac.uk/statswiki/FAQ/errbar07/statswiki/FAQ/errbar07?action=AttachFile&amp;do=get&amp;target=errbars.ppt">this.</ulink> If you then also click on each error bar and choose Line Color&gt;Solid line the error bar lines will change colour like  <ulink url="https://lsr-wiki-02.mrc-cbu.cam.ac.uk/statswiki/FAQ/errbar07/statswiki/FAQ/errbar07?action=AttachFile&amp;do=get&amp;target=errbarcol.ppt">this.</ulink> </para></section></article>