In this post I want to explain step by step how to create a positive/negative bar chart in Microsoft Excel. Another interesting post for Excel is here about how to highlight content.
If you want to show how multiple units does comparison to each other based on the same criteria clearly, you can use the positive negative bar chart which can display positive and negative development very good as below screenshot shown.
Table of contents
Arrange data
Supposing the original data displayed as below:
Firstly, add some helper columns:
- Calculate the difference between two columns (Column C and Column B). In cell D2, type this formula
=C2-B2
Drag fill handle down to calculate the differences.
- Calculate the increase or decrease percentage. In cell E2, type this formula
=D2/B2
Drag fill handle down to fill cells with this formula
Then keep cells selected, click Home tab, and go to the Number group, choose Percent Style button to format the cells shown as percentage.
- Calculate the positive value and negative value. In cell F2, type this formula
=IF(E2>0,E2,NA())
E2 is the percentage cell, drag fill handle down to fill the cells with this formula.
In Cell G2, type this formula
=IF(E2<0,E2,NA())
E2 is the percentage cell, drag fill handle down to fill the cells with this formula.
Now, select F2: G9, click Home > Percent Style to format these cells as percentages.
Create chart
Now create the positive negative bar chart based on the data.
- Select a blank cell, and click Insert > Insert Column or Bar Chart > Clustered Bar
- Right click at the blank chart, in the context menu, choose Select Data.
- In the Select Data Source dialog, click Add button to open the Edit Series dialog. In the Series name textbox, choose the Percentage header, then in the Series values textbox, choose E2:E9 that contains increasing and decreasing percentages, click OK.
- Back to the Select Data Source dialog, click Add to go to the Edit Series dialog again, select F1 as the series name, and F2:F9 as the series values. F2:F9 are the positive values, Click OK.
- Again, Click Add in the Select Data Source dialog to go to the Edit Series dialog, select G1 as series name, G2:G9 as series values. Click OK.
- Back to the Select Data Series dialog, click Edit button in the Horizontal (Category) Axis Labels section, and choose A2:A9 as the axis label names in the Axis Labels dialog, click OK > OK to finish the select data.
Now the chart is displayed as below:
Then select the blue series, which express the increasing and decreasing percentage values, click Delete to remove them.
Adjust chart
Then adjust the chart.
- Right click at the axis labels, then choose Format Axis from context menu, and in the popped Format Axis pane, check Categories in reverse order checkbox in Axis Options section, and scroll down to the Labels section, choose Low from the drop-down list beside Label Position.
- Remove gridlines and X (horizontal) axis.
- Right click at one series to select Format Data Point from the context menu, and in the Format Data Point pane, adjust Series Overlap to 0%, Gap Width to 25%.
- Right click at left series, and click Add Data Label > Add Data Labels.
- Remove the #N/A labels one by one.
- Select the chart to show the Design tab, and under Design tab, click Add Chart Element > Gridlines > Primary Major Horizontal.
You can change the series color and add chart title as you need.
This normal way can create the positive negative bar chart, but it is troublesome and takes much time. For users who want to quickly and easily handle this job, you can try below method.
If you want the file to create a Positive/Negative bar chart in Excel, visit the download section.