plot dots on top of bar graph

helenkim

New Member
Joined
Feb 2, 2011
Messages
39
hello,
I created a bar graph and now i want to plot dots on top of the existing bar graph. does anyone know how i need to a)organize my data in order to do so and b) what i need to actually do in order to insert the dots on top of the bar graph?

so for example, i have mon-fri listed vertically along the axis and i have calories graphed to the right. well i want a dot on the calories bar indicating what my ideal should have been. to be more specific, if i graphed 2000 calories in monday, i want a dot on 1200 calories to show that is my ideal.

any idea? thank you!!
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
You'd just need another series in your chart, use the line-with-dots format, and then just delete the lines and you'll be left with the dot where your target is.
 
Upvote 0
thanks! but could you explain how i can plot it horizontally? it seems to plot vertically if i switch it to lines. and also, how do you delete the lines?

thanks so much!
 
Upvote 0
Ugh, sorry, I answered too early in the AM and completely misunderstood.

You're looking for something like this:

BarLine3.gif


I assume your data is formatted like so:

<b>Sheet1</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Arial,Arial; font-size:10pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:34px;" /><col style="width:64px;" /><col style="width:64px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td></tr><tr style="height:17px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td > </td><td style="text-align:center; ">Calories</td><td style="text-align:center; ">Target</td></tr><tr style="height:17px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td >Mon</td><td style="text-align:center; ">1504</td><td style="text-align:center; ">1796</td></tr><tr style="height:17px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td >Tue</td><td style="text-align:center; ">1500</td><td style="text-align:center; ">1532</td></tr><tr style="height:17px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td >Wed</td><td style="text-align:center; ">1387</td><td style="text-align:center; ">1184</td></tr><tr style="height:17px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td >Thu</td><td style="text-align:center; ">1218</td><td style="text-align:center; ">1497</td></tr><tr style="height:17px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td >Fri</td><td style="text-align:center; ">1441</td><td style="text-align:center; ">1872</td></tr></table>

Highlight A!:B6 and create a generic bar chart. Highlight A1:B6 and C1:C6 by holding CTRL and dragging and selecting both, then choose copy. Click in your chart and then choose paste. For the new series it created, right click and chante it's chart time to an XY Scatter with straight lines.

Edit the series so that the X Axis is =C2:C6 and set the y axis to ={2,3,4,5,6} and click ok to close the dialogue boxes. (The numbers correlate to the days of the week Sunday being 1, monday 2, etc)

Now, you'll see a secondary vertical axis has appeared. Change the scale of that axis to a Min of 1.5 and a max of 6.5 which will line your target dots with your calorie bars. Then choose to hide your secondary axis

Now you can change or populate your calories/targets with whater you want. Good luck!
 
Upvote 0
Your welcome, and if you dont want lines, then just change the chart type to the XY Scatter without lines (sorry for that typo). Have fun burning calories!
 
Upvote 0
For this one
in 2010 excel

I can EITHER
produce scatter chart
or
produce line chart

the essence is creating 2 axis, one series for calorie , one series of target intake

http://i.imgur.com/ZGCId.jpg == click this URL


how to create one bar for one series, one scatter(st line) for another series??

I missed out the essence of same X-axis but 2 separate X-axis for both range ??? do you know !
 
Upvote 0

Forum statistics

Threads
1,223,952
Messages
6,175,595
Members
452,656
Latest member
earth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top