Bell Graph in Excel: How to Create a Normal Distribution
In this article
To make a bell graph (normal distribution curve) in Excel, you need to calculate the probability density for a range of values using the NORM.DIST function and then plot those values using a Scatter with Smooth Lines chart. This process transforms raw data—defined by a mean and standard deviation—into a visual representation of how data is distributed around a central average.
What You'll Need
- Microsoft Excel (any modern version)
- A set of data points or a known Mean (average) and Standard Deviation
- Basic familiarity with entering formulas into cells
Step-by-Step
- Prepare Your Data Summary: Before building the graph, you need two key values: the Mean and the Standard Deviation. If you have a list of raw numbers, calculate these in separate cells:
- For the Mean: Use
=AVERAGE(range) - For the Standard Deviation: Use
=STDEV.P(range)(for a whole population) or=STDEV.S(range)(for a sample).
- For the Mean: Use
- Create the X-Axis Data: To get a smooth curve, you need a sequence of numbers that spans the range of your data.
- In a new column (e.g., Column A), start with a value roughly 3 or 4 standard deviations below your mean.
- Enter a value slightly higher in the cell below it (e.g., if your mean is 50 and SD is 10, start at 10 and increase by 1 or 2 in each cell).
- Highlight both cells and drag the fill handle (the small square at the bottom-right of the selection) down until you reach a value 3 or 4 standard deviations above your mean.
- Calculate the Normal Distribution (Y-Axis): In the adjacent column (e.g., Column B), you will use the NORM.DIST function to find the height of the curve for each X value.
- In the first cell of Column B, type:
=NORM.DIST(A2, Mean_Cell, SD_Cell, FALSE). - Replace
A2with the cell containing your first X value,Mean_Cellwith the cell where you calculated the mean, andSD_Cellwith the cell for the standard deviation. - Crucial: Ensure the last argument is set to
FALSE. This tells Excel to calculate the Probability Density Function (the height of the curve) rather than the cumulative distribution (which would create an S-shaped curve).
- In the first cell of Column B, type:
- Apply the Formula: Double-click the fill handle of the cell containing your NORM.DIST formula to automatically fill the formula down to the bottom of your X-axis list.
- Insert the Chart:
- Highlight all the data in both the X and Y columns.
- Go to the Insert tab on the top ribbon.
- In the Charts group, click the Insert Scatter (X, Y) or Bubble Chart icon.
- Select Scatter with Smooth Lines.
- Format the Graph: Your bell curve is now visible. To make it professional:
- Click on the chart and use the Chart Elements (+) button to add Axis Titles and a Chart Title.
- Right-click the X-axis and select Format Axis to adjust the minimum and maximum bounds if there is too much empty space on the sides.
Common Mistakes
- Using TRUE instead of FALSE: The most common error is setting the fourth argument of the NORM.DIST function to TRUE. This creates a cumulative distribution curve (a line that climbs from 0 to 1) instead of a bell shape.
- Insufficient X-Axis Increments: If you only use 5 or 10 data points for your X-axis, the "curve" will look jagged or like a triangle. Use at least 50 to 100 points for a smooth, professional look.
- Incorrect Chart Type: Choosing a "Line Chart" instead of a "Scatter Chart" can distort the X-axis. Line charts treat X-axis labels as text categories, whereas Scatter charts treat them as numerical values, which is essential for a mathematically accurate bell curve.
- Wrong Standard Deviation Formula: Using STDEV.P when you only have a small sample of a larger group (or vice versa) can slightly shift the width of your curve.
Tips
- Absolute References: When writing your NORM.DIST formula, use absolute references (dollar signs) for the Mean and SD cells (e.g.,
$D$2instead ofD2). This allows you to drag the formula down without the reference cells shifting. - Dynamic Range: If you plan to change your data often, use a table (Ctrl+T) for your X and Y values so the chart updates automatically when you add more rows.
- Visual Overlays: You can create multiple bell curves on one graph by repeating the Y-axis calculation with a different mean or standard deviation and adding that new data series to the existing chart.
Troubleshooting
- The graph is a flat line: Check your Standard Deviation. If the SD is extremely large compared to the range of your X-axis, the curve will appear flat. Ensure your X-axis covers at least 6 standard deviations (3 below and 3 above the mean).
- The curve is shifted to one side: Verify that your X-axis data is centered around your mean. If your mean is 100 but your X-axis only goes from 0 to 120, the peak will be off-center.
- Excel returns a #VALUE! error: Ensure that the Mean and SD cells contain only numbers and no text or symbols. Also, check that the Standard Deviation is a positive number; NORM.DIST will error out if the SD is zero or negative.
- The line is "steppy" or jagged: Increase the number of data points in your X-axis. Instead of increments of 5, try increments of 1 or 0.5.
Frequently Asked Questions
Can I make a bell curve from raw data without calculating the mean first?
No, Excel requires the mean and standard deviation to use the NORM.DIST function. You must calculate these two values first to define the shape and position of the curve.
What is the difference between a Histogram and a Bell Graph?
A histogram shows the actual frequency of your specific data points using bars. A bell graph (normal distribution) is a theoretical mathematical curve that shows where data should fall if it follows a perfect normal distribution.
Why does my curve look like an "S" instead of a bell?
You likely set the [cumulative] argument in the NORM.DIST function to TRUE. Change this to FALSE to get the probability density function, which creates the bell shape.
How many points do I need on the X-axis for a smooth curve?
While there is no hard rule, 60 to 100 points usually provide a visually smooth curve. The smaller the increment between your X-axis values, the smoother the line will appear.
Can I change the color and thickness of the bell curve line?
Yes. Right-click the curve line in the chart, select Format Data Series, and use the Fill & Line (paint bucket) icon to change the color, width, or dash type of the line.