15. Using monthly sales of merchandise, forecast sales for the next three months.
This one could be answered using a data mining tool, but it is also
easy within Excel. The main step is to build the query to obtain the
data:
SELECT Format([SaleDate],"yyyy-mm") AS YearMonth,
Sum([SalePrice]*[Quantity]) AS Sales
FROM Sale INNER JOIN SaleItem ON Sale.SaleID = SaleItem.SaleID
GROUP BY Format([SaleDate],"yyyy-mm")
ORDER BY Format([SaleDate],"yyyy-mm");
Then copy the results into Excel, select the Sales data and drag the
small square on the bottom right to do a simple regression. But there
is not enough sample data to be realistic.
YearMonth | Sales |
---|---|
2013-01 | $729.00 |
2013-02 | $1,314.99 |
2013-03 | $2,400.48 |
2013-04 | $377.55 |
2013-05 | $418.50 |
2013-06 | $446.65 |
2013-07 | $360.00 |
2013-08 | $353.65 |
2013-09 | $578.70 |
2013-10 | $765.00 |
2013-11 | $452.25 |
2013-12 | $169.02 |
2014-01 | $143.63 |
2014-02 | $57.06 |
2014-03 | ($29.51) |