How to Use Linest Function in Excel
The Linest function helps you figure out statistics for a single line in your data. It does this by using something called “least squares” to find a straight line that matches your data closely.
Then, it gives you a set of numbers that describe that line. It does all this by taking data you put into the Linest formula and giving you back the results in an array.