To find the histogram icon in Excel, go to the Insert tab, locate the Charts group, and click the Insert Statistic Chart icon (which looks like a small blue bar chart with vertical lines). From the dropdown menu, select Histogram. This tool allows you to visualize the distribution of a dataset by grouping data into ranges, known as bins, to see where values are concentrated.

What You'll Need

  • A computer with Microsoft Excel installed (Office 2016 or newer).
  • A dataset consisting of numerical values (e.g., test scores, heights, or sales figures) arranged in a single column or row.
  • Clean data: Ensure there are no text strings or empty cells within your numerical range to avoid calculation errors.

Step-by-Step

  1. Prepare Your Data: Organize your data into a single column. For example, if you are tracking employee ages, list all the ages in column A. Ensure the column has a descriptive header at the top (e.g., "Employee Age"), as Excel uses this to label the chart automatically.
  2. Select the Data Range: Click and drag your mouse to highlight the cells containing the numbers you want to analyze. You can also click a single cell in the range and press Ctrl + A (Windows) or Cmd + A (Mac) to select the entire block of data.
  3. Navigate to the Insert Tab: Click the Insert tab on the top ribbon. Note that menu labels may differ slightly depending on your version of Excel or your region.
  4. Locate the Statistic Chart Icon: In the Charts group, look for the icon that represents statistical charts. It typically looks like a blue histogram or a series of vertical bars. Click this icon to open a small dropdown menu.
  5. Select the Histogram: Under the "Histogram" section of the dropdown, click the first chart option. Excel will immediately generate a histogram on your worksheet based on the selected data.
  6. Customize the Chart Title: Double-click the default "Chart Title" text at the top of the graph and type a name that describes your data, such as "Distribution of Employee Ages."
  7. Adjust the Bin Settings: Excel automatically decides the width and number of bins (the intervals on the horizontal axis). To change this, right-click the horizontal (X) axis and select Format Axis. A pane will appear on the right side of the screen.
  8. Modify Bin Width or Count: In the Format Axis pane, under Axis Options, you can choose between several settings:
    • Bin Width: Enter a specific number to define the range of each bar (e.g., set it to 5 to group ages by 5-year increments).
    • Number of Bins: Specify exactly how many bars you want the chart to display.
    • Overflow Bin: Check this box to group all values above a certain number into a single final bar.
    • Underflow Bin: Check this box to group all values below a certain number into a single first bar.
  9. Format the Visuals: To make the chart more readable, click the Chart Design tab that appears when the chart is selected. Here you can change the color scheme or choose a "Chart Style" that adds gridlines or changes the background color.

Common Mistakes

One of the most frequent errors is attempting to create a histogram using pre-summarized data. A histogram is designed to take raw data and summarize it for you. If you have already created a frequency table (where one column is the bin range and the second column is the count), using the Histogram icon will result in a chart that displays the frequency numbers themselves rather than the distribution of the original values. In such cases, a standard Clustered Column chart is the correct choice.

Another common mistake is ignoring the data types. If your numbers are formatted as text, Excel will not be able to calculate the bins, and the histogram will either appear empty or produce an error. You can check this by looking at the alignment of your data; by default, numbers align to the right of a cell, while text aligns to the left. If your numbers are on the left, use the Number format dropdown on the Home tab to change them to "Number" or "General."

Users also frequently forget to adjust the bin width, leaving the "Automatic" setting enabled. While Excel's automatic binning is a good starting point, it often creates intervals that are not intuitive for a human reader (e.g., bins of 4.32 units). This can make the chart look cluttered or misleading, failing to highlight the actual trends in the data.

Tips

To improve the professional look of your histogram, remove the gap between the bars. While histograms traditionally have no gaps to signify a continuous scale, Excel's default style sometimes adds a small space. You can adjust this by right-clicking one of the bars, selecting Format Data Series, and reducing the Gap Width percentage to 0% or a very low number.

If you are comparing two different datasets, do not try to put them both into one histogram using the same icon. Histograms in Excel are not designed for multiple data series in the same way that line charts are. Instead, create two separate histograms and place them side-by-side, or use a "Pareto Chart" (also found under the Statistic Chart icon) if you want to see the frequency of occurrences sorted from highest to lowest.

For very large datasets, consider using the Data Analysis Toolpak. This is an add-in that provides a more advanced histogram tool. To enable it, go to File > Options > Add-ins, select "Excel Add-ins" from the Manage dropdown, click Go, and check the Analysis ToolPak box. This allows you to define your "Bin Range" manually in the spreadsheet before generating the chart.

Troubleshooting

If the histogram icon is greyed out or missing, ensure that you are using a version of Excel that supports it. This feature was introduced in Office 2016. If you are using an older version like Excel 2010 or 2013, the specific "Histogram" chart type does not exist. Your alternative is to use the Data Analysis Toolpak to create a frequency table and then create a standard Column Chart from that table.

If your chart looks like a single giant bar, it is likely because your bin width is set too high or your data has a massive outlier. For example, if most of your data is between 1 and 10, but one value is 1,000, Excel may set the bin width to 200 to accommodate the outlier, making all your primary data disappear into one bar. To fix this, right-click the X-axis, go to Format Axis, and manually set the Bin Width to a smaller number, or use the Overflow Bin setting to isolate the outlier.

If the X-axis labels are confusing or overlapping, try changing the chart's orientation or increasing the width of the chart area by clicking and dragging the corners. You can also right-click the axis, select Format Axis, and under Labels, change the Label Position to "Low" or "High" to move them away from the bars.

Frequently Asked Questions

How is a histogram different from a bar chart in Excel?

A bar chart compares discrete categories (e.g., Apples vs. Oranges), whereas a histogram shows the distribution of continuous numerical data by grouping it into ranges (e.g., 0-10, 11-20).

Can I change the number of bins after the chart is created?

Yes. Right-click the horizontal axis, select Format Axis, and change the Number of Bins value in the Axis Options pane.

Why is my histogram showing as a blank white box?

This usually happens if the selected data contains non-numeric characters or if the range is entirely empty. Ensure all cells in your selection are formatted as numbers.

Does the histogram icon work on Excel for Web?

Yes, the histogram chart is available in the web version of Excel, though some advanced formatting options in the Format Axis pane may be limited compared to the desktop application.

How do I add labels to the top of each bar?

Click the chart to select it, then click the Chart Elements button (the plus sign + icon) that appears in the top right corner of the chart. Check the box for Data Labels.

What is an "Underflow Bin"?

An underflow bin is a setting that gathers all data points below a specific threshold into one single bar at the start of the chart, preventing a few very low values from stretching the axis too far.