## Consider the Excel file named “Homework 1”. This file contains information about the payroll of employees in the PHM Reliable catering firm.

##### Description

Consider the Excel file named “Homework 1”. This file contains information about the payroll of employees in the PHM Reliable catering firm. The question is in the first worksheet titled “Question”. This excel file is a protected excel file, so you cannot make any changes. First copy contents of this excel worksheet exactly to your own excel worksheet. Values in your copied excel sheet should be at the exact same place as in the original worksheet. You will get zero points if you don’t do this step regardless of what you have done in the following steps. In the second worksheet titled “Example Answer”, there is an example answer. You can get hints from that excel worksheet.

Part 1 (80 Points):  Calculations and Sparkline Chart

1)      (10 points) Write a formula for the Gross Pay column for each employee using the “IF” function:
a. 40*(Rate per Hour)+(Hours Worked-40)*1.5*Rate per Hour if Hours Worked is larger than 40;
b. Rate per Hour*Hours Worked if Hours Worked is less than or equal to 40.

2)      (10 points) Enter the value of the Federal Tax Rate at B17 as the first two digits of your University ID in percentage. For instance, if your ID is 1234567 than enter 12%.

3)      (10 points) Enter the value of State Tax Rate at B18 as the last digit of your University ID in percentage. For instance, if your ID is 1234567 than enter 7%. If the last digit is 0, then enter %10.

4)      (10 points) Write a formula for the Federal Tax column of each employee as Federal Tax Rate*Gross Pay.

5)      (10 points) Write a formula for the State Tax column of each employee as State Tax Rate*Gross Pay.

6)      (10 points) Write a formula for the Net Pay column of each employee as Gross Pay-State Tax-Federal Tax.

7)      (10 points) Calculate the total, average, highest and lowest values of Withholding Allowances, Gross Pay, Federal Tax, State Tax and Net Pay in the labeled rows.

8)      (10 points) Create a Sparkline chart at I15 by using the data in the Net Pay column (excluding the total, average, highest and lowest values)

Part 2 (20 Points): Formatting

1)      (10 points) Use Conditional Formatting for Net Pay with the following rule: Fill the cells as light red if they are below the average of Net Pay.