A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Primary % secondard vertical axis don't line up



 
 
Thread Tools Display Modes
  #1  
Old March 17th, 2010, 12:38 AM posted to microsoft.public.excel.charting
Al Charbonneau[_2_]
external usenet poster
 
Posts: 8
Default Primary % secondard vertical axis don't line up

Hi

I am using Excel 2007 to do a chart that has a company's revenue presented
in columns on the primary vertical axis and the year over year change in
revenue presented in lines on the secondary vertical axis. The problem I
have is that in 1996, the company lost money and in 2008 it had a profit. I
would like to but seem unable to get the 1996 column to show below the line
while the 2008 column begins at 0. It appears as though the problem is
influenced by the secondary vertical column which needs to begin at 0.

Would appreciate help.

Thanks

Al
  #2  
Old March 18th, 2010, 01:11 AM posted to microsoft.public.excel.charting
Herbert Seidenberg
external usenet poster
 
Posts: 1,113
Default Primary % secondard vertical axis don't line up

Excel 2007 Chart
Align zero of primary and secondary axis.
With macro.
http://c0718892.cdn.cloudfiles.racks.../03_17_10.xlsm
Pdf preview:
http://www.mediafire.com/file/hm4elmyogmm/03_17_10.pdf
  #3  
Old March 18th, 2010, 12:24 PM posted to microsoft.public.excel.charting
Jon Peltier[_2_]
external usenet poster
 
Posts: 386
Default Primary % secondard vertical axis don't line up

If you don't want to open a workbook, here's a web page with an answer:

Align X Axis to Y=0 on Two Y Axes (VBA)
http://peltiertech.com/Excel/Charts/AlignXon2Ys.html

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/


On 3/16/2010 8:38 PM, Al Charbonneau wrote:
Hi

I am using Excel 2007 to do a chart that has a company's revenue presented
in columns on the primary vertical axis and the year over year change in
revenue presented in lines on the secondary vertical axis. The problem I
have is that in 1996, the company lost money and in 2008 it had a profit. I
would like to but seem unable to get the 1996 column to show below the line
while the 2008 column begins at 0. It appears as though the problem is
influenced by the secondary vertical column which needs to begin at 0.

Would appreciate help.

Thanks

Al

  #4  
Old March 18th, 2010, 06:23 PM posted to microsoft.public.excel.charting
Al Charbonneau[_2_]
external usenet poster
 
Posts: 8
Default Primary % secondard vertical axis don't line up

Thanks - you are always very helpful.

Al

"Jon Peltier" wrote:

If you don't want to open a workbook, here's a web page with an answer:

Align X Axis to Y=0 on Two Y Axes (VBA)
http://peltiertech.com/Excel/Charts/AlignXon2Ys.html

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/


On 3/16/2010 8:38 PM, Al Charbonneau wrote:
Hi

I am using Excel 2007 to do a chart that has a company's revenue presented
in columns on the primary vertical axis and the year over year change in
revenue presented in lines on the secondary vertical axis. The problem I
have is that in 1996, the company lost money and in 2008 it had a profit. I
would like to but seem unable to get the 1996 column to show below the line
while the 2008 column begins at 0. It appears as though the problem is
influenced by the secondary vertical column which needs to begin at 0.

Would appreciate help.

Thanks

Al

.

  #5  
Old March 18th, 2010, 06:42 PM posted to microsoft.public.excel.charting
Al Charbonneau[_2_]
external usenet poster
 
Posts: 8
Default Primary % secondard vertical axis don't line up

Thanks for replying.

Your pdf illustrates exacly what I want but the explanation (zip file) of
how to get there is above my head. Is there a simpler explanation?

Thanks again.

Al


"Herbert Seidenberg" wrote:

Excel 2007 Chart
Align zero of primary and secondary axis.
With macro.
http://c0718892.cdn.cloudfiles.racks.../03_17_10.xlsm
Pdf preview:
http://www.mediafire.com/file/hm4elmyogmm/03_17_10.pdf
.

  #6  
Old March 19th, 2010, 03:08 PM posted to microsoft.public.excel.charting
Herbert Seidenberg
external usenet poster
 
Posts: 1,113
Default Primary % secondard vertical axis don't line up

One of many problems is that
when the company breaks even,
the % change for the next year approaches infinity.
A work-around adds complexity.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:56 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.