Solved

Super impose a line graph on a bar graph

Posted on 2014-10-01
6
174 Views
Last Modified: 2014-10-02
Hi,

I have some data from 5 regions on a bar graph, it shows average values of deals for each region

I would like to somehow show the median values on the same graph to visually show the difference between Average deal size and median deal size

I have attached the file - its chart Avg vs Median and the data for median is in tab "Data" N16 - We are only interested in Totals for each region "ASP, EU, LA, ME, NA"

Many thanks
RD-Analysis-light.xlsx
0
Comment
Question by:Seamus2626
  • 3
  • 3
6 Comments
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40355015
The total median deal size is actually in cell O14 on the "Data" sheet.  Do you want to see a horizontal line showing that value on the Avg. vs. Median chart?

-Glenn
0
 

Author Comment

by:Seamus2626
ID: 40355018
Yep, exactly....thanks Glenn
0
 
LVL 27

Accepted Solution

by:
Glenn Ray earned 500 total points
ID: 40355118
Here's my first attempt.  I have a gut feeling that there's a better method, but I was trying avoid modifying your original data set if at all possible.

It wasn't possible to create a line over the original chart because you used separate series.  So I created a new chart, first as a line chart for the regional data, then added a second series for the median.  I changed the chart type to column for the regional averages and changed the fill for each bar.   I had to manually create the "Median - 16.1" label, but I think there's a trick to getting that value added there.
line and column chart-Glenn
EE-RD-Analysis-light.xlsx
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

Author Closing Comment

by:Seamus2626
ID: 40355210
Thats brilliant Glenn! Please though, if there is a better method re-arranging my raw data, i would love to see it!
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40355755
I did make a couple of modifications.  First, I added a series label cell for the Median Line above the series (Data sheet, G14).  Second, I created a standardized formula to pick up the median value on for those region-categories NOT "CMB", "FI", or "GBM".  These are in cells G16:G35 on the Data sheet.  

-Glenn
EE-RD-Analysis-light.xlsx
0
 

Author Comment

by:Seamus2626
ID: 40356544
Thats very kind of you Glenn!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question