Spreadsheet 123 Excel 2007 FAQs: Create Chart

Create a chart with two Y-axes and one shared X-axis in Excel 2007

Question:  How do I create a chart in Excel that has two Y-axes and one shared X-axis in Excel 2007?


Answer: First, select the Insert tab from the toolbar at the top of the screen. In the Charts group, click on the Column button and select the first chart (Clustered Column) under 2-D Column.




A blank chart object should appear in your spreadsheet. Right-click on this chart object and choose "Select Data..." from the popup menu.




When the Select Data Source window appears, we need to enter the data that we want to graph. In this example, we want column A to represent our X-axis and column C to represent our primary Y-axis (left side) and column E to represent our secondary Y-axis (right side). One more complication to this example is that our data is not all in adjacent cells, so we need to select columns A, C, and E separated by commas.


To do this, highlight cells A2 to A7 then type a comma, then highlight cells C2 to C7, then type another comma, and the highlight cells E2 to E7. You should see the following in your Chart data range box:


=Sheet1!$A$2:$A$7,Sheet1!$C$2:$C$7,Sheet1!$E$2:$E$7

Click on the OK button.




Now, right-click on one of the data points for Series2 and select "Change Series Chart Type" from the popup menu.




When the Change Chart Type window appears, select the 4th chart under the Line Chart section. Click on the OK button.



Now when you view the chart, you should see that Series 2 has changed to a line graph. However, we still need to set up a secondary Y-axis as Series 2 is currently using the primary Y-axis to display its data.


To do this, right-click on one of the data points for Series 2 and select "Format Data Series" from the popup menu.




When the Format Data Series window appears, select the "Secondary Axis" radio button. Click on the Close button.




Now, if you want to add axis titles, select the chart and a Layout tab should appear in the toolbar at the top of the screen.


Click on the Layout tab. Then select Axis Titles > Primary Horizontal Axis Title > Title Below Axis.




An Axis Title at the bottom of the graph should appear, just overwrite "Axis Title" with the text that you'd like to see.


Next, under the Layout tab in the toolbar, select Axis Titles > Primary Vertical Axis Title > Horizontal Title.




An Axis Title to the left of the graph should appear, just overwrite "Axis Title" with the text that you'd like to see.


Next, under the Layout tab in the toolbar, select Axis Titles > Secondary Vertical Axis Title > Horizontal Title.




Now, you should see that your chart is designed with a common X-axis and 2 different Y-axes.


Suggested Reading

Spreadsheet News



Forum


Meet advanced users of MS Excel and Spreadsheet and do not be shy to ask your question.


Book Shop


Visit our busy book shop, were you can find latest books for beginners as well as advanced users of excel and similar programs.



Software Library




Excel & Spreadsheet Online Tutorials




Spreadsheet123
Home | About Us | Our Services | Software | Excel Templates | Excel Tutorials | Useful Links | Site Map | Contact Us
Bookmark this PageBookmark this Page

Link To Us
Home
About Us

Book Shop

Excel
Excel Tutorials
Financial Modeling
Excel Templates

Excel Tutorials

Excel Basic Tutorial
Excel Tech on Net
MS Excel Tutorials and Projects
MS Excel Spreadsheet Tutorial
How to Decide What Chart Type to Use
How To Merge Cells in Excel
Excel - Printing Effectively from Excel
Using Excel Functions and Creating Formulas

Excel Templates

Corporate finance spreadsheets
Valuation Inputs Spreadsheets
Big-picture valuation spreadsheets
Focused valuation spreadsheets
Financial Service firms
Troubled firms
Private companies
Young and high-growth firms
Multiples
Valuation in Acquisitions
Valuation of other assets
Value Enhancement Spreadsheets
Basic option pricing models
Real option models in corporate finance
Real option models in valuation
Hotel & Restaurant Management Spreadsheets
Real Estate & Mortgage Excel Spreadsheets
Excel Personal Budget Spreadsheets
More Spreadsheets

Software Library

Accounting Software
Small Business Software
Tax Calculating Software
Auditing Software
Excel Add-Ins
Property Management Software
Payroll Software
Spreadsheet Software

Contact Us
Useful Links
Our Services
Site Map