Вы находитесь на странице: 1из 6

XL: How to Create a Bell Curve Chart

1 of 6

https://support.microsoft.com/en-us/kb/213930

Sign in

XL: How to Create a Bell


Curve Chart
This article was previously published under Q213930

SUMMARY
A bell curve is a plot of normal distribution of a given data set. This article
describes how you can create a chart of a bell curve in Microsoft Excel.

MORE INFORMATION
In the following example you can create a bell curve of data generated by
Excel using the Random Number Generation tool in the Analysis ToolPak.
After Microsoft Excel generates a set of random numbers, you can create a
histogram using those random numbers and the Histogram tool from the
Analysis ToolPak. From the histogram, you can create a chart to represent a
bell curve.
To create a sample bell curve, follow these steps:
1. Start Excel.
2. Enter the following column headings in a new worksheet:

A1:Original

B1:Average

C1:Bin

D1:Random

E1:Histogram

G1:Hist

3. Enter the following data in the same worksheet:

20/05/2016 9:27

XL: How to Create a Bell Curve Chart

2 of 6

https://support.microsoft.com/en-us/kb/213930

A2:
A3:
A4:
A5:
A6:
A7:
A8:
A9:

23
25
12
24
27
57
45
19

B2:
B3: STDEV
B4:

4. Enter the following formulas in the same worksheet:

B2:
B3:
B4:

=AVERAGE(A2:A9)
=STDEV(A2:A9)

These formulas will generate the average (mean) and standard


deviation of the original data, respectively.
5. Enter the following formulas to generate the bin range for the
histogram:

C2: =$B$2-3*$B4

This generates the lower limit of the bin range. This number
represents three standard deviations less than the average.

C3: =C2+$B$4

This formula adds one standard deviation to the number calculated in


the cell above.
6. Select Cell C3, grab the fill handle, and then fill the formula down
from cell C3 to cell C8.
7. To generate the random data that will form the basis for the bell
curve, follow these steps:

20/05/2016 9:27

XL: How to Create a Bell Curve Chart

3 of 6

https://support.microsoft.com/en-us/kb/213930

a. On the Tools menu, click Data Analysis.


b. In the Analysis Tools box, click Random Number Generation,
and then click OK.
c. In the Number of Variables box, type 1.
d. In the Number of Random Numbers box, type 2000.
NOTE: Varying this number will increase or decrease the
accuracy of the bell curve.
e. In the Distribution box, select Normal.
f. In the Parameters pane, enter the number calculated in cell B2
(29 in the example) in the Mean box.
g. In the Standard Deviation box enter the number calculated in
cell B4 (14.68722).
h. Leave the Random Seed box blank.
i. In the Output Options pane, click Output Range.
j. Type D2 in the Output Range box.
This will generate 2,000 random numbers that fit in a normal
distribution.
k. Click OK.
8. To create a histogram for the random data, follow these steps:
a. On the Tools menu, click Data Analysis.
b. In the Analysis Tools box, select Histogram, and then click OK.
c. In the Input Range box, type D2:D2001.
d. In the Bin Range box, type C2:C8.
e. In the Output Options pane, click Output Range.
f. Type E2 in the Output Range box.
g. Click OK.
9. To create a histogram for the original data, follow these steps:
a. On the Tools menu, click Data Analysis.
b. Click Histogram, and then click OK.

20/05/2016 9:27

XL: How to Create a Bell Curve Chart

4 of 6

https://support.microsoft.com/en-us/kb/213930

c. In the Input Range box, type A2:A9.


d. In the Bin Range box, type C2:C8.
e. In the Output Options pane, click Output Range.
f. Type G2 in the Output Range box.
g. Click OK.
10. Create labels for the legend in the chart by entering the following:

E14: =G1&"-"&G2
E15: =E1&"-"&F2
E16: =G1&"-"&H2

11. Select the range of cells, E2:H10, on the worksheet.


12. On the Insert menu, click Chart.
13. Under Chart type, click XY (Scatter).
14. Under Chart sub-type, in the middle row, click the chart on the right.
NOTE: Just below these 5 sub-types, the description will say "Scatter
with data points connected by smoothed lines without markers."
15. Click Next.
16. Click the Series tab.
17. In the Name box, delete the cell reference, and then select cell E15.
18. In the X Values box, delete the range reference, and then select the
range E3:E10.
19. In the Y Values box, delete the range reference, and then select the
range F3:F10.
20. Click Add to add another series.
21. Click the Name box, and then select cell E14.
22. Click the X Values box, and then select the range E3:E10.
23. In the Y Values box, delete the value that's there, and then select the
range G3:G10.
20/05/2016 9:27

XL: How to Create a Bell Curve Chart

5 of 6

https://support.microsoft.com/en-us/kb/213930

24. Click Add to add another series.


25. Click the Name box, and then select cell E16.
26. Click the X Values box, and then select the range E3:E10.
27. Click the Y Values box, delete the value that's there, and then select
the range H3:H10.
28. Click Finish.
The chart will have two curved series and a flat series along the x-axis.
29. Double-click the second series; it should be labeled "- Bin" in the
legend.
30. In the Format Data Series dialog box, click the Axis tab.
31. Click Secondary Axis, and then click OK.
You now have a chart that compares a given data set to a bell curve.

REFERENCES
For more information about creating charts, click Microsoft Excel Help on
the Help menu, type create a chart in the Office Assistant or the Answer
Wizard, and then click Search to view the topic.

Properties
Article ID: 213930 - Last Review: 09/18/2011 23:58:00 - Revision: 4.0
Applies to
Microsoft Excel 2000 Standard Edition
Microsoft Excel 97 Standard Edition
Keywords:
kbhowto KB213930

20/05/2016 9:27

XL: How to Create a Bell Curve Chart

6 of 6

https://support.microsoft.com/en-us/kb/213930

Support

Security

Contact Us

Account support

Safety & Security Center

Report a support scam

Supported products list

Download Security Essentials

Disability Answer Desk

Product support lifecycle

Malicious Software Removal Tool Locate Microsoft addresses


worldwide

English (United States)


Terms of use

Privacy & cookies

Trademarks

2016 Microsoft

20/05/2016 9:27

Вам также может понравиться