practical 2
practical 2
INSTRUCTIONS:
1. Calculate Medical Allowance = 12% of Basic Pay.
2. Calculate House Rent = 40% of Basic Pay.
3. Calculate Gross Pay = Basic Pay + Medical Allowance + House Rent
4. Using the IF () function, calculate Tax which is 4% of Gross Pay, if the Gross Pay is
greater than 15000 otherwise it is 3%.
5. Calculate Net Pay = Gross Pay – Tax
6. Using the IF () function, Assign Grade 1, if the Net Pay is greater than 15000
otherwise Assign Grade 2.
PROCEDURE:
1. Click on Start, search MS EXCEL, and double-click on MS EXCEL to launch it.
2. Copy the given table on MS EXCEL.
3. Calculate Medical Allowance by the following formula:
Medical Allowance = Basic Pay * 12/100
4. Calculate House Rent by the following formula:
House Rent = Basic Pay * 40/100
5. Calculate Gross Pay by the following formula:
Gross Pay = Basic Pay+ Medical Allowance+ House Rent
6. Calculate Tax by the following formula:
Tax = IF (Gross Pay > 15000, Gross Pay *4/100, Gross Pay *3/100)
7. Calculate Net Pay by the following formula:
Net Pay = Gross Pay – Tax.
8. Calculate the Grade by the following formula:
Grade = IF (Net Pay > 15000, “Grade 1”, “Grade 2”)
9. After Filling the entire Table with the Above Formulae, print the Table.
OUTPUT:
FORMULAE:
1. Medical Allowance =B2*12/100
2. House Rent =B2*40/100
3. Gross Pay=B2+C2+D2
4. Tax =IF(E2>15000, E2*4/100, E2*3/100)
5. Net Pay =E2-F2
6. Grade =IF(G2>15000,"Grade 1","Grade 2")