Diff for "FAQ/ExcelErrorBarPlot" - CBU statistics Wiki
location: Diff for "FAQ/ExcelErrorBarPlot"
Differences between revisions 1 and 12 (spanning 11 versions)
 ⇤ ← Revision 1 as of 2009-04-29 12:00:30 → Size: 1508 Editor: PeterWatson Comment: ← Revision 12 as of 2009-04-29 13:10:29 → ⇥ Size: 2350 Editor: PeterWatson Comment: Deletions are marked like this. Additions are marked like this. Line 1: Line 1: Describe FAQ/ExcelErrorBarPlot here. = How do I plot a boxplot in EXCEL? = Line 3: Line 3: You can't produce boxplots directly in EXCEL but there is a rather convoluted work around described [http://support.microsoft.com/kb/155130 here.] I also reproduce Microsoft's solution below. You can't produce boxplots directly in EXCEL but there is a rather convoluted work around described [http://support.microsoft.com/kb/155130 here.] I also reproduce Microsoft's solution below for some example data. Line 7: Line 7: |||||| '''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''' || Line 8: Line 14: 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 2. Select cells A1:D6. On the '''Insert''' menu, click '''Chart'''. Line 17: Line 16: 2. Select cells A1:D6. On the Insert menu, click Chart. 3. On the '''Standard types''' tab, click '''Stock''' under '''Chart type''', and then click the fourth chart sub-type. Line 19: Line 18: 3. 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.'' Line 21: Line 21: The following explanation appears below the chart sub-type:Volume-Open-High-Low-Close. Requires five series of values in this order. 4. Click '''Next'''. Line 24: Line 23: 4. Click Next. 5. On the '''Data Range''' tab, click '''Rows''' under '''Series in''', and then click '''Next'''. Line 26: Line 25: 5. On the Data Range tab, click Rows under Series in, and then click Next. 6. On the '''Legend''' tab, click to clear the '''Show legend''' check box. Line 28: Line 27: 6. On the Legend tab, click to clear the Show legend check box. 7. On the '''Axes''' tab, click to clear the '''Value (Y) Axis''' check box under '''Secondary axis''', and then click '''Finish'''. Line 30: Line 29: 7. On the Axes tab, click to clear the Value (Y) Axis check box under Secondary axis, and then click Finish. 8. Click once on any one of the coloured columns to select the series. Do not click one of the white columns. Line 32: Line 31: 8. Click once on any one of the colored columns to select the series. Do not click one of the white columns.9. On the Chart menu, click Chart Type. Under Chart type, click Line, and then click OK. 9. On the '''Chart''' menu, click '''Chart Type'''. Under '''Chart type''', click '''Line''', and then click '''OK'''. Line 38: Line 35: 10. Click once on the line, and then click Selected Data Series on the Format menu. 10. Click once on the line, and then click '''Selected Data Series''' on the '''Format''' menu and under '''Display line''' choose '''None''' and under '''Display marker''' choose '''None'''. Click '''OK'''. 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 [attachment:box.xls this] made using EXCEL 2003.

# How do I plot a boxplot in EXCEL?

You can't produce boxplots directly in EXCEL but there is a rather convoluted work around described [http://support.microsoft.com/kb/155130 here.] I also reproduce Microsoft's solution below for some example data.

1. 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

2. Select cells A1:D6. On the Insert menu, click Chart.

3. 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.

4. Click Next.

5. On the Data Range tab, click Rows under Series in, and then click Next.

6. On the Legend tab, click to clear the Show legend check box.

7. On the Axes tab, click to clear the Value (Y) Axis check box under Secondary axis, and then click Finish.

8. Click once on any one of the coloured columns to select the series. Do not click one of the white columns.

9. 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.

10. Click once on the line, and then click Selected Data Series on the Format menu and under Display line choose None and under Display marker choose None. Click OK.

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 [attachment:box.xls this] made using EXCEL 2003.

None: FAQ/ExcelErrorBarPlot (last edited 2013-03-08 10:17:41 by localhost)