Excel 2016 Case Study
Excel 2016 Case Study
© www.Trainedge.co.in Page 2
Excel Case Study
Description
In this case study we will convert a range of cells into an Excel table.
This file contains Sachin’s batting record. You will analyze this data.
Calculate the Total number of runs Sachin’s made using Total Row in Excel table.
Sort the batting record to analyze on how many grounds did he play? In each ground
which countries did he play against? How did he get out against each opposition?
Analyze how many runs Sachin scored against each country using slicers in Excel
tables.
Solution
4. In the Format As Table dialog box, make sure My table has headers check box is
selected.
5. Make sure that the range of cells is correct in the Where is the data for your table?
box and click OK.
6. Excel formats the cell range A1:E330 as a table. Every table column has filtering
enabled in the header row so that you can filter or sort your table data quickly.
7. Click any cell in the table. Excel displays Table Tools and the Design contextual tab.
8. On the Design contextual tab, uncheck the Banded Rows check box and select the
Banded columns check box.
9. Highlight the Runs column by checking the First Column check box.
10. On the Design contextual tab, in the Properties group, click the Table Name text
box.
© www.Trainedge.co.in Page 3
Excel Case Study
12. On the Data tab, in the Sort & Filter group, click Sort button. We need to sort the
data on grounds, then on opposition and then on dismissal.
13. On the Sort dialog box, under Column, click Sort by list and select Ground.
14. On the Sort dialog box, click the Add Level tab.
15. On the Sort dialog box, under Column, click Then by list and select Opposition.
16. On the Sort dialog box, click the Add Level tab again.
17. Click the Move Down arrow to move the level below, if it does not appear as last
sort.
18. On the Sort dialog box, under Column, click Then by list and select Dismissal.
20. Excel sorts the data by Ground, then by Opposition and then by Dismissal criteria.
21. Click the Design contextual tab again and select the Total Row check box.
23. Click the Total drop down list in cell A331 and select Sum from the list. Excel sums
up the total number of runs made by Sachin.
24. Create a new worksheet Sheet 1. In cell range A1:A6 enter a list of valid entries for
Dismissal.
bowled
caught
lbw
not out
run out
stumped
26. When doing data entry, data can be mistyped. In the Dismissal column we need to
ensure that only right dismissal criteria is entered. To do so, we will validate the entry
in column B from a list entered in Sheet 1.
27. On the Data tab, In the Data Tools group, select the Data Validation button.
28. Excel opens the Data Validation dialog box. On the Settings tab, under Allow,
select List from the drop down list box, to validate the data from an external list.
29. Select the Source text box to provide the source for list of valid entries in column B.
© www.Trainedge.co.in Page 4
Excel Case Study
32. Type the error message “This is not the right dismissal” in the Error Message
box. If user enters wrong data for dismissal, other than the valid list of entries, then
user will get this error msg.
34. Insert a new row in the table. Enter some wrong dismissal criteria. Excel will give the
error msg. Cancel the entry. In the same cell, click the arrow, to display the list of
valid dismissal entries and select the dismissal criteria.
36. Select a cell in the table and click the Design tab. In the Tools group, click Insert
Slicer button.
37. On the Insert Slicers dialog box, select Opposition check box.
39. In the Opposition dialog box, select Bangladesh. Excel shows Sachin’s records
only for Bangladesh. You can see Sachin played 9 innings against Bangladesh and
made 820 runs.
40. In the Opposition dialog box, select each country and find out how many runs
Sachin scored against each country.
41. In the Opposition dialog box, click Clear Filter. Excel displays all the records.
44. To add a new column for country, you need to increase the size of the table. On the
Design contextual tab, in the Properties group, click Resize Table button.
45. In the Resize Table dialog box, change the data range to $A$1:$F$331 and click
OK. Excel includes column F in the table.
47. We need to extract only country name from column D. In column F2, type the formula
=MID([@Opposition],3,LEN([@Opposition])-2).
48. Excel extracts the opposition country from column D and automatically applies the
formula to all rows in the entire column.
49. To find out the distinct countries, select cell F1 and on the Design contextual tab, in
the Data Tools group, click Remove Duplicates button.
50. On the Remove Duplicates dialog box, click Unselect All button.
© www.Trainedge.co.in Page 5
Excel Case Study
51. Select the Country check box because we need to remove duplicates from the
country list, to get the distinct countries Sachin played against.
© www.Trainedge.co.in Page 6