Using a Trendline formula to get Values for any given X in Excel

tacaro25

New Member
Joined
Jun 25, 2016
Messages
8
So basically i have a graph with lots of different X values, but i'm trying to organize it in 0.1 intervals. Below is an example of my problem:


This is an example of what i have:


- X | Y
- 0.1 | 2
- 0.12 | 4
- 0.25 | 8
- 0.34 | 4
- 0.43 | 6
- ...




This is what i'm trying to accomplish (? marks):


- X | Y
- 0.1 | ?
- 0.2 | ?
- 0.3 | ?
- 0.4 | ?
- 0.5 | ?
- ...


Is any way of creating an automatic process, using trend lines, to get the Y values of X's in 0.1 intervals instead of the orginial ones? Thanks in advance for any anwsers. Cheers!
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Welcome to the board.

A​
B​
C​
D​
1​
X
Y
2​
0.10​
2​
3​
0.12​
4​
4​
0.25​
8​
5​
0.34​
4​
6​
0.43​
6​
7​
8​
m
b
9​
8.3625​
2.7261​
A9:B9: {=LINEST(B2:B6, A2:A6)}
10​
11​
12​
X
Y
13​
0.10​
3.562​
B13: =m * A13 + b
14​
0.20​
4.399​
15​
0.30​
5.235​
16​
0.40​
6.071​
17​
0.50​
6.907​

The points at the bottom fall on the linear trendline of the points on the top.
 
Last edited:
Upvote 0
Hey, thanks for your anwser! I forgot to mention in the OP, but each pair of X's form an independent linear function, for example: you have a linear equation for (X=0.1 Y=2 |X=0.12 Y=4), then a different one for (X=0.12 Y=4|X=0.25 Y=8); (X=0.25 Y=8|X=0.34 Y=4) and so on.. But thanks anyway!
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,696
Members
449,048
Latest member
81jamesacct

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top