Super impose a line graph on a bar graph

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
Seamus2626Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Glenn RayExcel VBA DeveloperCommented:
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
Seamus2626Author Commented:
Yep, exactly....thanks Glenn
0
Glenn RayExcel VBA DeveloperCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Seamus2626Author Commented:
Thats brilliant Glenn! Please though, if there is a better method re-arranging my raw data, i would love to see it!
0
Glenn RayExcel VBA DeveloperCommented:
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
Seamus2626Author Commented:
Thats very kind of you Glenn!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.