Bar Chart where numbers less than 1 treated as negative

coriforia

New Member
Joined
Jun 8, 2017
Messages
1
I am working on an academic manuscript and making a bar chart figure for the article. I'm using risk ratios so numbers greater than 1 are a positive association and numbers less than 1 are a negative association. I know excel will do bars going down for negative numbers, but is it possible to make the axis 1 and have numbers less than 1 have bars going down? I have figured out how to make the axis 1, but I can't figure out how to make 0.80, for instance, go downward while 1.2 will go upward. Any help would be greatly appreciated!
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi coriforia,

You can probably do the following:

Column A - dates (01/01/2010, 02/01/2010, 03/01/2010 ...)
Column B - original values (1.1, 1.2, 0.9, 0.8, 1, 1.5 ...)
Column C - column B minus one (0.1, 0.2, -0.1, -0.2, 0, 0.5 ...)

Select all three columns and create a Column Chart. Select Series 2 (source: Column C) and move it to "Secondary Axis" (both bars will be now stacked). Select Series 1 (source: Column B) and remove the Fill color. Select second Y-Axis and remove the Axis Labels.

Let me know if it works for you.
 
Upvote 0

Forum statistics

Threads
1,215,379
Messages
6,124,609
Members
449,174
Latest member
ExcelfromGermany

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