Lab Manual
Lab Manual
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
Distinction if average>=75,
Steps:
1. Typing Student database in Excel
Type the student database with the required fields starts from A1 cell as follows.
To find the total marks of a student click on the cell and type the following formula:
=SUM(B4:D4)
To find the average marks of the student click on the cell“F4”and type the following formula:
=AVERAGE(B4:D4)
To check whether the student is Pass or Fail select the cell “H4” and type the following
formula:
5. To find Grade
To find the grade of a student click on the cell “J2” and type the following formula:
=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:
Experiment No: 2
Aim: Working with Data: Importing data, Data Entry & Manipulation, Sorting &
Filtering.
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
4. Calculation for
DA = C5*3%
HRA = C5*5%
GROSS = C5+D5+E5
TAX = F5*5%
NET SLARY = F5-G5
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
FILTERED DATA:
Experiment No: 3
Aim: Working with Data: Data Validation, Pivot Tables & Pivot Charts
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.
4. Enter the data for store, country, region, date, item, sales person, list price and actual price.
6. After entering the data for all the fields, click on any cell.
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.
13. In the same tab click on subtotals-> click on do not show subtotals.
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:
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?
Steps:
1. Type the Candidate ID 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.
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.
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.
18. Type the Monthly Costs of marketing is 5000, Salary is 40000, Rent is 4000 and
Miscellaneous is 1000.
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.
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.
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.
Experiment No: 5
Aim: Cleaning Data with Text Functions: use of UPPER and LOWER, TRIM function,
Concatenate.
Steps:
1.To Concatenate first name and last name:
=CONCAT(A2," ",B2)
=CONCAT(A2,B2,"@gmail.com")
=UPPER(D2)
=LOWER(D2)
=TRIM(B2)
=FIND(“ “,D2)
=LEN(D2)
OUTPUT
Experiment No: 6
Aim: Cleaning Data Containing Date and Time Values: use of DATEVALUE function,
DATEADD and DATEDIF, TIMEVALUE functions.
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.
Steps:
1. To calculate current date and time:
=NOW()
=DATEVALUE("12-may-2018")
3. Adding/Subtracting Date:
Adding/Subtracting Date:
Adding/Subtracting Date:
=TIMEVALUE("6:38 AM")
=TIMEVALUE("12:47 PM")
=TIMEVALUE("8:29 AM")
=TIMEVALUE("3:30 PM")
OUTPUT
Experiment No: 7
Aim: Conditional Formatting: formatting, parsing, and highlighting data in
spreadsheets during data analysis.
9. Highlight the Pension column who is greater than 6.5% and also apply the Icon Sets.
11. Highlight the rows whose final pay is greater than 150.
Steps:
1. Type the Staff ID’s.
6. To Calculate Pay:
9. To Calculate Pension:
Pay: =SUM(G4:G15)
Tax: =SUM(I4:I15)
Pension: ==SUM(J4:J15)
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.
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.
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.
=VLOOKUP(D5,Superstore_Data!$A$2:$D$31,2,FALSE)
=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.
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)
11. Type Selling price and Tax and enter data for selling price.
=VLOOKUP(B15,$B$6:$D$9,3,TRUE)
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.
=INDEX(A2:A11,MATCH(H1,E2:E11,0))
=INDEX(B2:B11,MATCH(H1,E2:E11))
=INDEX(C2:C11,MATCH(H1,E2:E11))
=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.
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))
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.
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
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
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.
=E5-(E5*(F5/100))
5. Select the table and Go to Insert tab -> select Pie chart and click on chart.
OUTPUT
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.
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.
7. Select the Online platform column till the data is present and select Amount column till the
data is present.
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.
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.
Experiment No: 12
Aim: Generation of report & presentation using Auto filter ¯o.
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.
=SUM(B13:B18)
=B20/600*100
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.
12. Now you can filter the data according to your requirement.
OUTPUT
Output 1:
Output 2: