Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

Bahria University, Lahore Campus

Department of Computer Sciences


Lab Journal 07
(Spring 2024)
Course: ICT Date:

Course Code: CSL-110 Max Marks: 10

Faculty’s Name: Shahid Mehmood Lab Engineer :

Name: ____________________________________ Enroll No: _______________________

Objectives:
This lab is intended to provide an overview of the basics of Microsoft Excel 2016. This lab is
designed to familiarize students with the basic terminologies of a spreadsheet i.e. cells, rows and
columns. It will help students to enter, format and manipulate data in a spreadsheet. An
introduction of basic formulas like sum, multiply, subtract and add will be practiced in this lab.

 To understand basic concepts of MS Excel.


 To create different type of worksheets in Excel.
 To understand the application of different types of formulas in Excel.
Formulas:

SUM(): Returns Sum of a the range.

Example: =AVG(K2:K28

AVG(): Returns the Average of the range.

Example: =AVG(K2:K28)

MIN() / MAX: Returns minimum/maximum of a range of numbers.

Example: MIN(K2:K28) / MAX(K2:K28)

COUNT: This formula counts the cells with numerical values.

Page 1 of 13
Example: =COUNT(K2:K28)

COUNTIF: Counts the occurrences of numeric values if satisfy the given condition / criteria.

Example: We want to count all sales greater than 100.

Syntax: =COUNTIF(K2:K28, ">100".

COUNTIFS: It counts the range based on two conditions / two criteria.

Example: If we wish to check sales greater than 100 for compressor 2.

Syntax: =COUNTIFS(K2:K28, ">100", L2:L28, "compressor 2")

SUMIF: This function is used to sum values based on a single criterion.

Example: Sum of sales which are less than 100 or greater than 150 etc.

SUMIF (range, criteria)  =SUMTIF(K2:K28, "<100".

SUMIFS: This function sums over a range based on TWO criteria.

Example: we need to sum sales of each compressor. We can use SUMIFS function.

Syntax: =SUMIFS(K2:K28, L2:L28,"compressor 1")

Lab Tasks:
Task 1 :

Give answers to the following. 20 Minutes

1. List any three uses of MS Excel.

2. What is a spreadsheet? What is the difference between a worksheet and a spreadsheet?

3. What is a range? How is a range represented in MS Excel?

Page 2 of 13
4. What is a formula? How should all formulas be started in MS Excel?

5. What is the correct formula to calculate the total of cell B3 and B4?

Task 2 :

Exploring MS-Excel. 30 Minutes

1. Open a new file and save it as an excel workbook naming it “your_EnrollmentNo.xlsx”.

i. Enter some numbers in any cell and then change the number formatting to:
i. Percentage
ii. Currency
ii. Enter the date and change its format by right clicking on the cell and choosing “Format
Cells”. Alternatively, click on the arrow in the Numbers Tab.
iii. Explore other alignment and font options.

Using automatic features of MS Excel.


2. Do the following:

i. Create a column for each month of the year without manually typing each name.
ii. Enter the number of days of each month in its respective column without typing each.

Page 3 of 13
Task 3 20 Minutes

Using simple formulas in MS Excel.

a) In Cell E4 create a formula that adds the employee's calls, then copy the formula down the
column.

Employee Day 1 Phone Calls Day 2 Phone Calls Day 3 Phone Calls Total Calls
Sioux 25 33 72
Tom 25 79 94
Chin 36 48 38
Pham 91 36 59
Shelia 54 67 58
Mo 89 95 27

b) Consider the following Data:

1) create a formula that adds the expenses to get total expenses for Monday (do not include the Revenue).
Then copy that formula through the range Monday to Friday.
2) Create a formula that calculates Net Income (total revenue – total expenses). Then copy that formula
through the range Monday to Friday.

Monday Tuesday Wednesday Thursday Friday

Revenue 1,000.00 1,100.00 1,210.00 1,331.00 1,464.10

Expense 1 291.00 228.00 140.00 268.00 217.00

Expense 2 200.00 124.00 270.00 140.00 164.00

Expense 3 235.00 225.00 103.00 233.00 257.00


Total Expenses
Min Expense
Max Expense
Average expense
Net Income

Page 4 of 13
1) In cell Total Sales, create a formula that will add the Sales for Sioux. Make sure that you
verify that the formula is working.
2) Repeat the process for any other Salesman i.e. Fred / Joe etc

Date Salesman Sales Names Total Sales


3/18/2010 Fred $73.00 Sioux
3/19/2010 Jo $121.00
3/20/2010 Fred $167.00
3/21/2010 Joe $167.00 Names Total Sales
3/22/2010 Sue $75.00 Sue
3/23/2010 Fred $157.00
3/24/2010 Sue $61.00
3/25/2010 Fred $108.00
3/26/2010 Jo $139.00
3/27/2010 Sioux $130.00
3/28/2010 Sue $66.00
3/29/2010 Sioux $86.00
3/30/2010 Joe $122.00
3/31/2010 Sioux $50.00
4/1/2010 Sue $77.00
4/2/2010 Fred $140.00
4/3/2010 Sue $107.00
4/4/2010 Sioux $109.00
4/5/2010 Joe $121.00
4/6/2010 Fred $78.00
4/7/2010 Sioux $168.00
4/8/2010 Jo $88.00
4/9/2010 Chin $110.00
4/10/2010 Chin $132.00
4/11/2010 Jo $54.00
4/12/2010 Fred $58.00
4/13/2010 Sue $71.00

b) 1) Consider the Table and data below and "Count number of sales for each compressor":

ProductSold Count Sales


Compressor 1
Compressor 2
Compressor 3

SalesRe
Date p Sales ProductSold
3/20/2010 Fred $167.00 Compressor 1

Page 5 of 13
3/26/2010 Jo $139.00 Compressor 1
4/6/2010 Fred $78.00 Compressor 1
4/8/2010 Jo $88.00 Compressor 1
4/12/2010 Fred $58.00 Compressor 1
4/13/2010 Sue $71.00 Compressor 1
3/21/2010 Joe $167.00 Compressor 2
3/25/2010 Fred $108.00 Compressor 2
3/27/2010 Sioux $130.00 Compressor 2
3/29/2010 Sioux $86.00 Compressor 2
3/31/2010 Sioux $50.00 Compressor 2
4/1/2010 Sue $77.00 Compressor 2
4/3/2010 Sue $107.00 Compressor 2
4/4/2010 Sioux $109.00 Compressor 2
4/5/2010 Joe $121.00 Compressor 2
4/10/2010 Chin $132.00 Compressor 2
3/18/2010 Fred $73.00 Compressor 3
3/19/2010 Jo $121.00 Compressor 3
3/22/2010 Sue $75.00 Compressor 3
3/23/2010 Fred $157.00 Compressor 3
3/24/2010 Sue $61.00 Compressor 3
3/28/2010 Sue $66.00 Compressor 3
3/30/2010 Joe $122.00 Compressor 3
4/2/2010 Fred $140.00 Compressor 3
4/7/2010 Sioux $168.00 Compressor 3
4/9/2010 Chin $110.00 Compressor 3
4/11/2010 Jo $54.00 Compressor 3

Task 4: Homework

Calculate exam result sheet given below:

Page 6 of 13
Page 7 of 13

You might also like