Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Create a Histogram in Excel

Learn how to create a histogram in Excel with clear steps, practical context, and useful troubleshooting guidance.

Table of Contents

This updated guide examines How to Create a Histogram in Excel and organizes the essential facts, background, and practical takeaways in clear American English.

Part 1

Inputting Your Data

  1. How to Create a Histogram in Excel — contextual image 1 Open Microsoft Excel. Its app icon resembles a white "X" on a green background. You should see the Excel workbook page open.
    • On a Mac, this step may open a new, blank Excel sheet. If so, skip the next step.
  2. How to Create a Histogram in Excel — contextual image 2 Create a new document. Click Blank workbook in the upper-left corner of the window (Windows), or click File and then click New Workbook (Mac).
  3. How to Create a Histogram in Excel — contextual image 3 Determine both your smallest and your largest data points. This is important in helping figure out what your bin numbers should be and how many you should have.
    • For example, if your data range stretches from 17 to 225, your smallest data point would be 17 and the largest would be 225.
  4. How to Create a Histogram in Excel — contextual image 4 Determine how many bin numbers you should have. Bin numbers are what sort your data into groups in the histogram. The easiest way to come up with bin numbers is by dividing your largest data point (e.g., 225) by the number of points of data in your chart (e.g., 10) and then rounding up or down to the nearest whole number, though you rarely want to have more than 20 or less than 10 numbers. You can use a formula to help if you're stuck:[1]XResearch source
    • Sturge's Rule - The formula for this rule isK = 1 + 3.322 * log(N)where K is the number of bin numbers and N is the number of data points; once you solve for K, you'll round up or down to the nearest whole number. Sturge's Rule is best used for linear or "clean" sets of data.
    • Rice's Rule - The formula for this rule iscube root (number of data points) * 2(for a data set with 200 points, you would find the cube root of 200 and then multiply that number by 2). This formula is best used for erratic or inconsistent data.
  5. How to Create a Histogram in Excel — contextual image 5 Determine your bin numbers. Now that you know how many bin numbers you have, it's up to you to figure out the most even distribution. Bin numbers should increase in a linear fashion while including both the lowest and the highest data points.
    • For example, if you were creating bin numbers for a histogram documenting test scores, you would most likely want to use increments of 10 to represent the different grading brackets. (e.g., 59, 69, 79, 89, 99).
    • Increasing in sets of 10s, 20s, or even 100s is fairly standard for bin numbers.
    • If you have extreme outliers, you can either leave them out of your bin number range or tailor your bin number range to be low/high enough to include them.
  6. How to Create a Histogram in Excel — contextual image 6 Add your data in column A. Type each data point into its own cell in column A .
    • For example, if you have 40 pieces of data, you would add each piece to cells A1 through A40 , respectively.
  7. How to Create a Histogram in Excel — contextual image 7 Add your bin numbers in column C if you're on a Mac. Starting in cell C1 and working down, type in each of your bin numbers. Once you've completed this step, you can proceed with actually creating the histogram.
    • You'll skip this step on a Windows computer.

Part 2

Creating the Histogram on Windows

  1. How to Create a Histogram in Excel — contextual image 8 Select your data. Click the top cell in column A , then hold down⇧Shiftwhile clicking the last column A cell that contains data.
  2. How to Create a Histogram in Excel — contextual image 9 Click theInserttab. It's in the green ribbon that's at the top of the Excel window. Doing so switches the toolbar near the top of the window to reflect the Insert menu.
  3. How to Create a Histogram in Excel — contextual image 10 ClickRecommended Charts. You'll find this option in the "Charts" section of the Insert toolbar. A pop-up window will appear.
  4. How to Create a Histogram in Excel — contextual image 11 Click theAll Chartstab. It's at the top of the pop-up window.
  5. How to Create a Histogram in Excel — contextual image 12 ClickHistogram. This tab is on the left side of the window.
  6. How to Create a Histogram in Excel — contextual image 13 Select the Histogram model. Click the left-most bar chart icon to select the Histogram model (rather than the Pareto model), then click OK . Doing so will create a simple histogram with your selected data.
  7. How to Create a Histogram in Excel — contextual image 14 Open the horizontal axis menu. Right-click the horizontal axis (e.g., the axis with numbers in brackets), click Format Axis... in the resulting drop-down menu, and click the bar chart icon in the "Format Axis" menu that appears on the right side of the window.
  8. How to Create a Histogram in Excel — contextual image 15 Check the "Bin width" box. It's in the middle of the menu.[2]XResearch source
  9. How to Create a Histogram in Excel — contextual image 16 Enter your bin number interval. Type into the "Bin width" text box the value of an individual bin number, then press↵Enter. Excel will automatically format the histogram to display the appropriate number of columns based on your bin number.
    • For example, if you decided to use bins that increase by 10, you would type in10here.
  10. How to Create a Histogram in Excel — contextual image 17 Label your graph. This is only necessary if you want to add titles to your graph's axes or the graph as a whole:
    • Axis Titles - Click the green to the right of the graph, check the "Axis Titles" box, click an Axis Title text box on the left or the bottom of the graph, and type in your preferred title.
    • Chart Title - Click the Chart Title text box at the top of the histogram, then type in the title that you want to use.
  11. How to Create a Histogram in Excel — contextual image 18 Save your histogram. PressCtrl+S, select a save location, enter a name, and click Save .

Part 3

Creating the Histogram on Mac

  1. How to Create a Histogram in Excel — contextual image 19 Select your data and the bins. Click the top value in cell A to select it, then hold down⇧Shiftwhile clicking the C cell that's across from the bottom-most A cell that has a value in it. This will highlight all of your data and the corresponding bin numbers.
  2. How to Create a Histogram in Excel — contextual image 20 ClickInsert. It's a tab in the green Excel ribbon at the top of the window.
  3. How to Create a Histogram in Excel — contextual image 21 Click the bar chart icon. You'll find this in the "Charts" section of the Insert toolbar. Doing so will prompt a drop-down menu.
  4. How to Create a Histogram in Excel — contextual image 22 Click the "Histogram" icon. It's the set of blue columns below the "Histogram" heading. This will create a histogram with your data and bin numbers.
    • Be sure not to click the "Pareto" icon, which resembles blue columns with an orange line.
  5. How to Create a Histogram in Excel — contextual image 23 Review your histogram. Before saving, make sure that your histogram looks accurate; if not, consider adjusting the bin numbers and redoing the histogram.
  6. How to Create a Histogram in Excel — contextual image 24 Save your work. Press⌘Command+S, enter a name, select a save location if necessary, and click Save .

FAQ

What is How to Create a Histogram in Excel about?

It provides a structured overview of click, explains the main context, and highlights practical takeaways for readers.

Why does this topic matter?

Understanding the main concepts helps readers evaluate the issue, avoid common mistakes, and make better-informed decisions.

How should readers use this information?

Use the guidance as a practical starting point, confirm details that may have changed, and follow current product, safety, or security recommendations.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.