Does Excel have a function that could help me predict or forecast, if you
like, what week 7's number in below example could be?
week1 11
week2 21
week3 35
week4 33
week5 39
week6 40
week7 ?
That really depends on your interpretation of the data. I suggest
that you use the Chart Wizard to graph the data first. You can
experiment with different Trendlines. Use Options to display the
regression equation and the RSQ value. The closer to 1, the better
the fit generally.
But be sure to ask yourself: why does the data behave this way?
For example, here is what I see -- an inherently flawed analysis
because I know nothing about what's behind the numbers.
The numbers show steep linear growth in weeks 1-3, but significantly
flatter linear growth for weeks 3-6. Depending on your
interpretation, FORECAST(7,B3:B6,A3:A6) might provide a better
(linear) estimate of week 7 than FORECAST(7,B1:B6,A1:B6).
Then again, based on your knowledge of information behind the numbers,
you might decide that a parabolic equation (order-2 polynomial) yields
a better fit to __all__ of the data together, demonstrating an
expected down-turn in week 7. With Chart Trendline Options, you can
extend the regression line "forward" to see the down-turn.
In summary, using Excel functions to forecast blindly is likely to
give you GIGO results -- "garbage in, garbage out".