Based on the automobile sales data, calculate the average interval in days between buying the Jetta first and then the Magotan car.
Please note that a customer may buy the car of the same model for several times, and thus there may be several intervals. In this case, we will take the shortest interval, that is, the number of days from the date buying Jetta for the last time to the date buying Magotan for the first time.
=A4.select(Model[-1]=="Jetta" && Model=="MAGOTAN" && Customer==Customer[-1])
The computation in A6 is shown below: