Create a histogram - Microsoft Support (2024)

Excel

  1. Select your data.

    (This is a typical example of data for a histogram.)

    Create a histogram - Microsoft Support (1)
  2. Click Insert > Insert Statistic Chart > Histogram.

    Create a histogram - Microsoft Support (2)

    You can also create a histogram from the All Charts tab in Recommended Charts.

Tips:

  • Use the Design and Format tabs to customize the look of your chart.

  • If you don't see these tabs, click anywhere in the histogram to add the Chart Tools to the ribbon.

Create a histogram - Microsoft Support (3)

  1. Right-click the horizontal axis of the chart, click Format Axis, and then click Axis Options.

    Create a histogram - Microsoft Support (4)
  2. Use the information in the following table to decide which options you want to set in the Format Axis task pane.

    Option

    Description

    By Category

    Choose this option when the categories (horizontal axis) are text-based instead of numerical. The histogram will group the same categories and sum the values in the value axis.

    Tip:To count the number of appearances for text strings, add a column and fill it with the value “1”, then plot the histogram and set the bins to By Category.

    Automatic

    This is the default setting for histograms. The bin width is calculated using Scott’s normal reference rule.

    Bin width

    Enter a positive decimal number for the number of data points in each range.

    Number of bins

    Enter the number of bins for the histogram (including the overflow and underflow bins).

    Overflow bin

    Select this check box to create a bin for all values above the value in the box to the right. To change the value, enter a different decimal number in the box.

    Underflow bin

    Select this check box to create a bin for all values below or equal to the value in the box to the right. To change the value, enter a different decimal number in the box.

    Create a histogram - Microsoft Support (5)

Tip:To read more about the histogram chart and how it helps you visualize statistical data, see this blog post on the histogram, Pareto, and box and whisker chart by the Excel team. You may also be interested learning more about the other new chart types described in this blog post.

Automatic option (Scott’s normal reference rule)

Create a histogram - Microsoft Support (6)

Scott’s normal reference rule tries to minimize the bias in variance of the histogram compared with the data set, while assuming normally distributed data.

Overflow bin option

Create a histogram - Microsoft Support (7)

Underflow bin option

Create a histogram - Microsoft Support (8)

Outlook, PowerPoint, Word

  1. Select your data.

    (This is a typical example of data for a histogram.)

    Create a histogram - Microsoft Support (9)
  2. Click Insert > Chart.

    Create a histogram - Microsoft Support (10)
  3. In the Insert Chart dialog box, under All Charts, click Histogram , and click OK.

Tips:

  • Use the Design and Format tabs on the ribbon to customize the look of your chart.

  • If you don't see these tabs, click anywhere in the histogram to add the Chart Tools to the ribbon.

Create a histogram - Microsoft Support (11)

  1. Right-click the horizontal axis of the chart, click Format Axis, and then click Axis Options.

    Create a histogram - Microsoft Support (12)
  2. Use the information in the following table to decide which options you want to set in the Format Axis task pane.

    Option

    Description

    By Category

    Choose this option when the categories (horizontal axis) are text-based instead of numerical. The histogram will group the same categories and sum the values in the value axis.

    Tip:To count the number of appearances for text strings, add a column and fill it with the value “1”, then plot the histogram and set the bins to By Category.

    Automatic

    This is the default setting for histograms.

    Bin width

    Enter a positive decimal number for the number of data points in each range.

    Number of bins

    Enter the number of bins for the histogram (including the overflow and underflow bins).

    Overflow bin

    Select this check box to create a bin for all values above the value in the box to the right. To change the value, enter a different decimal number in the box.

    Underflow bin

    Select this check box to create a bin for all values below or equal to the value in the box to the right. To change the value, enter a different decimal number in the box.

    Create a histogram - Microsoft Support (13)

Follow these steps to create a histogram in Excel for Mac:

  1. Select the data.

    (This is a typical example of data for a histogram.)

    Create a histogram - Microsoft Support (14)
  2. On the ribbon, click the Insert tab, then click Create a histogram - Microsoft Support (15) (Statistical icon) and under Histogram, select Histogram.

Tips:

  • Use the Chart Design and Format tabs to customize the look of your chart.

  • If you don't see the Chart Design and Format tabs, click anywhere in the histogram to add them to the ribbon.

In Excel Online, you can view a histogram (a column chart that shows frequency data), but you can’t create it because it requires the Analysis ToolPak, an Excel add-in that isn’t supported in Excel for the web.

If you have the Excel desktop application, you can use the Edit in Excel button to open Excel on your desktop and create the histogram.

Create a histogram - Microsoft Support (16)

  1. Tap to select your data.

    Create a histogram - Microsoft Support (17)
  2. If you're on a phone, tap the edit icon Create a histogram - Microsoft Support (18) to show the ribbon. and then tap Home.

  3. Tap Insert > Charts > Histogram.

    If necessary, you can customize the elements of the chart.

    Note:This feature is only available if you have a Microsoft 365 subscription. If you are a Microsoft 365subscriber, make sure you have the latest version of Office.

    Buy or try Microsoft 365

  1. Tap to select your data.

    Create a histogram - Microsoft Support (19)
  2. If you're on a phone, tap the edit icon Create a histogram - Microsoft Support (20) to show the ribbon, and then tap Home.

  3. Tap Insert > Charts > Histogram.

Create a histogram - Microsoft Support (2024)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Maia Crooks Jr

Last Updated:

Views: 6591

Rating: 4.2 / 5 (43 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Maia Crooks Jr

Birthday: 1997-09-21

Address: 93119 Joseph Street, Peggyfurt, NC 11582

Phone: +2983088926881

Job: Principal Design Liaison

Hobby: Web surfing, Skiing, role-playing games, Sketching, Polo, Sewing, Genealogy

Introduction: My name is Maia Crooks Jr, I am a homely, joyous, shiny, successful, hilarious, thoughtful, joyous person who loves writing and wants to share my knowledge and understanding with you.