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
 
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...
I came across a video regarding the use of AI/ML to work through complex datasets to determine complicated protein structures. It is a promising and beneficial use of AI/ML. AlphaFold - The Most Useful Thing AI Has Ever Done https://www.ebi.ac.uk/training/online/courses/alphafold/an-introductory-guide-to-its-strengths-and-limitations/what-is-alphafold/ https://en.wikipedia.org/wiki/AlphaFold https://deepmind.google/about/ Edit/update: The AlphaFold article in Nature John Jumper...

Similar threads

Back
Top