7.4 Chapter Practice
A Multiple Sheet Template for a Sports Team
Data file: PR6 Data
You have just gotten a job with the Pacific Northwest Soccer Club, and you quickly realize that there isn’t a consistent way for all the coaches to keep track of their team statistics. To help with this, you decide to make a template for Season Stats for each team. Since you are also the coach of the High Flyers this season, you will need to use the template to enter your team’s statistics into a team spreadsheet.
- Open the data file PR6 Data and save the file to your computer as PR6 Pacific NW Sports Team.
- Copy the range B11:G22 in the Season Stats sheet to the same range in the Player Stats sheet.
- Group the sheets and add the following formulas to both sheets:
- In C22 and D22, you’ll need to count the Xs in rows 12 through 21. To do this, use a COUNTA formula.
- In E22 and F22, sum rows 12 through 21.
- In G12, calculate Goal Percentage by dividing the number of Shots by the number of Goals. This will display an error message because there are zeros in column F. We don’t want to display error messages in the file, so an IF statement that tests the value of column F will solve this problem.
- Change the formula in G12 with the following three pieces:
- Test – is F12 greater than zero
- If the Test is True – divide the number of Goals by the number of Shot
- If the Test is False – enter a zero
- Copy G12 down the column through G22. Format these cells as percentages.
- For an extra challenge, put the “banded row” format back in G12:G22.
- Ungroup the sheets.
- Save the file as a template called PR6 Pacific NW Team Template.xltx. Make sure to save your template to your USB and not the default folder for templates on your hard drive!
- Make a new file using the PR6 Pacific NW Team Template and save it as PR6 High Flyers.xlsx.
- In the Season Stats sheet, enter the following data:
- D3 – High Flyers
- D4 – Fall and the current year (i.e. – Fall 2016)
- D5 – Pacific Northwest Soccer
- Enter your name, phone number, and email address in row 8.
- Make four copies of the Player Stats worksheet. Rename the player worksheets Player 1, Player 2, Player 3, Player 4, and Player 5.
- Group the Player sheets. Enter the following formulas:
- A formula in D4 that points to cell D3 in the Season Stats sheet. =’Season Stats’!D3
- A formula in D5 that points to cell D4 in the Season Stats sheet.
- A formula in D6 that points to cell D5 in the Season Stats sheet.
- Ungroup the sheets.
- Click on the Player 1 sheet. Enter the Player Name: Juan Ramirez. Enter the following data from Table 1:
Table 1: Player 1 Sheet
Played Started Shots Goals Game 1 x x 2 1 Game 2 x x 3 1 Game 3 Game 4 x Game 5 x x 2 0 Game 6 x Game 7 Game 8 x x 1 1 Game 9 x x 4 2 Game 10 x x 3 3
- Click on the Player 2 sheet. Enter the Player Name: Zach Johnson. Enter the following data from Table 2:
Table 2: Player 2 Sheet
Played Started Shots Goals Game 1 x x 1 1 Game 2 x x 2 1 Game 3 x x 1 1 Game 4 x x 1 1 Game 5 x x 2 0 Game 6 x x 5 2 Game 7 x x 4 2 Game 8 x x 1 1 Game 9 x x 4 1 Game 10 x x 3 2
- Click on the Player 3 sheet. Enter the Player Name: Vito Lawrenz. Enter the following data from Table 3:
Table 3: Player 3 Sheet
Played Started Shots Goals Game 1 x x 0 0 Game 2 x x 1 1 Game 3 x x 2 0 Game 4 x 1 1 Game 5 x x 2 0 Game 6 x x 3 1 Game 7 x x 2 1 Game 8 x x 1 1 Game 9 x x 1 1 Game 10 x x 1 1
- Make up information for the names and data in the Player 4 and Player 5 sheets.
- Go to the Season Stats sheet and click on cell C12. Enter a 3-D formula to COUNTA (count text) in C12 through sheets Player 1 through Player 5. Copy the formula in C12 through D22 (be sure to preserve the original formatting).
- Change the formulas in C22 and D22 from COUNTA to SUM.
- Click on E12. Enter a 3-D formula to SUM E12 in sheets Player 1 through Player 5. Copy the formulas through F22 (again, be sure to preserve the original formatting).
- Preview the worksheets in Print Preview. Notice that only part of the data is printing for each worksheet. This is because a Print Area was incorrectly set when the file was first created. You need to clear this Print Area for each worksheet individually (modifying print areas cannot be done on grouped sheets).
- Exit Backstage View and for each worksheet, click the Print Area button on the Page Layout tab and select Clear Print Area.
- Save the PR6 High Flyers workbook for your records.
Chapter Practice by Diane Shingledecker, Portland Community College is licensed under CC BY 4.0