fbpx
Search
Close this search box.

Excel Charting Hacks #1

Share

Facebook
Twitter
LinkedIn

The other day I had to make some graphs about revenues and profits of a set of companies. While doing it I wanted to use bar chart with bars of profit and revenue overlapping. But when I mentioned the revenue as 3000 and profit as 1500, the graph would show up something like this. As you can see the totals are adding up to 4500 where as the company is making only 3000.

I thought changing the revenue figures to revenue-profit would solve the problem. It did solve the bar height problem, but it did create a new problem. Now the revenue is represented as 1500 instead of actual number 1500.

I think this is a pretty common usage of charts, so I am sharing a work around (not really, but I would like to show off) for this. Remove the data labels for the series 2 (revenue). Add a new data series with actual revenue values to the chart (right click, ‘source data’->’add series’). Now this new series would be stacked on the top of profit, revenue-profit values. Just set the background and border property for this to ‘none’ and set the data-labels for ‘values’. Adjust the alignment to ‘Inside bar-base’ and you have something like this.

Oh, you might want to re adjust the axis scale to original one in case its screwed up because of the new series. Happy visualization.

Facebook
Twitter
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Excel School made me great at work.
5/5

– Brenda

Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

letter grades from test scores in Excel

How to convert test scores to letter grades in Excel?

We can use Excel’s LOOKUP function to quickly convert exam or test scores to letter grades like A+ or F. In this article, let me explain the process and necessary formulas. I will also share a technique to calculate letter grades from test scores using percentiles.

2 Responses to “Excel Charting Hacks #1”

  1. Jon Peltier says:

    If you make a stacked column chart, the value of each series is plotted above the preceding series. If you make a clustered column chart, each value is plotted next to the preceding series. In a clustered chart, you can adjust the overlap, so that the second series moves in front of the first. This can be deceiving, because someone reading the chart may not realize that the value of the taller column starts at zero instead of the top of the series in front. Therefore you may want to use an overlap of 50 instead of 100.

  2. Juan says:

    Do you have the workbook to download and know how to do it? Thanks in advance!

Leave a Reply