0% found this document useful (0 votes)
70 views

Lab Manual

Uploaded by

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

Lab Manual

Uploaded by

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

Data Analytics with Excel: BCS358A Academic Year: 2023-24

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

Pass if marks in each subject >=35,

Distinction if average>=75,

First class if average>=65 but <75,

Second class if average>=50 but <65,

Third class if average>=35 but<50,

Fail if marks in any subject is<35.

Steps:
1. Typing Student database in Excel

Type the student database with the required fields starts from A1 cell as follows.

2. To find Total Marks of Student

To find the total marks of a student click on the cell and type the following formula:

=SUM(B4:D4)

3. To find Average marks

To find the average marks of the student click on the cell“F4”and type the following formula:

=AVERAGE(B4:D4)

4. To Check Pass or Fail

To check whether the student is Pass or Fail select the cell “H4” and type the following
formula:

=IF(AND(B4>=35,C4>=35, D4>=35),"Pass", "Fail")

5. To find Grade

To find the grade of a student click on the cell “J2” and type the following formula:

Dept. of AI&ML, VKIT, Bangalore Page 1


Data Analytics with Excel: BCS358A Academic Year: 2023-24

=IF(AND(B4>=35,C4>=35,D4>=35),IF(F4>=75,"Distinction",IF(F4>=65,"First Class",
IF(F4>=50,"Second Class", IF(F4>=35,"Third Class")))),"Fail")

OUTPUT:

Dept. of AI&ML, VKIT, Bangalore Page 2


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Experiment No: 2
Aim: Working with Data: Importing data, Data Entry & Manipulation, Sorting &
Filtering.

SL No Emp Name Basic Pay


1 Anjali 10000
2 Bindu 35000
3 Meghana 7000
4 Naveen 23000
5 Ranjan 15000
6 Samarth 9000
7 Shruti 14000
8 Skanda 5000

I.Using MS-Excel calculate the following


a.DA is 3% of basic
b.HRA is 5% of basic
c.Tax is 5% of Gross
II.Find maximum and minimum of Basic pay
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.Apply custom filter and display the empnames for whom the Basic pay>=10000

Steps:
1.Type the text i.e. “EMPLOYEES SALARY STATEMENT” in the cell from “A1 to H1”
using the merge and center button

2.Type the SL NO, EMP NAME, BASIC PAY, DA, HRA, GROSS, TAX, NET SALARY
in A2, B2, C2, D2, E2, F2, G2, H2 respectively

3.Put the data for SL NO, EMP NAME, BASIC PAY

4. Calculation for
DA = C5*3%
HRA = C5*5%
GROSS = C5+D5+E5
TAX = F5*5%
NET SLARY = F5-G5

Dept. of AI&ML, VKIT, Bangalore Page 3


Data Analytics with Excel: BCS358A Academic Year: 2023-24

5.Calculation for
MAXIMUM -> =MAX(C5:C12)
MINIMUM -> = min(C5:C12)
COUNT = countif(C5:C12,”>=10000”)

6.For Sort
Select data range -> Click data menu ->Sort -> Sort by -> Emp Name -> Sort on -> Values ->
Order -> A to Z

7.For Filtering
Apply filter selecting Basic pay, then -> click Number filter -> Select greater than -> enter
10000 -> Click OK

OUTPUT

Dept. of AI&ML, VKIT, Bangalore Page 4


Data Analytics with Excel: BCS358A Academic Year: 2023-24

FILTERED DATA:

Employee Names for whom the Basic Pay >=10000

Dept. of AI&ML, VKIT, Bangalore Page 5


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Experiment No: 3
Aim: Working with Data: Data Validation, Pivot Tables & Pivot Charts

1.Validate the data for numbers, text and date.


2. Create your own error message and input message.
3. How much Rs(Rupees) did you sell in each Store using pivot table
4. Create a detailing report the Rs Sales by region, Country and store in the following
format:

Region Store Country Sales

EMEA Moscow Australia 123

APAC Tokyo Japan 456

5. Create a chart showing the amount of sales per store in the Australia using pivot
chart.

Steps:

1. Enter the store, country, region, date, item, sales person, list price and actual price in A1 to
H1 respectively.

2. Select country column and apply data validation.

3. Select date column and apply data validation.

4. Enter the data for store, country, region, date, item, sales person, list price and actual price.

5. Select list price column and apply data validation.

6. After entering the data for all the fields, click on any cell.

7. Go to data->Select pivot table->Click on new worksheet->click on OK.

8. In new sheet Pivot table is displayed.

9. In pivot table, drag store to row fields and actual price to values.
10. Again click on any cell in sheet1, Go to data->Select pivot table->Click on existing
worksheet->give the cell range ->click on OK.

11. In pivot table, drag Region, Country and store to row fields and actual price to values.

12. After that go to design->click on report layout->show in tabular form.

Dept. of AI&ML, VKIT, Bangalore Page 6


Data Analytics with Excel: BCS358A Academic Year: 2023-24

13. In the same tab click on subtotals-> click on do not show subtotals.

14.Again click on any cell in sheet1, Go to insert->Select pivot chart->Click on existing


worksheet->give the cell range ->click on OK.

15. Again drag country to filters field, store to axis and actual price to values.

16. In the chart click on country drop-down and uncheck all boxes and check only Australia
box.

OUTPUT:

Dept. of AI&ML, VKIT, Bangalore Page 7


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Experiment No: 4
Aim: Data Analysis Process: Conditional Formatting, What-If Analysis, Data Tables,
Charts & Graphs.

1. Highlight the cells whose candidate id is less than 350000, highlight the southern
candidates cells, highlight female candidates and highlight cells who is mature candidates
greater than 40 and apply data bars for age column, and highlight the result by applying top
5%.

2. The company offering salary to the employees. The employees are expecting the hike and
the company has decided to give 20% of hike to all the employees. If company gives 20% of
hike, then what is going to be the increment? But the company has given the budget only
5,00,000 to increment the salary for all the employees. To make sure that budget should not
cross 5,00,000. Then How much percent you will increment the salary for all the employees
within the budget by applying Goal Seek in What-If Analysis?

3. The company’s monthly sale is 1,00,000. But the company is spending amount towards
marketing is 5000, Salaries is 40000, Office rent is 4000, and Miscellaneous is 1000. What is
the total cost of monthly sales and how much company get the profit. By applying Scenario
Manager in What-If Analysis try these monthly sales in different scenarios?

4. The bank gave the loan amount to the customer of 10,00,000 and rate of interest per yearly
is 8% and the customer has to repay the loan amount within 30 months. Then how much
customer should repay the loan amount per monthly. Calculate the different rate of interest
with different loan amounts by using What-If analysis Data Table?

5. Draw a chart on fruits.

Steps:
1. Type the Candidate ID with data.

2. Type the Area with Data.

3. Type the Gender with data.

4. Type the Age with data.

5. Type the Result with data.

6. Go to Candidate ID column and select the data from B4:B26 -> In the Home Tab click on
Conditional Formatting-> click on Highlight Cell Rules -> click on Greater than -> type
350000 and select Green fill with Dark green Text -> click on OK.

7. Go to Area column and select the data from C4:C26 -> In the Home Tab click on
Conditional Formatting-> click on Highlight Cell Rules -> click on text that contains -> type
South-> select Light Red fill with Dark Red text -> click on OK.

Dept. of AI&ML, VKIT, Bangalore Page 8


Data Analytics with Excel: BCS358A Academic Year: 2023-24

8. Go to Gender column and select the data from D4:D26 -> In the Home Tab click on
Conditional Formatting-> click on Highlight Cell Rules -> click on text that contains -> type
F-> select Custom format and go to Patterns and select any one colour -> click on OK-> click
Ok.

9. Go to Age column and select the data from E4:E26 -> In the Home Tab click on
Conditional Formatting-> click on Highlight Cell Rules -> click on Greater than -> type 40 -
> select Custom format and go to Patterns and select any one colour -> click on OK-> click
Ok. Again select that column and click on Conditional Formatting-> click on Data Bars ->
click on any one colour from Gradient Fill/Solid Fill.

10. Go to Result column and select the data from F4:F26 -> In the Home Tab click on
Conditional Formatting-> click on Top/Bottom Rules -> click on Top 5% -> type 5-> select
Custom format and go to Patterns and select any one colour -> click on OK-> click Ok.

11. Type the Salary with data.

12. Type the budget as 500000 and Increase % as 20%.

13. To calculate the Hike


=A32*$F$32 and drag down till the data.

Dept. of AI&ML, VKIT, Bangalore Page 9


Data Analytics with Excel: BCS358A Academic Year: 2023-24

14. To calculate the New salary:


=A32+B32 and drag down till the data
.
15. To calculate the total of salary and new salary:
Salary: =SUM(A32:A40)
New Salary: =SUM(C32:C40)

16. To Perform Goal Seek in What-If Analysis, click on any cell -> Go to Data -> Click on
What-If Analysis drop-down -> select Goal Seek -> Set Cell: $C$41, To Value: 500000, By
Changing Cell: $F$32 and click OK.

17. Type the Monthly Sales with Data.

18. Type the Monthly Costs of marketing is 5000, Salary is 40000, Rent is 4000 and
Miscellaneous is 1000.

19. To calculate the Total costs of monthly sales:


=SUM(B48:B51)

20. To calculate the Profit of monthly sales:


=B45-B53

Dept. of AI&ML, VKIT, Bangalore Page 10


Data Analytics with Excel: BCS358A Academic Year: 2023-24

21. To perform Scenario manager in What-If Analysis, Select A45:B45 and Go to Formulas
tab and click on create from selection and check the check box of left column and click on
Ok.

22. Go to Data tab -> click on what-if analysis drop-down -> click on scenario manager ->
click on add button -> Give the scenario name : Original Sales, Changing Cells :
$B$45,$B$48:$B$51 -> Click on Ok -> Click on Ok.

23. Again click on add button -> Give the scenario name : High Sales, don’t change anything
in Changing Cells -> Click on Ok -> In Monthly sales: 150000, Marketing: 15000, Salaries:
60000, Office rent: 4000 and Miscellaneous: 1500 -> click on Ok.

24. Again click on add button -> Give the scenario name : Low Sales, don’t change anything
in Changing Cells -> Click on Ok -> In Monthly sales: 750000, Marketing: 1000, Salaries:
25000, Office rent: 4000 and Miscellaneous: 500 -> click on Ok.

25. Now click on original sales and click on show button you can check the data as it is at the
earlier, again click on high sales and click on show button and check whether the values are
changing in the data, again click on low sales and click on show button and check whether
the values are changing in the data.

26. After that click on summary button and give the cell address in result cells and click on
ok.

27. Check whether the scenario summary sheet is added in the worksheet.

28. Type the loan amount as 10,00,000 , rate of interest is 8% and terms is 30.

29. To calculate the Monthly Payment:


=PMT(B60/12,B61,-B59)

Dept. of AI&ML, VKIT, Bangalore Page 11


Data Analytics with Excel: BCS358A Academic Year: 2023-24

30. Type the interest of 6%, 6.5%, 7% and drag down till 9%.

31. In C64 cell , type = and click on B62 and press F4 (=$B$62) and press enter button.

32. Select B64:C71 and Go to Data -> Click on What-If Analysis drop-down -> select Data
Table -> In column Input cell : $B$60 and click on Ok.

33. start Typing Vertically 1000000, 1500000 and select both cells and drag down till
4000000.

34. start Typing Horizontal 6%, 6.5% and select both cells and drag down till 9%.

35. In E63 cell , type = and click on B62 and press F4 (=$B$62) and press enter button.

36. select E64:L71 and Go to Data -> Click on What-If Analysis drop-down -> select Data
Table ->In Row Input cell: $B$60, In column Input cell : $B$59 and click on Ok.

37. Type the Fruits with data.

38. Type the amount w.r.t fruits.

39. Select A76:B84 and Go to Insert tab -> click on chart -> select which type of chart you
want and double ckick on that chart.

40. The chart will appears on your worksheet.

Dept. of AI&ML, VKIT, Bangalore Page 12


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Experiment No: 5
Aim: Cleaning Data with Text Functions: use of UPPER and LOWER, TRIM function,
Concatenate.

First Name Last Name Residing At

Babu BasAvraj 12/10/2013

Pranitha mallikarjun 05/07/2011

BruNda Srinivas 19/10/2018

Shravani aksHay 27/09/2014

raman Yogiraj 18/05/2015

chotu Kiran 17/02/2022

Abhi raghav 23/01/2012

Uday Chanakya 27/08/2016

1.Concatenate first name and last name.

2.Generate the email by using first name, last name

Ex: [email protected]

3.Convert the name into Upper Case.

4.Convert the name into Lower Case.

5.Remove the Unwanted spaces by using Trim function.

Steps:
1.To Concatenate first name and last name:

=CONCAT(A2," ",B2)

2. Generating Email by using first name and last name

=CONCAT(A2,B2,"@gmail.com")

3.Converting name into UPPER case:

=UPPER(D2)

4.Converting name into LOWER case:

Dept. of AI&ML, VKIT, Bangalore Page 13


Data Analytics with Excel: BCS358A Academic Year: 2023-24

=LOWER(D2)

5.Removing unwanted spaces:

=TRIM(B2)

6. To find the position of the space:

=FIND(“ “,D2)

7. To find the length of the string:

=LEN(D2)

8. To find the First name and Last name:

First Name: =LEFT(D2,K2-1)

Last Name: =RIGHT(D2,L2-K2)

OUTPUT

Dept. of AI&ML, VKIT, Bangalore Page 14


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Experiment No: 6
Aim: Cleaning Data Containing Date and Time Values: use of DATEVALUE function,
DATEADD and DATEDIF, TIMEVALUE functions.

1. How to find the Current date and time in excel.

2. What is the DateValue for 12 may 2018.

3. Calculate the Day, Month and Year by Adding and subtracting the date form today’s date.

4.Calculate the Days, Months and Years by using DateDif() from start date and end date.

5.Calculate the TimeValue for different timings.

Steps:
1. To calculate current date and time:

=NOW()

2. To calculate the DateValue():

=DATEVALUE("12-may-2018")

3. Adding/Subtracting Date:

Enter today’s Date

date + 8 days: =B6+8

date - 12 days: =B6-12

Adding/Subtracting Date:

Enter today’s Date

date + 4 months: =EDATE(B11,4)

date - 7 months: =EDATE(B11,-7)

Adding/Subtracting Date:

Enter today’s Date

date + 10 years: =EDATE(B16,120)

date - 10 years: =EDATE(B16,-120)

4: To calculate DateDif(), Enter the start date and end date:

Total Years: =DATEDIF(A21,B21,"Y")

Dept. of AI&ML, VKIT, Bangalore Page 15


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Total months: =DATEDIF(A21,B21,"M")

Total Days: =DATEDIF(A21,B21,"D")

5. To calculate the TimeValue():

=TIMEVALUE("6:38 AM")

=TIMEVALUE("12:47 PM")

=TIMEVALUE("8:29 AM")

=TIMEVALUE("3:30 PM")

OUTPUT

Dept. of AI&ML, VKIT, Bangalore Page 16


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Dept. of AI&ML, VKIT, Bangalore Page 17


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Experiment No: 7
Aim: Conditional Formatting: formatting, parsing, and highlighting data in
spreadsheets during data analysis.

1. Highlight the cells whose staff ID is < 200.

2. Highlight the cells whose Names contains the letter “i”.

3. Highlight the duplicate letters from the initials.

4. Highlight the Gender who is Female.

5. Highlight the cells whose working hours is in between 18 to 25.

6. Highlight the Top 10% of Pay.

7. Highlight the National Insurance Pay who is Greater than average.

8. Highlight the Tax column by using Data Bars.

9. Highlight the Pension column who is greater than 6.5% and also apply the Icon Sets.

10. Highlight the Final Pay column by using Colour Scales.

11. Highlight the rows whose final pay is greater than 150.

Steps:
1. Type the Staff ID’s.

2. Type the Names/Surnames.

3. Type the initials for all the names.

4. Type the Gender for all the Names.

5. Type the working hours for all the Staff ID’s.

6. To Calculate Pay:

=F4*$N$3 and drag down till the data is present.

7. To Calculate National Insurance rate:

=G4*$N$4 and drag down till the data is present.

8. To Calculate Tax Rate:

=G4*$N$5 and drag down till the data is present.

9. To Calculate Pension:

Dept. of AI&ML, VKIT, Bangalore Page 18


Data Analytics with Excel: BCS358A Academic Year: 2023-24

=G4*$N$6 and drag down till the data is present.

10. To Calculate Final Pay:

=G4-(SUM(H4:J4)) and drag down till the data is present.

11. To calculate Total:

Hours Worked: =SUM(F4:F15)

Pay: =SUM(G4:G15)

Nat Ins: =SUM(H4:H15)

Tax: =SUM(I4:I15)

Pension: ==SUM(J4:J15)

Final Pay: =SUM(K4:K15)

12. After entering the data apply conditional formatting for all the columns.

13. Go to Staff ID column and select the data from B4:B15 -> In the Home Tab click on
Conditional Formatting-> click on Highlight Cell Rules -> click on Less than -> type 150 and
select Light Red fill with Dark Red Text -> click on OK.

14. Go to surname column and select the data from C4:C15 -> In the Home Tab click on
Conditional Formatting-> click on Highlight Cell Rules -> click on text that contains -> type
i-> select yellow fill with Dark yellow text -> click on OK.

15. Go to initial column and select the data from D4:D15 -> In the Home Tab click on
Conditional Formatting-> click on Highlight Cell Rules -> click on Duplicate Values ->
select Green fill with dark Green Text -> Click on OK.

16. Go to Gender column and select the data from E4:E15 -> In the Home Tab click on
Conditional Formatting-> click on Highlight Cell Rules -> click on text that contains -> type
F-> select Custom format and go to Patterns and select any one colour -> click on OK-> click
Ok.

17. Go to Hours Worked column and select the data from F4:F15 -> In the Home Tab click
on Conditional Formatting-> click on Highlight Cell Rules -> click on Between -> type 18 to
25-> select Custom format and go to Patterns and select any one colour -> click on OK->
click Ok.

18. Go to Pay column and select the data from G4:G15 -> In the Home Tab click on
Conditional Formatting-> click on Top/Bottom Rules -> click on Top 10% -> type 10 ->
select Custom format and go to Patterns and select any one colour -> click on OK-> click Ok.

Dept. of AI&ML, VKIT, Bangalore Page 19


Data Analytics with Excel: BCS358A Academic Year: 2023-24

19. Go to Nat Ins column and select the data from H4:H15 -> In the Home Tab click on
Conditional Formatting-> click on Top/Bottom Rules -> click on above average -> select
Custom format and go to Patterns and select any one colour -> click on OK-> click Ok.

20. Go to Tax column and select the data from I4:I15 -> In the Home Tab click on
Conditional Formatting-> click on Data Bars -> click on any one colour from Gradient
Fill/Solid Fill.

21. Go to Pension column and select the data from J4:J15 -> In the Home Tab click on
Conditional Formatting-> click on Highlight Cell Rules -> click on Greater than -> type 6.5 -
> select Custom format and go to Patterns and select any one colour -> click on OK-> click
Ok. Again select that column and click on Conditional Formatting-> click on Icon Sets ->
click on any one from Shapes/Directional/Indicators/Ratings.

22. Go to Final Pay column and select the data from K4:K15 -> In the Home Tab click on
Conditional Formatting-> click on Colour Scales -> click on any one colour.

23. Go to Final Pay column and select the data from B4:K15 -> In the Home Tab click on
Conditional Formatting-> click on new rule -> click on Use a formula to determine which
cells to format ->format only cell with : =$K4>150 -> click on format ->select any one
colour -> click ok -> click ok.

Dept. of AI&ML, VKIT, Bangalore Page 20


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Dept. of AI&ML, VKIT, Bangalore Page 21


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Experiment No: 8
Aim: 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.

Steps:
1. Enter Order ID, Customer Name, Profit and Sales with data in Sheet1.

2. Enter Order ID, Customer Name and Profit and type only Order ID’s data in Sheet2.

3. To calculate Customer Name in Sheet2 by using VLOOKUP with Exact Match:

=VLOOKUP(D5,Superstore_Data!$A$2:$D$31,2,FALSE)

4. To calculate Profit in Sheet2 by using VLOOKUP with Exact Match:

Dept. of AI&ML, VKIT, Bangalore Page 22


Data Analytics with Excel: BCS358A Academic Year: 2023-24

=VLOOKUP(D5,Superstore_Data!$A$2:$D$31,3,FALSE)

5. Enter Order ID, Customer Name and Profit and type only Order ID’s data in Sheet2 to
perform VLOOKUP with exact match using Table mathod.

6. Go to Sheet1 -> Select all the data -> Press ctrl+T -> Pop-up Screen will display-> click
ok.

7. At the left side give the table name as Superstore_Table and press enter.

The Table will look like this

Dept. of AI&ML, VKIT, Bangalore Page 23


Data Analytics with Excel: BCS358A Academic Year: 2023-24

8. To calculate Customer Name in Sheet2 by using VLOOKUP with Exact Match using
Table method:

=VLOOKUP(D17,Superstore_Table,2,FALSE)

9. To calculate Profit in Sheet2 by using VLOOKUP with Exact Match using Table method:

=VLOOKUP(D17,Superstore_Table,3,FALSE)

10. Enter the data for VLOOKUP with Approximate Match.

11. Type Selling price and Tax and enter data for selling price.

12. To calculate Tax in Sheet2 by using VLOOKUP with Approximate Match:

=VLOOKUP(B15,$B$6:$D$9,3,TRUE)

Dept. of AI&ML, VKIT, Bangalore Page 24


Data Analytics with Excel: BCS358A Academic Year: 2023-24

13. Type the heading of Product Type, Product Line, Profit, Sales and Product with the data.

14. After typing the data, At the right side type the Product Type, Product Line, Profit, Sales
and Product one by one in the same column.

15. In the Product Type, type any one product type and press enter.

16. To find the Product type for product data:

=INDEX(A2:A11,MATCH(H1,E2:E11,0))

17. To find the Product Line for product data:

=INDEX(B2:B11,MATCH(H1,E2:E11))

18. To find the Profit for product data:

=INDEX(C2:C11,MATCH(H1,E2:E11))

19. To find the Sales for product data:

=INDEX(D2:D11,MATCH(H1,E2:E11,0))

20. After that click on Product data and Go to Data tab -> click on Data validation -> In
Allow drop-down select list -> In source select the full product data (=$E$2:$E$11) and click
on OK.

21. The drop-down will appear for Product data. Select any type of data from list and notice
the changes for Product Type, Product Line, Profit and Sales

22. Again At the right side type the Product Type, Product Line, Profit, Sales and Product one
by one in the same column.

23. Click on any of the cell where the data is present and Press ctrl+A and press ctrl+T and
click on Ok.

24. When the data is converted to table, The dropdowns will appear for the headings and
change the Table name as coffee_Chain_Table.

Dept. of AI&ML, VKIT, Bangalore Page 25


Data Analytics with Excel: BCS358A Academic Year: 2023-24

25. After that click on Product data and Go to Data tab -> click on Data validation -> In
Allow drop-down select list -> In source select the full product data (=$E$2:$E$11) and click
on OK.

26. Select A column and go to Formulas bar -> click on create from selection -> check the
check box of Top Row and click ok.

27. Select B column and go to Formulas bar -> click on create from selection -> check the
check box of Top Row and click ok.

28. Select C column and go to Formulas bar -> click on create from selection -> check the
check box of Top Row and click ok.

29. Select D column and go to Formulas bar -> click on create from selection -> check the
check box of Top Row and click ok.

30. Select E column and go to Formulas bar -> click on create from selection -> check the
check box of Top Row and click ok.

31. After that click on Product data and Go to Data tab -> click on Data validation -> In
Allow drop-down select list -> In source select the full product data (=$E$2:$E$11) and click
on OK.

32. To find the Product type for product data using Name Range:

=INDEX(Product_Type,MATCH(H11,Product))

33. To find the Product Line for product data using Name Range:

=INDEX(Product_Line,MATCH(H11,Product))

34. To find the Profit for product data using Table format:

=INDEX(Coffee_Chain_Table[Profit],MATCH(H11,Coffee_Chain_Table[Product],0))

35. To find the Sales for product data using Table format:

=INDEX(Coffee_Chain_Table[Sales],MATCH(H11,Coffee_Chain_Table[Product],0))

Dept. of AI&ML, VKIT, Bangalore Page 26


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Experiment No: 9
Aim: 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.

Steps:
1.Type the EMPNO, ENAME, BASIC PAY, TA, DA, HRA, IT, PF, NET PAY in A2, B2,
C2, D2, E2, F2, G2, H2 respectively.

2.Put the data for EMPNO, ENAME, BASIC PAY.

3.Let’s Assume Calculation for TA is 10%, DA is 15%, HRA is 20%,IT is 5% and PF is 8%.

TA : =D4*0.1

DA : =D4*0.15

HRA : =D4*0.2

IT : D4*0.05

PF : =D4*0.08

NET PAY : =D4+E4+F4+G4-H4-I4

3. Select the table from B3 to J13 and Go to Insert tab -> click on any one chart. Customize
the chart as per your requirement.

4. Later prepare the report for IT, PF and Net Pay by calculating Maximum, Minimum,
Average and Total.

OUTPUT

Dept. of AI&ML, VKIT, Bangalore Page 27


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Dept. of AI&ML, VKIT, Bangalore Page 28


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Experiment No: 10
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. Analyze the data using
appropriate chart and report the data.

Steps:
1. Type the Pcode, Pname, Ptype, MRP, Discount, Cost After Discount and Date of Purchase
in A2, B2, C2, D2, E2, F2, G2 respectively.

2.Put the data for Pcode, Pname, Ptype, MRP, Discount.

3. To find the cost after %

=E5-(E5*(F5/100))

4. Put the data for Date of purchase.

5. Select the table and Go to Insert tab -> select Pie chart and click on chart.

6. Create the Report for maximum and minimum cost of product.

OUTPUT

Dept. of AI&ML, VKIT, Bangalore Page 29


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Experiment No: 11
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.

Steps:
1. Type the order ID, Customer ID, Gender, Age, Date of order, Month, Online Platform,
Category of product, Size, Quantity, Amount, Shipping city and other details in A2, B2, C2,
D2, E2, F2, G2..... and so on.

2.Put the data for order ID, Customer ID, Gender, Age, Date of order.

3. To find the Month from Date of Order:

=TEXT(E5,"MMMM") and drag down.

4. Put the data for Online Platform, Category of product, Size, Quantity, Amount, Shipping
city.

5. Select the Month column till the data is present and select Amount column till the data is
present.

6. Go to Insert -> select column chart -> click on chart.

7. Select the Online platform column till the data is present and select Amount column till the
data is present.

8. Go to Insert -> select Pie chart -> click on chart.

Dept. of AI&ML, VKIT, Bangalore Page 30


Data Analytics with Excel: BCS358A Academic Year: 2023-24

9. To Create Pivot Table: click on the cell where data is present -> Go to insert -> click on
Pivot table ->Click on new worksheet->click on OK.

10. In new sheet Pivot table is displayed.

11. In pivot table, drag Month to row labels, drag category of product to column labels and
drag Amount to values.

12. Go to sheet1 and click on any cell where data is present, Go to data->Select pivot table-
>Click on existing worksheet->give the cell range in Pivot table sheet ->click on OK.

13. In pivot table, drag Online platform to Row labels and drag Amount to Values.

Dept. of AI&ML, VKIT, Bangalore Page 31


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Dept. of AI&ML, VKIT, Bangalore Page 32


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Experiment No: 12
Aim: Generation of report & presentation using Auto filter &macro.

Steps:
1. Go to View tab -> click on macro drop-down -> select record macro -> Give the shortcut
key which you want and give the description and click on OK.

2. Type the heading as Student Marks card.

3. Type the name, class, roll no, and college name.

4. Type subjects as heading.

5. Type the subjects names in cells.

6. To calculate the Total for all subjects:

=SUM(B13:B18)

7. To calculate the percentage for the student:

=B20/600*100

8. Go to view and click on macro and stop the recording.

9. Click on sheet2, go to macro and click on view macro and select the macro name and click
on run button.

10. Whatever you entered in sheet1 the same content is showed in sheet2.

11. Now you can enter the data in each sheet.

12. Now you can filter the data according to your requirement.

OUTPUT

Output 1:

Dept. of AI&ML, VKIT, Bangalore Page 33


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Filtered Output whose marks > 60

Output 2:

Dept. of AI&ML, VKIT, Bangalore Page 34


Data Analytics with Excel: BCS358A Academic Year: 2023-24

Filtered Output whose marks > 50

Dept. of AI&ML, VKIT, Bangalore Page 35

You might also like