Professional Documents
Culture Documents
EXCEL Lab Manual
EXCEL Lab Manual
Lab Exercise : 1
Objective:
The purpose of this exercise is to create employees salary sheet.
Instructions:
The following options &formulas of MS-Excel will be used in this exercise.
Questions:
Page 2
MS EXCEL
Lab Exercise :2
Objective:
The purpose of this exercise is to create students Marks sheet.
Instructions:
The following options & formulas of MS-Excel will be used in this exercise.
Questions:
Page 3
MS EXCEL
Lab Exercise : 3
Objective:
The purpose of this exercise is to find out data using VLOOKUP formula.
Instructions:
The following formulas of MS-Excel will be used in this exercise.
1. =vlookup(), =countif()
Questions:
2. You have to find out the city, departure time and terminal of Flight No. LH 5842 using vlookup
formula
3. Find out the no. of flights coming on terminal 2 using formula.
Page 4
MS EXCEL
Lab Exercise : 4
Objective:
The purpose of this exercise is to calculate grades using VLOOKUP formula.
Instructions:
Questions:
Page 5
MS EXCEL
Lab Exercise : 5
Objective:
The purpose of this exercise is to find out data using HLOOKUP formula.
Instructions:
Exercise:
Page 6
MS EXCEL
Lab Exercise : 6
Objective:
The purpose of this exercise is to filter out information from worksheet.
Instructions:
DATA FILTER
Exercise:
Page 7
MS EXCEL
Lab Exercise : 7
Objective:
The purpose of this exercise is to extract information from worksheet.
Instructions:
DATA ADVANCED
Exercise:
Page 8
MS EXCEL
Lab Exercise : 8
Objective:
The purpose of this exercise is to extract information from worksheet.
Exercise:
1. Arrange data in ascending order with respect to the column of Murder in the given data.
2. Arrange data in ascending order with respect to Region and then with respect to State in the given
data.
Instructions:
1. Highlight the column headings for columns A through G.
2. Open the Data menu and select the Sort… option. (Note: At the top-right of the Sort Options
screen the My List Has No Header Row option is selected. Since the first row of the spreadsheet
has data labels we do not want these labels to be sorted with the data, select My list has Header
Row.
3. Click on the down arrow button in the Sort By option. This provides a list of all the variable labels
in the first row of the spreadsheet. Select the MURDER label, select the Descending option, and
then click on the OK button. The data in the spreadsheet is now arranged from the highest to the
lowest value.
4. For a different sort, highlight the column headings, open the Data menu, and select the
5. Sort… option.
6. In the Sort By… option select REGION and the Ascending option. In the Then Sort By… option
select STATE and the Ascending option. Then click on the OK button. The data is now sorted by
region, and within each region is arranged in alphabetical order by state abbreviation.
Page 9
MS EXCEL
Home Work:
1. Arrange states who have witnessed least to maximum robbery.
2. Arrange states who have witnessed least to maximum robbery for each region in alphabetical
order.
Page 10
MS EXCEL
Lab Exercise :9
Objective:
To help students in applying formulas or functions (either built-in or creating your own)
Exercise:
Cost-Benefit Analysis by using formulas and functions
Instructions:
1. Enter the information in the spreadsheet below. Be sure that the information is entered in the same
cells as given, or the formulas will not work. The information is the stream of costs and benefits (in
millions) estimated for a proposed city baseball stadium. Year 0 represents the initial investment
while costs for years 1-10 are the maintenance costs incurred at the end of each year. The benefits
are the revenues from sport team contracts and revenues at the end of each year.
2. Highlight the cell range B4:D14.
3. Open the HOME menu, select Number... Select the category CURRENCY, select the format
$1,234.10(fig 1). Repeat this procedure for the cell range F4:F16.
4. Highlight cell B18. Open the FORMAT menu, select CELLS... Select the category PERCENT, select two
decimal places.
5. Calculate the Total Benefit for each year of the project. To do this, enter the following formulaD4:
=c4-b4
6. Copy the formula in cell D4 to the cell range D5:D14.
7. Enter the following value for the discount rate (a 10% discount rate) in B18 = 0.1
8. Calculate the discount factor for each year. Enter the following formula. E4: =1/(1+$b$18)^a4
9. Copy the formula in cell E4 to the cell range E5:E14.
10. Multiply the total benefit for each year by the discount factor for each year. Enter the following
formula. F4: =d4*e4
11. Copy the formula in cell F4 to the cell range F5:F14.
12. Find the Net Present Value. Add together the Present Values
for each year. Enter the following formula. F16: =sum (f4:f14)
13. To calculate the average benefits gain in 10 years. Enter the
following formula. F17: =Average (d4:d14)
14. To calculate the minimum benefits gain in 10 years. Enter the
following formula. F18: =Min(d4:d14).
15. To calculate the maximum benefits gain in 10 years. Enter the
following formula. F19: =Max(d4:d14).
Page 11
MS EXCEL
Home Work:
Pak Motors(ptv)
Page 12
MS EXCEL
Instructions:
1. Place the cursor on any cell between A1 and G16; where the database is located.
2. From the Insert menu, select the PivotTable option.
3. To select the data for pivot table make sure that the cells selected are between A1 and G16.
and then press the Next button.
4. To save the pivot table, select the New worksheet option.
5. Layout of pivot table will open. This allows you to create immediately a
pivot table. You can place the fields that you need, located on the right,
into four different areas: page, row, column and data.
6. From the Pivot table's field list, select the Salary field.
7. Press and hold the left mouse button and move the field into the Value area.
Release the mouse button as soon as the square for the Salary field is over the Data area.
8. Now select the Title field, bring it to the Row /column area.
total of salaries by title and by gender
9. The new table shows the total of salaries by occupation (title:
Manager, Worker...) with always a grand total of 394 400 $.
To show the total of salaries by title and by gender.
10. select the Gender field
11. Press and hold the left mouse button and move the field in the Column/Row area.
12. If both the fields are in column they show a different view as compare to the view where one
field is in row and the other is in column area. This shows the dynamic attribute of pivot table.
Page 13
MS EXCEL
Exercise:
1. To list the employees with respect to gender.
2. To list the employees with respect to the salary brackets of 20-25,26-30,31-35,36-40.Also
display it with graph.
Page 14
MS EXCEL
11. When you are finished making all of the changes you would like to make, simply clickon the OK
button. To see what the printed spreadsheet would now look like, open theFile menu and select
the Print Preview… command.
12. Only two states appear on the second page which is a waste of paper. To help save atree, or at
least a twig or two, the spreadsheet can be fit on to one page. To do this, openthe File menu
and select the Page Setup… option. Under the Page options click on Fit to1 page(s) wide by 1 tall
option. Now click on the OK button to accept this change.
13. Open the File menu and select the Print Preview command. Notice the data for all thestates now
fits on one page. A printed version of the changes made above is provided on
page 4 of this handout.
Page 15
MS EXCEL
Q2.
Testes weight (mg)
Mouse sum of mean
strain Mean SEM and sem product
Strain A 142 12 154 2840
Strain B 82 3 85 3280
Strain C 60 5 65 1500
Strain D 38 1 39 380
Page 16
MS EXCEL
Page 17