It is common to create a population pyramid in Excel, in order to identify the distribution of its customers or employees
Unfortunately, Excel doesn't have this template in the Chart's ribbon. But you can create easily a population pyramid chart by following these steps.
The data for a Population Pyramid
Put one column with negative values
Before to create your chart, you must perform a subtraction of one column with 0.
Women are generally on the left of a population pyramid so this column must have negative values.
- In a new column, write this formula
- And copy this formula for the others cells
Choice of the chart
Now, it's time to select the chart
- Select your data
- In the ribbon select Insert>Charts
- Then, choose the chart type 'Bar'
- Finish by the option 2D Bar>Clustered bars.
Remove unnecessary data
We have a chart that has two columns for the women (a positive column and a negative). We will remove the positive column.
Select the chart and select the menu Design > Select Data. The following dialog appears:
You will also have display this dialog box by doing a right click on your chart and choosing 'Select data ...'
You can see that in your chart, the bars are thin and offset with respect to each other. It is very easy to remedy these two points.
After selecting the chart in the Layout tab, you select the series Women and then you click Format Selection. You can also right-click on your chart and select the menu Format data series.... The dialog box is displayed.
To reduce the gap between the bars, you will move the cursor to 0% (no gap) and the bars are not offset. Then you move the cursor to 100% (overlapped).
The graph becomes
To complete our graph, we must reverse the vertical-axis so that the lowest values at the bottom, set the horizontal-axis while the left and also change the number format to not display negative values.
Select the vertical axis (using the dropdown menu in the Layout tab is easier) and then you click Format Selection. In the Settings box, you select Axis Options and you select 'Categories in reverse order' (to return the chart) and also change the value 'Axis Labels' in the Low (to put axis labels on the left).
Then select the horizontal axis.
And the chart becomes :
Change the design
It only remains for you to use the various menus layouts for a very neat pyramid.
The chart becomes
And if you change the color of the format Series (Gradient fill)