#### Method 1: Using the AVERAGE Function

**1. Simple Example:**

- If you have a set of data in cells A1 through A9, you can use the formula
**=AVERAGE(A1:A9)**to calculate the average.

**2. More Complex Example:**

- For a larger dataset in cells A1 through A9, you would use
**=AVERAGE(A1:A9)**.

**3. Multiple Set Example:**

- For multiple sets of data, such as in cells A1:A9 and B1:B9, you can use separate formulas like
**=AVERAGE(A1:A9)**and**=AVERAGE(B1:B9)**.

**4. Final Example:**

- If you have non-contiguous data sets, such as A1:A9 and B1:B9, you can use
**=AVERAGE(A1:A9, B1:B9)**.

#### Method 2: Using the SUM and COUNT Functions

**1. Simple Example:**

- To calculate the average of values in cells A1 through A9, use the formula
**=SUM(A1:A9)/COUNT(A1:A9)**.

**2. More Complex Example:**

- For a larger dataset in cells A1 through A9, you would use
**=SUM(A1:A9)/COUNT(A1:A9)**.

**3. Multiple Set Example:**

- For multiple sets of data, such as in cells A1:A9 and B1:B9, you can use separate formulas like
**=SUM(A1:A9)/COUNT(A1:A9)**and**=SUM(B1:B9)/COUNT(B1:B9)**.

**4. Final Example:**

- If you have non-contiguous data sets, such as A1:A9 and B1:B9, you can use
**=(SUM(A1:A9)+SUM(B1:B9))/(COUNT(A1:A9)+COUNT(B1:B9))**.

Remember to adjust cell references based on the location of your data in your Excel spreadsheet. Using the AVERAGE function is generally simpler, but understanding the SUM and COUNT method provides insight into the calculation process.