Hello. I use ms excel 2019. I have plotted some points in a scatter plot. The data of…
- User
Hello. I use ms excel 2019. I have plotted some points in a scatter plot. The data of x-axis are on the cells F2-F6 and of the y-axis on the cells G2-G6. Also, i select to display the trendline of these points as a second degree polynomial. This way i describe the trend with the best method as a linear interpolation would be far from accurate. I also have a set of test values (x-y) on cells I2-I100 and J2-J100 respectively. I want to automatically grab the equation and based on the test values, find each one's deviation from the trendline. Tell me exactly how this could be achieved.
- Assistant
- User
i want the equation to be taken automatically and dynamically, since the initial data that define it may change in the future
- Assistant
- User
Ok great job. I have a different task now. I want to create a new column (Z) inside there i want to insert a formula which you will tell me and will do the following. For row 1 , (cell Z1) it will check cell A1. Then, based on the string of A1, will try to find the first occurance of this string in column B. If it finds it in, lets say, cell B5, it will use the coefficients of row 5 (cells I5 J5 and K5) as the coefficients a b and c of a second degree polynomial. It will then calculate the polynomial and as an x value it will use the value of cell C1 (same row as the row checking at that time ) . The result value will be writen in cell Z1.
- Assistant
- User
I dont know if you understanded it correctly, just one thing to clarify. In the example given, if String1 (of cell A1) is found on Column B Row 2, it will need to take the coefficients of row 2. (so cells I2 J2 and K2). the rest is ok\
- Assistant
- User
also one thing to clarify on the above example. In cell A1 there is String1. The same is found in cell B2. So it should take the coefficients I2 J2 K2 and the value C1 (not C2) and do the calculation on cell Z1 (not Z2)
- Assistant