You are on page 1of 7

Ex.

No: 6

FORMULA EDITOR

1. Click start -> All programs -> Ms Excel. The spreadsheet will appear. 2. Enter the required data. 3. The following option are used to perform calculation Function bar. Using the icon

you can enter the data by clicking sum

Insert -> Function option is selected.

SYNTAX FOR BASIC FORMULAS

To find sum
SUM(number1,number2, ...) Where Number1, number2 ... are 1 to 255 arguments for which you want the total value or sum.

To find average
AVERAGE (number1, number2,...) Where Number1, number2, ... are 1 to 255 numeric arguments for which you want the average.

To check conditions
if (logical_test , value_if_true , value_if_false) Where Logical_test is any value or expression that can be evaluated to TRUE or FALSE. Value_if_true is the value that is returned if logical_test is TRUE. Value_if_false is the value that is returned if logical_test is FALSE

To find maximum
Maximum: Returns the largest value in a set of values.. MAX(number1,number2,...) Where Number1, number2, ... are 1 to 255 numbers for which you want to find the maximum value.

To find minimum
Minimum: Returns the smallest number in a set of values MIN(number1,number2,...) Where Number1, number2, ... are 1 to 255 numbers for which you want to find the minimum value.

Ex. No: 6 (a)

STUDENT MARK LIST

Create an excel sheet for the student details with a minimum of 5 students and 5 subjects Aim: To create the student mark list and to find grade and rank using the formula editor. Procedure: 1. Click start -> All programs -> Ms Excel. The spreadsheet will appear. students 3. To calculate total marks J7=SUM(E7:I7) 4. To calculate average marks K7=AVERAGE(E7:I7) 5. To calculate the result, enter L7=IF(AND(E7>=50,F7>=50,G7>=50,H7>=50,I7>=50),"Pass","Fail") 6. To calculate the grade, we should use the function bar and enter,
M7=IF(L7="Pass",IF(K7>90,"S",IF(K7>80,"A",IF(K7>70,"B",IF(K7>60,"C",IF(K7>50,"D"))))),"fail")

2. Enter the required data such as serial number, name and respective marks of five subjects for six

7. To award Rank to students Click DATA -> SORT option is selected. In the sort dialog box, click average and give it as descending order. Now all the datas are arranged according to the highest average. Now the rank is added for the Passed students

RESULT:

Thus the student mark statement is prepared and operations are performed using Excel Ex. No: 6 (b) INTERNAL MARK CALCULATION

Create a spreadsheet and calculate internal mark of at least five students. Aim: To calculate internal mark of students using Microsoft Excel. Procedure: 1. Click start -> All programs -> Ms Excel. The spreadsheet will appear. for five students 3. Calculate total of all monthly test marks H6 =SUM(E6:G6) 4. Find Average of the total marks I6 =AVERAGE(E6:G6) 5. The average is converted to 15 marks Weightage for 15 ---> J6 =(I6*15)/100 6. Calculate the attendance percentage with the attended days by each student
L6 =IF(K6>=90,"5",IF(K6>=80,"4",IF(K6>=70,"3",IF(K6>=60,"2",IF(K6>=50,"1",IF(K6<50,"0"))))))

2. Enter the required data such as Student name and marks of each monthly test, number of days attended

7. Finally the internal mark is calculated by adding the attendance mark (5) with the 15 marks to get marks out of 20. M6 =L6+J6

RESULT:

Thus the internal marks of each students is calculated using Microsoft Excel. Ex. No: 6 (C) EMPLOYEE PAYROLL CALCULATION

Create an excel sheet for a payroll calculation and calculate the net salary of employees with the following details also find minimum and maximum net salary of the employee
BASIC PAY HRA DA PF MEDICAL ALLOWANCE

<=5000 >5000<=10000 >10000 Aim

10% 20% 25%

5% 10% 15%

5% 10% 15%

3% 5% 10%

To create employee payroll using Microsoft Excel Procedure 1. Click start -> All programs -> Ms Excel. The spreadsheet will appear. 2. Enter Employee ID, Name, Designation, Basic pay of each employee 3. Perform the calculation of Home Rent Allowance (HRA), Dearness Allowance(DA), Profitable Fund (PF), Medical Allowance (MA) using the data given in question HRA
G7 =IF(F7<5000,F7*10/100,IF(F7>5000,F7*20/100,IF(F7<=10000,F7*20/100,IF(F7>10000,F7*25/100))))

DA
H7=IF(F7<5000,F7*5/100,IF(F7>5000,F7*10/100,IF(F7<=10000,F7*10/100,IF(F7>10000,F7*15/100))))

PF
I7=IF(F7<5000,F7*5/100,IF(and(F7>5000,F7<=10000),F7*10/100,IF(F7>10000,F7*15/100)))

MA J7 =IF(F7<5000,F7*3/100,IF(F7>5000,F7*5/100,IF(F7<=10000,F7*5/100,IF(F7>10000,F7*10/100)))) 4. Find the Gross Pay using the formula Gross Pay = HRA+ DA+ Basic pay K7=F7+G7+H7 5. Calculate Deduction using Deduction= PF+MA L8=I7+J7 6. Find the net salary using Net salary= gross pay deduction M7 =K7-L7 7. Finally find the minimum and maximum salary among the employee using Result:

Thus the payroll of employee is calculated using Microsoft excel. EX.NO: 6(d) ELECTRICITY BILL CALCULATION

Create an EXCEL sheet with consumer number, name, type (H / C), previous reading, current reading, chargeable unit, and cost per unit and calculate the total amount to be paid using the following condition. CU CT Cost/Unit 100 100 >100 >100 Aim To create an excel sheet to generate the electricity bill with the details given above. Procedure 1. Click start -> All programs -> Ms Excel. The spreadsheet will appear. 2. Enter the required data such as consumer ID, Name, previous reading and current reading. 3. The Chargeable Unit is calculated using I7 =H7-G7 4. The cost per unit is calculated using the above condition as shown below
K7=IF(AND(J7="C",I7<=100),"4",IF(AND(J7="H",I7<=100),"2",IF(AND(J7="H",I7>100),"3",IF(AND(J7="C",I7>100),"6"))))

H C H C

2 4 3 6

5. Calculate amount to be paid using the formula L7 =I7*K7

RESULT:

Thus the electricity bill is calculated using excel spreadsheet. EX.NO 6(e) AIM To create a spreadsheet to convert one number sytem to another number system using excel. Procedure Click start -> All programs -> Ms Excel. The spreadsheet will appear. Select Tools-> Add ins Check Analysis ToolPak and analysis toolpak .VBA and click ok Excel will install additional features Enter the decimal numbers Use the following functions for conversion To convert decimal number to binary number use formula =dec2bin() To convert decimal number to Octal number use formula =dec2oct() To convert decimal number to Hexadecimal number use formula =dec2hex() NUMBER SYSTEM CONVERSION

RESULT: Thus one number system is converted to another using the above formulas in Microsoft excel.

You might also like