Data Analytics With Excel-Lab(BCS 358A) Manual_2
Data Analytics With Excel-Lab(BCS 358A) Manual_2
● Learn how to use Pivot Tables and Pivot Charts to streamline your workflow in Excel
● Understand and Identify the principles of data analysis
2
Working with Data: Importing data, Data Entry & Manipulation, Sorting & Filtering.
3
Working with Data: Data Validation, Pivot Tables & Pivot Charts.
4 Data Analysis Process: Conditional Formatting, What-If Analysis, Data Tables, Charts &
Graphs.
5
Cleaning Data with Text Functions: use of UPPER and LOWER, TRIM function, Concatenate.
6 Cleaning Data Containing Date and Time Values: use of DATEVALUE function, DATEADD and
DATEDIF, TIMEVALUE functions.
8 Working with Multiple Sheets: work with multiple sheets within a workbook is crucial for
organizing and managing data, perform complex calculations and create comprehensive
reports.
9 Create worksheet with following fields: Emp no, E name, Basic Pay(BP), Travelling
Allowance(TA), Dearness Allowance(DA), House Rent Allowance(HRA), Income Tax(IT),
Provident Fund (PF), Net Pay (NP). Use appropriate formulas to calculate the above scenario.
Analyse the data using appropriate chart and report the data.
10 Create worksheet on Inventory Management: Sheet should contain Product code, Product name,
Product type, MRP, Cost after % of discount, Date of purchase. Use appropriate formulas to
calculate the above scenario. Analyse the data using appropriate chart and report
the data.
lOMoARcPSD|33865997
11 Create worksheet on Sales analysis of Merchandise Store: data consisting of Order ID,
Customer ID, Gender, age, date of order, month, online platform, Category of product, size,
quantity, amount, shipping city and other details. Use of formula to segregate different
categories and perform a comparative study using pivot tables and different sort of charts.
12 Generation of report & presentation using Autofilter & macro.
● Each experiment is to be evaluated for conduction with an observation sheet and record
write-up. Rubrics for the evaluation of the journal/write-up for hardware/software
experiments are designed by the faculty who is handling the laboratory session and are
made known to students at the beginning of the practical session.
● Record should contain all the specified experiments in the syllabus and each experiment
write-up will be evaluated for 10 marks.
● Total marks scored by the students are scaled down to 30 marks (60% of maximum
marks).
● Weightage to be given for neatness and submission of record/write-up on time.
● Department shall conduct a test of 100 marks after the completion of all the experiments
listed in the syllabus.
● The suitable rubrics can be designed to evaluate each student’s performance and learning
ability.
● The marks scored shall be scaled down to 20 marks (40% of the maximum marks).
The Sum of scaled-down marks scored in the report write-up/journal and marks of a test is the
● The examination schedule and names of examiners are informed to the university before the
conduction of the examination. These practical examinations are to be conducted between the
schedule mentioned in the academic calendar of the University.
lOMoARcPSD|33865997
● (Rubrics) Breakup of marks and the instructions printed on the cover page of the answer script
to be strictly adhered to by the examiners. OR based on the course requirement evaluation
rubrics shall be decided jointly by examiners.
● Students can pick one question (experiment) from the questions lot prepared by the examiners
jointly.
● Evaluation of test write-up/ conduction procedure and result/viva will be conducted jointly by
examiners.
General rubrics suggested for SEE are mentioned here, writeup-20%, Conduction procedure and result
in -60%, Viva-voce 20% of maximum marks. SEE for practical shall be evaluated for 100 marks and
scored marks shall be scaled down to 50 marks (however, based on course type, rubrics shall be decided
by the examiners) ,Change of experiment is allowed only once and 15% of Marks allotted to the
procedure part are tobe made zero.The minimum duration of SEE is 02 hours
● Wayne L. Winston - Microsoft Excel 2019: Data Analysis And Business Modeling, PHI,
ISBN: 9789389347180
● Aryan Gupta-Data Analysis in Excel: The Best Guide.
(https://www.simplilearn.com/tutorials/excel-tutorial/data-analysis-excel)
lOMoARcPSD|33865997
An Introduction to MS Excel
MS Excel is a spreadsheet program where one can record data in the form of tables. It is easy to analyze data
in an Excel spreadsheet. The image given below represents how an Excel spreadsheet looks like:
• Click on Start
• Then All Programs
• Next step is to click on MS Office
• Then finally, choose the MS-Excel option
Alternatively, you can also click on the Start button and type MS Excel in the search option available.
What is a cell?
A spreadsheet is in the form of a table comprising rows and columns. The rectangular box at the intersection
point between rows and columns forms a cell.
A worksheet is a collection of rows and columns. When a row and a column meet, they form a cell. Cells
are used to record data. Each cell is uniquely identified using a cell address. Columns are usually labelled
with letters while rows are usually numbers.
A workbook is a collection of worksheets. By default, a workbook has three cells in Excel. You can delete
or add more sheets to suit your requirements. By default, the sheets are named Sheet1, Sheet2 and so on and
so forth. You can rename the sheet names to more meaningful names i.e. Daily Expenses, Monthly Budget,
etc.
Features of MS Excel
Various editing and formatting can be done on an Excel spreadsheet. Discussed below are the various
features of MS Excel.
The image below shows the composition of features in MS Excel:
• Home
Comprises options like font size, font styles, font colour, background colour, alignment,
formatting options and styles, insertion and deletion of cells and editing options.
Insert
Comprises options like table format and style, inserting images and figures, adding graphs,
charts and sparklines, header and footer option, equation and symbols.
Page Layout
Themes, orientation and page setup options are available under the page layout option.
Formulas
Since tables with a large amount of data can be created in MS excel, under this feature, you
can add formulas to your table and get quicker solutions .
lOMoARcPSD|33865997
Data
Adding external data (from the web), filtering options and data tools are available under this
category.
Review
Proofreading can be done for an excel sheet (like spell check) in the review category and a
reader can add comments in this part .
View
Different views in which we want the spreadsheet to be displayed can be edited here. Options
to zoom in and out and pane arrangement are available under this category.
Ms-Excel shortcuts:
1. Ctrl+N: To open a new workbook.
2. Ctrl+O: To open a saved workbook.
3. Ctrl+S: To save a workbook.
4. Ctrl+C: To copy the selected cells.
5. Ctrl+V: To paste the copied cells.
6. Ctrl+X: To cut the selected cells.
7. Ctrl+W: To close the workbook.
8. Delete: To remove all the contents from the cell.
9. Ctrl+P: To print the workbook.
10. Ctrl+Z: To undo.
Applications of MS Excel:
• Data Entry and Storage
• Performing Calculations
• Data Analysis and Interpretation
• Reporting and Visualizations
• Accounting and Budgeting
lOMoARcPSD|33865997
Experiment No: 1
Aim:
Getting Started with Excel: Creation of spread sheets, Insertion of rows and columns, Drag & Fill, use of
Aggregate functions.
1. Create a suitable examination database and find the sum of the marks(total) of each Student
,Average,pass or fail and grade secured by each student.
Rules
Display average marks of the class, subject wise and pass percentage
Solution:
Type the student database with the required fields starts fromA1 cell as follows
lOMoARcPSD|33865997
To find the total marks of a student click on the cell“G2” and type the following formula
To find the total marks for the remaining students select “G2” cell and drag down to the
remaining students.
To find the average marks of the student click on the cell“H2”and type the following formula
lOMoARcPSD|33865997
To find the average marks for the remaining students select “H2” cell and drag down to the allthe
students.
To check whether the student is Pass or Fail select the cell “I2” and type the following formula
To check the remaining students are Pass/Fail select the cell“I2”and drag down to all the students
•
• Step5: To find Grade
To find the grade of a student click on the cell “J2” and type the following formula
lOMoARcPSD|33865997
To find the grade for the remaining students select “J2”cell and drag down to the all the students
Finally we get the following student database with total, average and grade
Output:
lOMoARcPSD|33865997
Experiment No: 2
Aim:
Working with Data: Importing data, Data Entry & Manipulation, Sorting & Filtering.
Microsoft Excel is a powerful tool for managing and analyzing data. Whether you are dealing with a large
dataset or a simple list, Excel offers various features for importing data, entering information, manipulating
content, sorting, and filtering.
Importing Data:
Excel allows you to import data from various sources, making it a versatile tool for handling diverse datasets.
ImportOpening Excel:
Alternatively, choose "Get External Data" or "Import" based on your Excel version and select the source of
data (e.g., CSV, Database, Web).
Import Data:
If you choose "From Text/CSV," navigate to the location of your CSV file and click "Import."
Excel will guide you through the import process, allowing you to specify delimiters, data types, and other
settings.
Excel provides a user-friendly interface for entering data and performing basic manipulations.
Entering Data:
Click on a cell and start typing your data. Press Enter to move to the cell below or use the arrow keys to
navigate.
Excel automatically adjusts the width of the cell to fit your data.
Data Manipulation:
Move to the destination, right-click, and choose "Paste" to copy the data.
Enter formulas in cells to perform calculations. For example, =SUM (A2:A10) calculates the sum of cells
A2 to A10.
Excel offers a wide range of functions (AVERAGE (), IF (), VLOOKUP (), etc.) for advanced calculations.
Data Validation:
Set criteria to restrict data entry, such as allowing only numbers between a specific range.
Sorting Data:
Sorting data helps in organizing information in a meaningful way for better analysis.
Sorting Ascending/Descending:
Click on the "Data" tab and choose "Sort A to Z" for ascending or "Sort Z to A" for descending order.
Complex Sorting:
For sorting based on multiple criteria (e.g., first sort by Category, then by Price within each Category), use
the "Sort" dialog box.
Specify the primary and secondary sort columns along with the sort order for each.
2. Click the Data Menu and select the sort option. The sort dialog box appears.
Filtering Data:
Filtering data allows you to focus on specific subsets of information within your dataset.
Applying Filters:
Filtering Criteria:
For numeric columns, you can filter by numbers greater than, less than, or within a specific range. For
2. Prepare a salary statement for the following information and plot a graph
1 RAMA 10000
2 MANJU 15000
3 SASH 11000
4 HANU 10000
5 SITA 9000
a. DA is 3% of basic
b. HRA is 5% of basic
c. Tax is 5% of Gross
III. Count the number of employees where net salary is more than 10,000
IV. Sort the data on the basis of employee name in ascending order
V. Plot the column graph by taking employee name on x-axis and net salary on y-axis
VI. Apply custom filter and display the empnames for whom the Basic pay>=10000
SOLUTION:
1. Type the text i.e. “EMPLOYEES SALARY STATEMENT” in the cell from “A1 to H1”
2. Type the SL NO, EMP NAME, BASIC PAY, DA, HRA, GROSS, TAX, NET SALARY
4. Calculation for
DA = C3*3%
HRA = C3*5%
GROSS = C3+D3+E3
TAX = F3*5%
5. Calculation for
MAXIMUM = max(C3:C8)
MINIMUM = min(C3:C8)
COUNT = countif(C3:C8,”&>=10000”)
6. For Sort
Select data range -> Click data menu ->Sort -> Sort by -> Emp Name -> Sort on ->
7. For Graph
Select data range -> Click insert menu -> Chart -> Select column chart -> OK
8. For Filtering
Apply filter selecting Basicpay, then -> click Number filter -> Select greater than and equal to -> enter 10000
➔ Click OK
OUTPUT:
lOMoARcPSD|33865997
FILTERED DATA:
18000
16000
14000
12000
6 BHARATH
10000 4 HANU
2 MANJU
8000 1 RAMA
3 SASH
6000 5 SITA
4000
2000
0
BASIC PAY DA HRA GROSS PAY TAX NET SALARY
lOMoARcPSD|33865997
Experiment No: 3
Aim:
Working with Data: Data Validation, Pivot Tables & Pivot Charts.
Pivot tables are one of Excel's most powerful features. A pivot table allows to extract the significance from a large,
detailed data set.
Data set consists of 213 records and 6 fields. Order ID, Product, Category, Amount, Date and Country.
The following dialog box appears. Excel automatically selects the data for you. The default location for a new pivot
table is New Worksheet.
3. Click OK.
lOMoARcPSD|33865997
Drag fields
The PivotTable Fields pane appears. To get the total amount exported of each product, drag the following fields to
The different areas.
Below you can find the pivot table. Bananas are our main export product.
lOMoARcPSD|33865997
Sort
To get Banana at the top of the list, sort the pivot table.
Filter
Because we added the Country field to the Filters area, we can filter this pivot table by Country. For example,
Which products do we export the most to France?
lOMoARcPSD|33865997
Note: you can use the standard filter (triangle next to Row Labels) to only show the amounts of specific products.
By default, Excel summarizes your data by either summing or counting the items. To change the type of calculation
that you want to use, execute the following steps.
3. Choose the type of calculation you want to use. For example, click Count.
4. Click OK.
To easily compare these numbers, create a pivot chart and apply a filter. Maybe this is one step too far for at
this stage, but it shows one of the many other powerful pivot table features Excel has to offer.
lOMoARcPSD|33865997
Experiment No: 4
AIM:
Data Analysis Process: Conditional Formatting, What-If Analysis, Data Tables, Charts &Graphs.
What-if analysis is the option available in Data. In what-if analysis, by changing the input value in some cells
you can see the effect on output. It tells about the relationship between input values and output values.
What-if analysis is a procedure in excel in which we work in tabular form data. In the What-if analysis variety
of values have been in the cell of the excel sheet to see the result in different ways by not creating different
sheets. There are three tools of what-if analysis.
.
lOMoARcPSD|33865997
Scenario Manager
In scenario manager, we create different scenarios by proving different input values for the
same variable
than by comparing scenarios to choose the correct result. For Example, To check the cost of
revenue for three
different months.
lOMoARcPSD|33865997
Experiment No: 5
AIM:
Cleaning Data with Text Functions: use of UPPER and LOWER, TRIM function, Concatenate
The data that obtain from different sources many not be in a form ready for analysis. In this chapter,
We will understand how to prepare your data that is in the form of text for analysis. Initially, we need to clean
the data. Data cleaning includes removing unwanted characters from text. Next, you
need to structure the data in the form you require for further analysis. You can do the same by −
• Finding required text patterns with the text functions.
• Extracting data values from text.
• Formatting data with text functions.
Removing Unwanted Characters from Text
When you import data from another application, it can have nonprintable characters and/or excess spaces.
The excess spaces can be −
• leading spaces, and/or
• Extra spaces between words.
If you sort or analyze such data, you will get erroneous results.
Consider the following example −
lOMoARcPSD|33865997
Experiment No: 6
AIM:
Cleaning Data Containing Date and Time Values: use of DATEVALUE function,
DATEADD and DATEDIF, TIMEVALUE functions.
The data that you obtain from different sources might contain date values.
In this chapter, you will understand how to prepare your data that contains
data values for analysis.
• Date Formats
o Date in Serial Format
o Date in different Month-Day-Year Formats
• Converting Dates in Serial Format to Month-Day-Year Format
• Converting Dates in Month-Day-Year Format to Serial Format
• Obtaining Today's Date
• Finding a Workday after specified Days
• Customizing the Definition of a Weekend
• Number of Workdays between two given Dates
Date Formats
• Serial Format
• In different Year-Month-Day Formats
If you need to perform calculations based on today’s date, simply use the Excel function TODAY ().
The following screenshot of TODAY () function usage has been taken on 16 th May, 2016 –
lOMoARcPSD|33865997
Experiment No:7
AIM: Create worksheet with following fields: Emp no, E name, Basic Pay(BP), Travelling
Allowance(TA), Dearness Allowance(DA), House Rent Allowance(HRA), Income
Tax(IT),Provident Fund (PF), Net Pay (NP). Use appropriate formulas to calculate the above
scenario.Analyse the data using appropriate chart and report the data.
lOMoARcPSD|33865997
Experiment No:8
AIM: Create worksheet on Inventory Management: Sheet should contain Product code, Product name,
Product type, MRP, Cost after % of discount, Date of purchase. Use appropriate formulas to calculate the
above scenario. Analyse the data using appropriate chart and report
the data.
1) A key component in effective kitchen management is inventory control. By knowing what supplies are on
hand at a given time, the manager will be able to plan food orders, calculate food costs since the previous
inventory, and make menu item changes if needed. By keeping an eye on inventory, it is possible to note
potential problems with pilferage and waste.
2) An inventory is everything that is found within your establishment. Produce, dry stores, pots and pans,
uniforms, liquor, linens, or anything that costs money to the business should be counted as part of inventory.
Kitchen items should be counted separately from the front of house and bar inventory and so forth.
3) Effective inventory control can be broken down into a few important steps:
Experiment No:9
AIM:Create worksheet on Sales analysis of Merchandise Store: data consisting of Order ID,
Customer ID, Gender, age, date of order, month, online platform, Category of product, size, quantity,
amount, shipping city and other details. Use of formula to segregate different categories and perform a
Comparative study using pivot tables and different sort of charts.
A pivot table is a summary of your data, packaged in a chart that lets you report on and explore trends
based on your information. Pivot tables are particularly useful if you have long rows or columns that
hold values you need to track the sums of and easily compare to one another.
lOMoARcPSD|33865997
Experiment No:10
AIM: Generation of report & presentation using Autofilter & macro.
Go to Developer Tab à Macros to use the Macros Menu. Enter a Macro Name for the report and click Create
Button. After all these steps are done, you are all set to run the report. Enter the necessary details to generate
the report.
lOMoARcPSD|33865997