Did you fit lines to your data? Do you know the slopes and intercepts of the lines? If not, you can extract them with SLOPE and INTERCEPT. Then we know the equation of a line is y=mx+b and the area between the line and the x-axis is the integral of y with respect to x, or area = 0.5 * m * x^2 + b * x, evaluated between the x limits of interest. An example is shown below, two curves are shown, one for actual (A), the other for selling (S) price. They cross and we might be interested in knowing the area between the curves to the left of the intersection point (or somewhere close to it)...I've called that Section 1. We might also want the area to the right of this point...I've called that Section 2. So looking at the plot or the data table, the lower and upper dates for each section are input (G5:H6). The SLOPE and INTERCEPT formulas are used to extract slopes and intercepts for the two lines based on a linear regression of the data (see B2:C3). Then the areas between each line section and the x-axis are computed (A5:C6), and then to get the area between the two lines, the area associated with one line is subtracted from the area associated with the other. I've taken "positive" area to mean S>A, while negative area means A>S...see D5:E6.
View attachment 70971