Linear graph in Excel

I want to create a linear graph in Excel 2010 using the data in the image attached.
The problem is when I select the rows and columns and then try to create a graph, it starts plotting from n=1.
Please let me know how I can start plotting from 0.

If possible ,please give me the step by step procedure.

Thanks!
Graph.png
dshrenikAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

the X axis shows the category labels. Since your data does not include any categories for the four data points for each line, Excel defaults to numbering them from 1 to 4.

What would you like to see on the X axis instead? Insert a row above your data table, enter your categories in that row, then select the data including the category row and build a new line chart.

See the result of that attached.

cheers, teylyn
Book3.xlsx
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
I think I may have misread your question. You want the row starting with N as your category labels.

Remove the n in the cell, then select the table. If the top left cell of the selection is empty, Excel will use the first row as the category labels. Afterwards, you can put the N back.

See attached.

cheers, teylyn
Book3.xlsx

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dshrenikAuthor Commented:
Thanks for the quick reply.

I actually dont want any category labels. Can I just show show it for a uniform distribution between 0 and 200? I want the default numbering to start from 0.
The X-axis must have only "0", "1", "3", and "200" marked.
Thanks!
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

dshrenikAuthor Commented:
Please let me know if it possible to have the data points on X axis (0 to 200) uniformly distributes)
Thanks!
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
If you want to fix the existing chart, right click the chart and select "Select Data".

Delete the "n" series.
Click the Edit button in the right hand pane for Horizontal (Category) labels.
Select the four cells from one cell to the right of the "n" cell to the end. (Sorry, from your screenshot it is not apparent what the cell addresses are. If "n" is in A1, select B1 to E1. Adjust to your setting)

Click OK on all dialog boxes.

cheers, teylyn
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Yes, you can do that with an XY chart instead of a line chart.

Right click the chart, select "Change Chart Type" and select the XY (Scatter) chart type with the lines and the markers.

See attached.

cheers, teylyn
Book3.xlsx
dshrenikAuthor Commented:
Thank you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.