0% found this document useful (0 votes)
3 views7 pages

Lab-05

The document outlines Lab #05 for an Information and Communications Technology course at Bahria University, focusing on using MS Excel for creating charts, pie charts, and pivot tables. It includes specific tasks for visualizing data, such as adding legends and data labels, creating pie charts with percentages, and using pivot tables to summarize data. Additionally, it covers automating data transfers between sheets using macros.

Uploaded by

Umar Khattak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views7 pages

Lab-05

The document outlines Lab #05 for an Information and Communications Technology course at Bahria University, focusing on using MS Excel for creating charts, pie charts, and pivot tables. It includes specific tasks for visualizing data, such as adding legends and data labels, creating pie charts with percentages, and using pivot tables to summarize data. Additionally, it covers automating data transfers between sheets using macros.

Uploaded by

Umar Khattak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

ICT LAB LAB # 05

LAB JOURNAL-05
INFORMATION AND
COMMUNICATIONS
TECHNOLOGY
(CSL-
114)

DEPARTMENT OF COMPUTER
SCIENCES

BAHRIA UNIVERSITY, ISLAMABAD CAMPUS


ICT LAB LAB # 05

OBJECTIVES:

Working with MS EXCEL


 CHARTS
 PIE CHARTS
 PIVOT TABLES
 AUTO TRANSFERS THE DATA FROM
ONE SHEET TO ANOTHER &
RUNNING MACROS.

LAB TASKS
CHARTS
Turning data into charts can help visualize the information at hand. To convey the
appropriate message from your data, you need to select an appropriate type of chart for
your data.
Let us start out with creating a simple chart using the chart wizard. Draw a table for a total
expense sheet, showing the total expenses accumulated by a company in the 12 months of
a particular year. Select the entire table.
ICT LAB LAB # 05

On the ribbon, click the Insert tab. There you will notice the Charts group, showing
all the different types of charts that can be created out of the data. Select the 1st
option in 2D bars (the clustered bar chart).

This is the chart excel will create.

Legends and Data labels:


In Excel charts, legends and data labels are used to help understand the data being
presented.
ICT LAB LAB # 05

1. Legend: This is a key that explains what different colours or symbols in the
chart represent. For example, if you have a bar chart showing sales for
different products, the legend will tell you which colour corresponds to which
product.

2. Data Labels: These are text labels that show specific values for each data
point in the chart. For example, if you have a pie chart, data labels might
display the percentage of each slice, making it clear how much each category
contributes to the total.

Task 01:
a) Include legends and data labels. Also add x-axis title.
b) Switch rows with columns for the above chart.
c) By using chart data range, select data until July and apply the selected range to be
shown on the chart.
d) Cover the chart area with texture or picture.
e) Move the data labels to the inside end.
f) Apply different chart styles and see the result.
g) Apply filters and see the bars only for the month of January and November.
Pie charts:
Pie charts can be used to show percentages of a whole. Each slice of pie (data point)
shows the size or percentage of that slice relative to the whole pie. Unlike bar graphs
and line graphs, pie charts do not show changes over time.
ICT LAB LAB # 05

TASK 02:
a. Using the same table, create a 2D pie chart. Instead of showing absolute values,
we would like the chart to show the percentages that each segment makes up as a
data label.
b. The month name should also be part of the label and the legend is not needed.
c. The labels should be at the outside end of the data points.
d. Make sure, the chart has a meaningful title.
e. Adjust the chart size so that all the data is clearly visible.
f. Give the chart area black border of width 5.5 and gradient fill the labels for high
visibility.
g. Move chart to the new sheet by using “move chart” command to make it look
more visible and enlarge.
h. Remove all gridlines
I. Change angle of first slice
j. Apply pie explosion.

Pivot tables

A PivotTable is an interactive way to quickly summarize large amounts of data. Pivot


tables are also used to easily create meaning out of large amounts of data. Let us take an
example.
TASK 03:
Open the departmental expenses sheet or create it, if you haven’t got one. Select the entire
table and then go to the Insert tab on the ribbon.
 Click the PivotTable button.
 The dialog box that pops up allows you to modify the range of data to be used for the
pivot table, and to choose where the pivot table needs to be placed. Leave everything
as it is and press OK button.
ICT LAB LAB # 05

EXERCISE NO 1:
 At this stage, your pivot table does not look like anything that makes sense.
 We need to tweak it a little bit to show the information we need.
 Notice that all the fields have come under Row Labels, except for Expense, which is
under Values.
 Drag the Expense Type field to Report Filter.
 Drag the Department field to the Column Labels
 Now assume that we only want the information for Travel and Social expenses. Click
on the drop-down field next to Expense type, and then check the Select Multiple
Items checkbox.
 After that, deselect the Expense types we do not need and click OK.
 Display the maximum and then minimum expense by the employee in a particular
month.

EXERCISE NO 2
(FROM PREVIOUS LAB)

Automatically transfer data from one sheet to another


in excel.
 Create a table with 6 different columns. Such that the columns headings are
as below. Fill the table with 10 different records in a format shown below:
ICT LAB LAB # 05

 Your main task is to automatically send data, course wise to different sheets created
according to the criteria specified. In this case the criteria already mentioned is course.
You need to create 3 different sheets named account, CIT, Graphics and AutoCAD. From
the main sheet, course wise data will be transferred to the different sheets corresponding to
that course. You will complete this task by running the macro. Additionally, you would
need to set up your work in such a way that any addition in the main sheet should be
reflected in the corresponding sheets.

S.NO EXERCISE STATUS


1. Exercise 01
2. Exercise 02

***************************END OF JOURNAL**************************

You might also like