How to extract the Y=equation from a chart

I'm fairly sure this funcrfun is unavailable but if someone could confirm or point my down another path I'd appreciate it.


User uploaded fileI

I'd love to be able to pull the Y='s into a cell where I can reference "X" to another cell. It's quite time consuming manually typing each equation. Is there a way to do this to help with constant changing data sets?

Thanks

MacBook Pro

Posted on Jun 21, 2018 2:00 PM

Reply
Question marked as Top-ranking reply

Posted on Jun 22, 2018 10:50 PM

You cannot extract it from the chart but you can accomplish it another way:


For linear fit, you can use LINEST or SLOPE and INTERCEPT in your table to create the coefficients or use FORECAST to get Y values for any X values. You can use LINEST to find coefficients for polynomial fits as well. And, with some math, you can do other fits, also using LINEST. Here is an example of a polynomial fit.


User uploaded file

You could do it all in the one table but I used one for the chart and one for the math. The formula in Table 2 cell E2 is =INDEX(LINEST(C,A:B),1)

The formulas in E3 and E4 are the same but with the index numbers 2 and 3 instead.

6 replies
Question marked as Top-ranking reply

Jun 22, 2018 10:50 PM in response to FFSkiBum

You cannot extract it from the chart but you can accomplish it another way:


For linear fit, you can use LINEST or SLOPE and INTERCEPT in your table to create the coefficients or use FORECAST to get Y values for any X values. You can use LINEST to find coefficients for polynomial fits as well. And, with some math, you can do other fits, also using LINEST. Here is an example of a polynomial fit.


User uploaded file

You could do it all in the one table but I used one for the chart and one for the math. The formula in Table 2 cell E2 is =INDEX(LINEST(C,A:B),1)

The formulas in E3 and E4 are the same but with the index numbers 2 and 3 instead.

Jun 21, 2018 3:12 PM in response to Badunit

I will take some time to digest and play with those functions. The problem I'm running into is that a chart will calculate uneven data sets and leave out the extra data, those formulas require even data sets as far as I can understand. The size of each data set will change with each set of companies I'm comparing. I'm sure I can do it, probably just have to build a few more tables. Anyway, thanks for giving me something to work off of.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to extract the Y=equation from a chart

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.