How to Generate a Function for Polynomial Interpolation in Excel

  • Thread starter Thread starter brad sue
  • Start date Start date
  • Tags Tags
    Excel Function
AI Thread 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
 
This week, I saw a documentary done by the French called Les sacrifiés de l'IA, which was presented by a Canadian show Enquête. If you understand French I recommend it. Very eye-opening. I found a similar documentary in English called The Human Cost of AI: Data workers in the Global South. There is also an interview with Milagros Miceli (appearing in both documentaries) on Youtube: I also found a powerpoint presentation by the economist Uma Rani (appearing in the French documentary), AI...

Similar threads

Back
Top