Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.

Creating a Histogram from a Pivot Table.

Latest post Tue, Jan 15 2008 2:39 PM by Mike Alexander. 0 replies.
  • Tue, Jan 15 2008 2:39 PM

    Creating a Histogram from a Pivot Table.

     I'll start the PivotTable forum off with a cheap trick.

    Did you know you can use a pivot table as the source for a histogram? 

    First, you need to create a pivot table where the data values are plotted in the Row area (not the Data area). 

    Notice that the SalesAmount field is placed in the Row Labels area.

    place your data values in the Row area

    Next, right-click on any value in the Row area and select Group.
    In the Group dialog box, set the start and end values, then set the intervals. This will essentially create your frequency distribution. 

    Use the Group dialog box to create frequency distributions.

    Once you click the OK button, you can now leverage this result to create a histogram!

    Row values become a frequency distribution that can be charted into a histogram!

    The obvious benefit to this technique is you can interactively filter the data based on other dimensions like Region and Market.

    Mike Alexander Microsoft Excel MVP www.datapigtechnologies.com
    Filed under:
    • Post Points: 5
Page 1 of 1 (1 items) | RSS
Copyright Excel User Group and the relevant contributors, 2008. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.