Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I will to plot a line graph of year vs. sales on excel 2010. However, the years are displaying on the y-axis wihile nothing but 1,2,3 etc is displaying on the x-axis.... Anybody might know what the problem is?

share|improve this question
    
Would you mind showing us how your Excel sheet is set up and how you configured the graph? – slhck Mar 19 '12 at 14:40

Put years (x values) into a column, and the y values into the next column. Put a label in the cell just above the top Y value, and keep the cell just above the top X value blank. Select this range and make an XY chart.

share|improve this answer

Assuming you're using the line chart type, and not the xy scatter:

  1. Select only the sales column (together with the title)
  2. Go to insert, and select line chart
  3. You will now have a chart with sales on the y-axis and 1, 2, 3... on the x-axis
  4. Right-click on the chart -> select data
  5. On the right side, under horizontal (category) axis labels, click edit, and select the range containing your years (without the title). Voila!
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.