You are on page 1of 11

GE6161–Computer Practice Lab X.

Exp. No. 2a CHART CREATION

Aim
To create column/line/pie chart for the given set of data.

Procedure
1. Enter data in the Worksheet including header
2. Select cells and choose chart type (Column/Line/Pie etc) in Insert tab.
3. Chart for the data appears.
4. In Layout tab, configure the following:
a. Click Chart Title Above Chart and enter title for the chart.
b. Click Axis Titles Primary Horizontal Axis Title Title Below Axis to enter X-axis
title (for Column/Line chart).
c. Click Axis Titles Primary Vertical Axis Title Vertical Title to enter Y-axis title (for
Column/Line chart).
d. Click Data Labels Outside End to display data on the chart (for Column chart).
e. Click Gridlines Primary Horizontal Gridlines None to remove horizontal lines
from the chart (for Column/Line chart).
5. In Design Tab, click Switch Row/Column to change x-axis data for column chart.
6. For Line Chart:
a. Right click on Y-axis scale and select Format Axis. In Format Axis dialog, specify
the minimum and maximum data.
b. Right click on X-axis and choose Select Data. In Select Data Source dialog, click
Edit and specify data values for X-axis.
c. Select a series, and click Data Labels Left for one and Data Labels Right for the
other and so on.
7. For Pie Chart:
a. Click Data Labels More Data Label Options and check option Percentage and
uncheck Values.

Result
The respective charts were created for visual inference of data

cseannauniv.blogspot.com Vijai Anand


GE6161–Computer Practice Lab X.2

Output

Computer Practice Aggregate (in %)


Department Assess-1 Assess-2 Assess-3
EEE 56 67 78
ECE 73 45 81
CIVIL 65 59 71
CSE 89 74 50
MECH 75 67 54

Ind vs Aus
Overs India Australia
5 45 29
10 79 62
15 97 80
20 110 100
25 125 115
30 155 140
35 175 165
40 210 200
45 240 230
50 295 275

cseannauniv.blogspot.com Vijai Anand


GE6161–Computer Practice Lab X.3

First Quarter Sales


Product Sales (in Crores)
Printers 234
Scanner 90
Fax 109
MFNs 150
Desktops 300
Laptops 270
Servers 100
Accessories 450

cseannauniv.blogspot.com Vijai Anand


GE6161–Computer Practice Lab X.4

Exp. No. 2b SUBJECT GRADE

Aim
To determine grade obtained by the student in a semester examination.

Procedure
1. Select the cells in which internal marks are to be entered and click Conditional
Formatting Highlight Cells Rules Less Than… in Home tab
a) Specify 50 as value with Red Text formatting.
2. Select the cells in which internal marks are to be entered and click Data Validation Data
Validation in Data tab
a) Choose Allow: Whole number, set Minimum to 0 and Maximum to 100,
b) Choose Error alert style to Stop.
3. Enter the subject code and their internal assessment marks.
4. To calculate Avg, click AutoSum in Formulas tab and select Average.
5. Compute Internal (15 marks) by clicking Math & Trig ROUND in Formulas tab.
a) Type E4*0.15 in Number
b) Type 0 in Num_digits
6. Enter attendance marks in the range (0 – 5) using data validation.
7. Compute internals for 20 marks using formula E4 + F4
8. Enter university exam marks (external).
9. Convert external to 80 marks using function ROUND(H4*0.8, 0)
10. Compute Total marks using formula G4 + I4
11. Determine Grade for each subject using nested IF as:
IF(K4>90, "S", IF(K4>80, "A", IF(K4>70, "B", IF(K4>60, "C", IF(K4>55, "D", IF(K4>=50, "E",
"U"))))))
12. Drag to copy the formula in the first row cells to all other rows.

Result
The student’s grade in various subjects was computed using nested IF.

cseannauniv.blogspot.com Vijai Anand


GE6161–Computer Practice Lab X.5

Output

A B C D E F G H I J K L
1 Result Sheet
2 Register No. 312114205001 Name : K. GOPINATH
Att Univ Total
Subject Test1 Test2 Test3 Avg Intern Intern Extern
3 Code (100) (100) (100) (100) (15)
Marks
(20)
Exam
(80)
Marks Grade
(5) (100) (100)

4 HS6151 80 70 92 80.7 12 5 17 91 73 90 A

5 MA6151 50 32 62 48.0 7 1 8 72 58 66 C

6 PH6151 20 0 50 23.3 4 0 4 50 40 44 U

7 CY6151 67 53 72 64.0 10 2 12 74 59 71 B

8 GE6151 50 50 62 54.0 8 3 11 60 48 59 D

9 GE6152 50 24 60 44.7 7 4 11 50 40 51 E

cseannauniv.blogspot.com Vijai Anand


GE6161–Computer Practice Lab X.6

Exp. No. 2c EMPLOYEE PAYROLL

Aim
To compute payroll for employees based on their basic pay and sort the list.

Procedure
1. Enter the employee name, department and their basic pay.
2. Compute the allowances and deductions as fixed percentage of basic pay (cell C3).
a) 30% HRA is 0.3 * C3
b) 90% DA is 0.9 * C3
c) 8% PF is 0.08 * C3
d) 10% IT is 0.1 * C3
3. Calculate Gross as C3 + D3 + E3
4. Calculate Deduct as F3 + G3
5. Compute Net Pay as H3 – I3
6. Drag to copy the formula in the first row cells to all other rows.
7. Make a copy of the dataset to implement other features.
8. The details can also be viewed column wise by selecting Filter in Data tab.
a) All column headers now appear with a drop down symbol.
b) Click Dept drop down list and select Testing to view Testing department details.
9. Select all data including header and click Sort in Data tab. In Sort dialog:
a) Choose Sort by Dept and Order as A to Z for level1.
b) Choose Sort by Gross and Order as Largest to Smallest for level2.
c) Choose Sort by Name and Order as A to Z for level3.
10. Select sorted data incl. header and click Subtotal in Data tab. In Subtotal dialog:
a) Select Dept for At each change in
b) Check option Net Pay in Add subtotal to
c) Check options Replace current subtotals and Summary below data.

Result
Thus employee payroll was computed, sorted and subtotaled department wise.

cseannauniv.blogspot.com Vijai Anand


GE6161–Computer Practice Lab X.7

Output

A B C D E F G H I J
1 Employee Pay Roll
Net
2 Name Dept Basic HRA DA PF IT Gross Deduct
Pay
3 Yamini Testing 12000 3600 10800 960 1200 26400 2160 24240
4 Vigneshwaran Testing 29000 8700 26100 2320 2900 63800 5220 58580
5 Naveen Design 15000 4500 13500 1200 1500 33000 2700 30300
6 Sandhiya Admin 12000 3600 10800 960 1200 26400 2160 24240
7 Varun Admin 18000 5400 16200 1440 1800 39600 3240 36360
8 Raja Guru Design 28000 8400 25200 2240 2800 61600 5040 56560
9 Saravanan Testing 22000 6600 19800 1760 2200 48400 3960 44440

Employee Pay Roll (sort & subtotal)


Net
Name Dept Basic HRA DA PF IT Gross Deduct
Pay
Varun Admin 18000 5400 16200 1440 1800 39600 3240 36360
Sandhiya Admin 12000 3600 10800 960 1200 26400 2160 24240
Admin Total 60600
Raja Guru Design 28000 8400 25200 2240 2800 61600 5040 56560
Naveen Design 15000 4500 13500 1200 1500 33000 2700 30300
Design Total 86860
Vigneshwaran Testing 29000 8700 26100 2320 2900 63800 5220 58580
Saravanan Testing 22000 6600 19800 1760 2200 48400 3960 44440
Yamini Testing 12000 3600 10800 960 1200 26400 2160 24240
Testing Total 127260
Grand Total 274720

cseannauniv.blogspot.com Vijai Anand


GE6161–Computer Practice Lab X.8

Exp. No. 2d ELECTRICITY BILL

Aim
To design electricity bill format and to compute tariff based on given rates.

Procedure
1. Design the electricity bill format on a worksheet.
2. Insert the EB logo by choosing Clip Art in Insert tab.
3. Insert the date in cell B5 by clicking Date & Time TODAY in Formulas tab. Right click on
cell and click Format Cells and choose the appropriate Time format.
4. Insert the time in cell F5 by clicking Date & Time NOW in Formulas tab. Right click on
cell and click Format Cells and choose the appropriate Date format.
5. Right click on connection number, name, Previous & Current Reading cells and uncheck the
Locked feature in Protection tab in Format Cells menu.
6. Calculate Units as C9 – B9
7. Amount is based on slab rates given in the problem. It is computed using IF as:
IF(D9>300, 850+(D9-300)*5, IF(D9>200, 450+(D9-200)*4, IF(D9>100, 150+(D9-100)*3,
IF(D9>50, 50+(D9-50)*2, D9))))
8. Click Print Area in Page Layout tab to set the section of sheet for printout.
9. Protect the worksheet by clicking Protect Sheet in Review tab, uncheck option Select locked
cells and specify a password.

Result
Thus electricity bill for a consumer is elegantly designed using protection features

cseannauniv.blogspot.com Vijai Anand


GE6161–Computer Practice Lab X.9

Output

A B C D E F
1 Tamil Nadu Electricity Board
2 Chennai South Circle
3 Kelambakkam–603 103
4
5 Date : 3-Oct-14 Time : 9:46
6 Conn. No : 128-45-122 Name : Vijai Anand
7
Previous Current Amount
8 Reading Reading
Units
(in Rs.)

9 61400 61660 260 690

10
11
12 Authorized Signatory
13
14 Units Rate/unit Units Rate/unit
15 <= 50 1 201-300 4
16 51-100 2 > 300 5
17 101-200 3

cseannauniv.blogspot.com Vijai Anand


GE6161–Computer Practice Lab X.10

Exp. No. 2e CONVERSIONS

Aim
To convert data from one parameter to another, using function or formula.

Procedure
1. Number system conversion (from Decimal to Binary/Octal/Hexadecimal)
a. Type decimal numbers and leave other columns blank
b. To obtain binary number, click More Functions in Formula tab and select
Engineering DEC2BIN. Select cell A3 for Number and click OK.
c. To get octal/hex values using function DEC2OCT/DEC2HEX respectively.
d. Drag to copy the formula for all other rows.
2. For Binary to Decimal/Octal/Hexadecimal conversion, use function BIN2DEC / BIN2OCT /
BIN2HEX respectively.
3. For Octal to Binary/Decimal/Hexadecimal conversion, use function OCT2BIN / OCT2DEC /
OCT2HEX respectively.
4. For Hexadecimal to Binary/Decimal/Octal conversion, use function HEX2BIN / HEX2DEC /
HEX2OCT respectively.
5. For conversions involving metrics, use well-defined formulas such as (1 inch = 2.54 cm; 1
foot = 12 inches; 1 kilometer = 1000 meters, 1 hour = 60 minutes, etc)
a. For example to convert inches to feet, type inch values in cells L3:L12
b. Equivalent feet is obtained using formula L3/12
c. Drag to copy the formula for other rows.
d. Select M3:M12 cells, right click and click Format Cells… In Number tab, choose
Number and set Decimal places to 1.
6. For conversions involving currencies or others, use relevant formulas.
a. For example, to convert Dollar to Rupee use formula F3 * 65 (assume Rs. 65/dollar)
b. To convert Dollar to Rupee, then formula is F3 / 65

Result
Thus conversions from one data unit to another are performed using built-in function or
formula.

cseannauniv.blogspot.com Vijai Anand


GE6161–Computer Practice Lab X.11

Output

A B C D E F G H I J K L M
1 Number Conversion Currency Conversion Metric Conversion

2 Decimal Binary Hexa Octal Rupee Dollar Dollar Rupee Inches Feet
3 15 1111 F 17 15 975 700 10.77 12 1.0
4 24 11000 18 30 24 1560 645 9.92 36 3.0
5 54 110110 36 66 67 4355 2000 30.77 70 5.8
6 78 1001110 4E 116 78 5070 5304 81.60 90 7.5
7 35 100011 23 43 35 2275 2380 36.62 108 9.0
8 43 101011 2B 53 43 2795 2924 44.98 140 11.7
9 60 111100 3C 74 60 3900 4080 62.77 156 13.0

cseannauniv.blogspot.com Vijai Anand

You might also like