How to Generate a Function for Polynomial Interpolation in Excel

  • Thread starter Thread starter brad sue
  • Start date Start date
  • Tags Tags
    Excel Function
Click For Summary
The discussion revolves around creating an Excel function for polynomial interpolation based on a set of values. The user seeks to identify a value two points above a given input and then select the next four values from a predefined column. For example, with an input of 118, the desired output is the values 0, 100, 200, and 300. The user expresses uncertainty about navigating between cells using formulas and mentions a preference for a clear method to generate cell coordinates through numerical expressions. A solution is proposed involving the use of "AND" functions to determine the range of the input value, along with "IF" and "MAX" functions to extract the corresponding series into output cells. The user indicates that they have successfully set up the spreadsheet and is looking for further insights or alternative methods.
brad sue
Messages
270
Reaction score
0
Hi ,
I have to generate a function on excel that does the following

the problem is about polynomial interpolation.

I have for example a column of values:
-100
0
100
200
300
400

First , I need to find the value in the table that is 2 point above the input value.
For example , if my input value is 118 the first value is 0.

Second, my real problem is how to select the next four values ( and use them else where).

For the same example, if we enter 118, the corresponding colum must be:
0
100
200
300

I don't know how to go from a cell to another cell using a formula.
I hope that you can understand me.

thank you for your help
 
Computer science news on Phys.org
I'm a bit autodidactic in Excel and I'd love to see too somebody to show how coordinates of cells could be generated by a numerical expression. As the problem is now, I figure you need a lot of (nested) copy pasted fuctions like IF(condition; output if true; output if false).

Success.
 
Got the spreadsheet ready. Not a big deal. I used "AND" functions to determine in between-which value the input is. Then IF functions to get the series corresponding with it. And MAX functions to get that particular series into the output cells. So, how would you do it?
 
Last edited:
Andre said:
Got the spreadsheet ready. Not a big deal. I used "AND" functions to determine in between-which value the input is. Then IF functions to get the series corresponding with it. And MAX functions to get that particular series into the output cells. So, how would you do it?

thanks I ll be back soon
 
I’ve spent nearly my entire life online, and witnessed AI become integrated into our lives. It’s clear that AI is apart of us now whether we like it or not, unless your a anti tech cabin lover. AI has some form of control over your life. But what I’ve seen very recently is that people are loosing their ingenuity and deciding to use AI. I feel as if it’ll bleed into STEM which is kinda has already and, every idea or thought could become fully reliant on AI. Yeah AI makes life easier but at a...

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
988
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K