ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Simple chart (https://www.excelbanter.com/charts-charting-excel/24829-simple-chart.html)

TomC

Simple chart
 
On my excel worksheet, I have two columns. In column A1 I have the title
"YEAR" followed by various years like 1994, 1995, etc, and in B1 I have the
title "AVERAGE", followed by values for each year. I highlight A1:B12 and do
the chart wizzard and get a bar chart which spreads the value of both year
and averages. The X axis is just a consecutive number and the y axis spreads
the values of years and averages. What I want is a chart where the X axis to
displays the years from the A column and the Y axis to displays the numbers
from the B column. How do I do this? Thanks.
Tomc

Andy Pope

Hi,

Try removing the title in A1.
The chart wizard will assume that the text is for the series name for 2
columns of data. Without the text it should assume category labels in
column A and data in B

Cheers
Andy

TomC wrote:
On my excel worksheet, I have two columns. In column A1 I have the title
"YEAR" followed by various years like 1994, 1995, etc, and in B1 I have the
title "AVERAGE", followed by values for each year. I highlight A1:B12 and do
the chart wizzard and get a bar chart which spreads the value of both year
and averages. The X axis is just a consecutive number and the y axis spreads
the values of years and averages. What I want is a chart where the X axis to
displays the years from the A column and the Y axis to displays the numbers
from the B column. How do I do this? Thanks.
Tomc


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info

David Biddulph

"TomC" wrote in message
...
On my excel worksheet, I have two columns. In column A1 I have the title
"YEAR" followed by various years like 1994, 1995, etc, and in B1 I have
the
title "AVERAGE", followed by values for each year. I highlight A1:B12 and
do
the chart wizzard and get a bar chart which spreads the value of both year
and averages. The X axis is just a consecutive number and the y axis
spreads
the values of years and averages. What I want is a chart where the X axis
to
displays the years from the A column and the Y axis to displays the
numbers
from the B column. How do I do this? Thanks.


When using the chart wizard, choose "XY (scatter)" as the chart type.
--
David Biddulph



TomC

Thank you Andy. That was the answer I needed.
Tomc


"Andy Pope" wrote:

Hi,

Try removing the title in A1.
The chart wizard will assume that the text is for the series name for 2
columns of data. Without the text it should assume category labels in
column A and data in B

Cheers
Andy

TomC wrote:
On my excel worksheet, I have two columns. In column A1 I have the title
"YEAR" followed by various years like 1994, 1995, etc, and in B1 I have the
title "AVERAGE", followed by values for each year. I highlight A1:B12 and do
the chart wizzard and get a bar chart which spreads the value of both year
and averages. The X axis is just a consecutive number and the y axis spreads
the values of years and averages. What I want is a chart where the X axis to
displays the years from the A column and the Y axis to displays the numbers
from the B column. How do I do this? Thanks.
Tomc


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info



All times are GMT +1. The time now is 12:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com