1. Predict when tomatoes will run out based on daily usage
| Day | Tomatoes (kg) | Olive Oil (L) | Basil (bunches) | Mozzarella (kg) |
| 1 | 60 | 20 | 100 | 30 |
| 2 | 54 | 19.5 | 95 | 29.5 |
| 3 | 48 | 19 | 88 | 29 |
| 4 | 42 | 18.5 | 80 | 28.5 |
| 5 | 36 | 18 | 75 | 28 |
| 6 | 30 | 17.5 | 68 | 27.5 |
=INTERCEPT(B2:B7, A2:A7)Result: 66
INTERCEPT calculates the y-intercept for tomatoes consumption (column B vs column A). The result of 66 kg represents where the best-fit line crosses the y-axis—in other words, if you extended the consumption trend backward to day zero, you'd have started with 66 kg. The steady decline of 6 kg per day means stock runs out around day 11. This helps predict when to reorder.