So I have a horizontal array that comes back from a function that looks like this when joined with ", ":
, , 386, 395, , 430If you imagine it like so by using the column number as x, and the values as y, and removing any blank values:
x, y3, 3864, 3956, 430You could pass that directly into SLOPE() and get a slope of the trend line for it.
With just the starting array (which could be of any size), how could you create a function to calculate the slope of the trend line.