Excel Lab Exercises - V3
Excel Lab Exercises - V3
Steps:
1. Open a spread sheet and type in the labels called number 1 and
number 2 in the cells A1 and B1 and add in the cell C1. This is just for
us to identify the values and they are not involved in actual execution
2. In A2 and B2, type in the numbers to be added.
3. In C2, type in =A2+B2 and press enter to display the result. In excel
calculations are prefixed with = sign followed by the operation on
cells
4. The cell number represents the numbers (For e.g A2 and B2 are used
which denote 3 and 5 respectively with a plus sign in between as in
the case of normal addition.
5. To add more than two numbers, add as many columns (number1,
number2, number3 etc., and extend the formula as =A2+B2+C2+….
Sample O/p
Steps:
Sample O/P
Ex No 3:
Consider the problem of preparing a stationary order for the month of
March. The item description, quantity and cost per item are available. The
total cost per item is to be calculated and the final cost per item involves a
sales tax of 2% over the total cost. The gross total and the net total are to be
displayed.
Steps:
2. Add the columns total cost per item, VAT and Cost + VAT
3. Fill in the V.A.T value (2%) in one of the cells say G1 so as to not to
affect the other calculations.
4. Multiply quantity*cost per item to obtain the total cost
5. Multiply the V.A.T value with the total cost of each item to obtain
V.A.T column
a. Observe what happens when you drag the cells after you fill in
the formula for the first item
b. The first item gets filled correctly but the other items show zero
as shown below:
as 1,2,3,.. etc so we anchor the row as G$1. and then drag the
formula which updates the cells properly as shown below:
Ex.No 4. Using the given datasets of students' names, scores, create a formula to
calculate the following:
Steps:
1. To compute sum ,type =SUM(B2:B7)
2. To compute sum of scores of Alice, type =IF(B2>80,"pass","fail") and drag it
down
3. To compute average score, type =AVERAGE(B2:B7)
4. To compute count of students with recorded scores,type =COUNT(B2:B7)
5. To compute non empty cells in the name column, type =COUNTA(A2:A7)
6. To Count the students with name as “Bob”, type =COUNTIF(A2:A7,"bob")
7. To compute Minimum score,type =MIN(B2:B7)
8. To compute maximum score, type =MAX(B2:B7)
9. To compute grade of students, type =IF(B2>80,"pass","fail")
To discard empty cells, type =IF(B2<>"",IF(B2>82,"pass","fail"),"")
Sample O/P
Steps:
1. To calculate sum, type =sum( in the cell F2 and click and drag the
cells C2, D2 and E2 i.e., =sum(C2:E2) where : denotes the range to
add maths physics and chemistry marks of student no1.
2. For calculating sum for other students, click and drag the sum value of
F2 till F6
3. Similarly calculate average as =average(C2,D2,E2) or
=average(C2:E2). The first case is used if the cells are not continuous
whereas the second case is used when the cells are continuous.
Sample O/P
Ex No 6:
Calculate the Maximum mark, minimum mark, mean, median, standard
deviation and variance for each subject.
Steps:
Ex.No 7:
In this problem you are given the name, gender, attendance, assignment,
midterm and final grades of five students. Find the total of the assessment
marks. Students who pass need to have a total score greater than or equal to
50. Display the word "Pass" or "Fail" under a column called Description
Steps:
Ex.No 8:
Extend the above pass/fail computation problem to include attendance also.
A student passes if he has an attendance greater than 8 else he fails even if
he has a total greater than 50
Solution:
Modify the formula in the previous problem as
=IF(AND(C12>8,G12>=50),"pass","fail")
Sample O/P
Ex No 9:
In the previous problem, without considering attendance as criteria for
passing, calculate the grades of the students as per the grade rule table given
below:
Steps:
Sample O/P
Ex No 10:
Given the below worksheet Write appropriate text functions in excel to
calculate first name, last name and email id.
Steps:
Ex No 11:
Given the table below,
1. Use hlookup function to display student's name Sok Pagan
2. Use vlookup function to find the computer score of the students
named Khorn Channa and Cheng Sokun
Steps: