How do I create a mixed line/bar graph with one datapoint?

Galena1

Active Member
Joined
Jun 10, 2010
Messages
305
Ok, so here's the trick:

I know how to create combo or mixed graphs with line/bars on single axis, and secondary axis. I even know how to do mixed stacked and unstacked columnar charts...

But how do you depict in single view graph

a single bar (1 datapoint) with a single line (upper control limit e.g. target).?

And I don't want to to use shapes to draw the target line.

I want the target line to be automatically plotted by Excel...

Anyone?

Thanks!
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
How to do it with Error Bars:

- Add the cell as a new data series
- select the new data series and change the chart type to XY Scatter chart, line with markers. This will send the new data series to the secondary axis and will show a single data point marker on the chart.
- format the secondary Y axis to the same scale as the primary, then format it to show no line, no tick marks, no labels.
- format the secondary X axis to be min = 0 and max = 1. This will show the data point at the rightmost position in the chart. Format the axis to have no line, no tick marks, no labels.
- add error bars to the data point via Layout > Error bars > Error bars with Standard Error
- select and delete the vertical error bars
- format the X error bars to be "Minus" and to have an error amount of "Percentage" with "100%"
- format the X error bars with line color and line width of your preference.
- format the XY chart series to have no marker.

Done.
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,298
Members
449,077
Latest member
Rkmenon

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