[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

excel 2007 graph -- adding a data point

I want to add a data point from a cell in a specific location on a bar graph in Excel 2007. it is the total amount, which i want to put at the bottom of the graph below the labels.

One question is if there is a more extensive list of formats for the bar graph.  The 7 listed don't have all the variations needed between labels, lines, etc.  

But it is probably easiest just to add a data point referring to a cell embedded in the graph.  I just don't see how to do that.

an image shot of the image is attached.
0
dougfosterNYC
Asked:
dougfosterNYC
  • 3
  • 3
1 Solution
 
Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
No image shot is attached.

The easiest is to manually add a line. Click on Insert - Shapes, and select a line, and draw it onto the graph.
0
 
Glenn RayExcel VBA DeveloperCommented:
If you actually have a "bar" graph (as opposed to a "column"), you could either extend your series to include a total or add a second series to the chart to produce a total bar:
sample total bar
If you have a second series, you may have to "trick" the graph by padding extra cells in the series range in order to place it properly, but it's definitely doable.  Definitely preferable to drawing lines:  more accurate and always scalable.

Regards,
-Glenn
0
 
dougfosterNYCAuthor Commented:
Sorry, i guess the upload didn't take. Now I attached the image.

I don't want a line, or have it be part of the graph, but rather a data cell that i can place anywhere. It's sounding like that it isn't possible.

I want to (well, my boss wants me to) put it below the label at the very bottom.
H--My-Pictures-excel-bar-graph-20140924.
0
Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

 
Glenn RayExcel VBA DeveloperCommented:
You mean like this (bar totals on top)?
stacked bar totals
You can do this by adding an additional data series for the totals.  Then, you change the chart type to "line".  Add data labels and re-position them to appear "Above" the points.  Clear the line by giving it no fill.  

See the attached example file for the construction.

Regards,
-Glenn

Edit:  I added a second chart example with the labels BELOW the bars as you requested.  Much tricker to create; you have to add line breaks in your x-axis labels; plot the total series on a secondary axis and scale it to a huge value in order to push the line to the bottom of the chart; finally put the data labels below.
EE-Q-28524729.xlsx
0
 
dougfosterNYCAuthor Commented:
wow, that is crazy, but thanks!
0
 
dougfosterNYCAuthor Commented:
This did the trick.  Thanks.
0
 
Glenn RayExcel VBA DeveloperCommented:
You're welcome.  There are lots of "slight of hand" methods to make Excel charts display in manners like this.

-Glenn
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now