\begin{tabular}{|c|c|c|c|}
\hline
& A & B & C \\
\hline
1 & Day & \begin{tabular}{c}
Closing \\
Price
\end{tabular} & \begin{tabular}{c}
5-Day \\
Moving \\
Average
\end{tabular} \\
\hline
2 & 1 & 30.85 & \\
\hline
3 & 2 & 31.15 & \\
\hline
4 & 3 & 29.04 & \\
\hline
5 & 4 & 31.10 & \\
\hline
6 & 5 & 32.62 & \\
\hline
7 & 6 & 31.85 & \\
\hline
8 & 7 & 31.76 & \\
\hline
9 & 8 & 32.24 & \\
\hline
\end{tabular}

Part A
What formula should Renee put into cell C7?

Part B
Calculate the 5-day SMA for eight consecutive day closing prices in the spreadsheet.



Answer :

Sure, let's address both parts of the question in detail.

### Part A:
To find the formula Renee should put into cell C7, let's first understand what is desired.

Explanation:
- Cell C7 should contain the average of the values in cells B3 to B7.
- The required Excel formula to compute the average of values in a range is `=AVERAGE(range)`.

Solution:
Therefore, the formula Renee should put into cell C7 is:
```
=AVERAGE(B3:B7)
```

### Part B:
To calculate the 5-day Simple Moving Average (SMA) for eight consecutive days of closing prices, we’ll follow these steps:

Explanation:
- The 5-day SMA for a particular day is the average of the closing prices of the current day and the previous four days.
- Given closing prices for days 1 through 8, the 5-day SMA can only be computed starting from day 5.

We will manually compute the 5-day SMA for each relevant day:

1. For Day 5:
- Closing prices: [30.85, 31.15, 29.04, 31.10, 32.62]
- SMA = (30.85 + 31.15 + 29.04 + 31.10 + 32.62) / 5 = 30.952

2. For Day 6:
- Closing prices: [31.15, 29.04, 31.10, 32.62, 31.85]
- SMA = (31.15 + 29.04 + 31.10 + 32.62 + 31.85) / 5 = 31.152

3. For Day 7:
- Closing prices: [29.04, 31.10, 32.62, 31.85, 31.76]
- SMA = (29.04 + 31.10 + 32.62 + 31.85 + 31.76) / 5 = 31.274

4. For Day 8:
- Closing prices: [31.10, 32.62, 31.85, 31.76, 32.24]
- SMA = (31.10 + 32.62 + 31.85 + 31.76 + 32.24) / 5 = 31.914

Solution:
So, the 5-day SMA values for days 5 through 8 are as follows:

- Day 5: 30.952
- Day 6: 31.152
- Day 7: 31.274
- Day 8: 31.914

Summary:
- Part A: The formula to enter in cell C7 is `=AVERAGE(B3:B7)`.
- Part B: The 5-day SMA values for the given closing prices are approximately [30.952, 31.152, 31.274, 31.914], corresponding to days 5, 6, 7, and 8, respectively.