# Getting Excel To Read Smoothed Lines in a graph

#### glint

##### New Member
Hi there.
New to the forum so not sure whether this has been asked before. Sorry if it has. Hope it makes sense.

I have created a graph using six sets of actual sample data. its a simple graph of cost against size (x). As it happens, the larger the item is, the more it costs. (bizarre i know ).
It isnt linear though, and i have used a scatter graph with smoothed lines and the graph is fine.

What i would like to know is this, Is there a way of using the smoothed line i have created to give me costs for other sizes. Ie interpolate between my sample sizes, and give me a cost for any given size?

Or, am i overcomplicating things? Should i be doing it a different way?

hope you can help

### Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

#### PA HS Teacher

##### Well-known Member
Have you added some sort of trendline?

- sounds like its not linear
- a polynomial perhaps.

In anycase, do you have the equation for this line. (did you check the button to include the equation on the graph when you put in the fit line)

This equation can be used to interpolate or extrapolate data.

#### glint

##### New Member
no, its not a 'trendline' as such, its a scattergraph and i chose the option of smoothed lines.

If i could replicate it with the formula that would help imensely. I cant find the tick box though. Where is it?

#### PA HS Teacher

##### Well-known Member
Right Click on one of the data points, and choose Add Trendline. Based on your description I would choose a polynomial fit line. There should be a checkbox for placing the equation on the graph in addition to the trendline.

#### glint

##### New Member
Thanks for that, i changed my line to a polynomial trendline as suggested, identified the formula and solved the problem.

thanks again

Replies
5
Views
408
Replies
3
Views
664
Replies
3
Views
550
Replies
9
Views
263
Replies
0
Views
571

1,181,177
Messages
5,928,550
Members
436,607
Latest member
MMCP15

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back