
If one of the chart axes is a time scale with dates, Excel uses numbers that correspond to dates to calculate the trend and its equation (e.g., "January 1, 2020" is 43831, "December 1, 2020" is 44166).So, don't expect a proper intersection with Y-axis.įor example, for a line chart, the vertical (Value) axis crosses the horizontal (Category) axis at a non-zero position - see the example above. Excel treats the Category axis values for all other chart types as the list to calculate the trend and its formula, where n is the number of text elements on the axis.Īttention! Excel takes the first value as x = 1, not x = 0 as usual.



Excel makes adding a trend line to a chart quite simple.
