Solved

Add several labels to column-chart

Posted on 2014-04-07
1
236 Views
Last Modified: 2014-05-21
Hi,

I've plotted a simple column chart containing one data series, which dictates the lenght of the bars.

I want to use to additional data series as labels, which are automatically updated and are placed at a location of my choosing - placing should not be dependent on the values in the series. See attached pic for a mock-up.

It seems to be possible using two series and then showing both series values and value from cells in the second series, formatting the columns of this series to be transparent and then manually rearranging the position of the labels one-by-one (see attached excel-file).

This, however, seems to be an extremely combersome way of doing it. Any solution that would accomplish this more neatly and efficiently is greatly appreciated
MPK-Rapport-mock-up-0.4.xlsx
Mock-up.jpg
0
Comment
Question by:decisionfocus
1 Comment
 
LVL 21

Accepted Solution

by:
Ejgil Hedegaard earned 500 total points
ID: 39992150
Using a second dataset, plotted on a secondary axis is an ok solution.
In attached file the values are in column J, and the categories for series 2 in column K.
The categories are used to display the additional information.
Nothing is manually rearranged.
I moved the categories for series 1 to display left, because used in the datalabels the text wraps to 3 rows. I use Excel 2007, perhaps it works in 2010 or 13.

Another point is getting the data from sheet Data Input.
Formulas for each row varies, and is difficult to maintain.
See the copy of the sheet "Afvigelser ressourcer rød (2)" where one Index/Match formula is made in B2, and then copied to B2:I25 (could also be used in remaining columns).
Then only the Project name in column A, and the headers in row 1 need to be set.
MPK-Rapport-mock-up-0.4-1.xlsx
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

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,…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 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