lab-manaul-final-data-analytics-with-excel-bcs358a
lab-manaul-final-data-analytics-with-excel-bcs358a
lab-manaul-final-data-analytics-with-excel-bcs358a
LAB MANUAL
Semester-III
Prepared By,
Prof.Manjula L
Prof.Thendral
Dept. of CSE,TOCE,Bengaluru.
DEPARTMENT VISION:
To produce technocrats with creative technical knowledge and intellectual skills to sustain and excel
in the highly demanding world with confidence.
DEPARTMENT MISSION
M1 - To produce the Best Computer Science Professionals with intellectual skills.
M2 - To provide a vibrant Ambience that promotes Creativity, technology Component and
Innovations for the new Era.
M3 - To pursue Professional Excel with Ethical and Moral Values to sustain in the highly
demanding world.
Dept. of CSE,TOCE,Bengaluru.
● Learn how to use Pivot Tables and Pivot Charts to streamline your workflow in Excel
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: Empno, Ename, 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.
Dept. of CSE,TOCE,Bengaluru.
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 ¯o.
● Apply Macros and Autofilter to solve the given real world scenario.
● 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
Downloaded by Anshu Man (anshuman26112005@gmail.com)
Dept. of CSE,TOCE,Bengaluru.
lOMoARcPSD|35013525
● SEE shall be conducted jointly by the two examiners of the same institute, examiners are appointed
by the Head of the Institute.
● 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.
● (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 to
be made zero.
● Berk & Carey - Data Analysis with Microsoft® Excel: Updated for Offi ce 2007®, Third
Edition, © 2010 Brooks/Cole, Cengage Learning, ISBN-13: 978-0-495-39178-4
● 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)
Dept. of CSE
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:
Dept. of CSE
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 .
Dept. of CSE
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
Dept. of CSE
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
Dept. of CSE
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
Dept. of CSE
To find the average marks for the remaining students select “H2” cell and drag down to the all
the 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
To find the grade of a student click on the cell “J2” and type the following formula
Dept. of CSE
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:
Dept. of CSE
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.
Opening Excel:
Dept. of CSE
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:
Dept. of CSE
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.
Dept. of CSE
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 date columns, filter options include dates within a specific period.
2. Prepare a salary statement for the following information and plot a graph
Dept. of CSE
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
Dept. of CSE
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
Dept. of CSE
Dept. of CSE
Dept. of CSE