Chapter 4 - Create Efficient Automated, Customisable Spreadsheets For Analysis Interpretation
Chapter 4 - Create Efficient Automated, Customisable Spreadsheets For Analysis Interpretation
KOM4223
ADVANCED DATABASE AND SPREADSHEET SKILLS
• Your worksheets enable you to organize, track, and calculate financial information over time.
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
SORTING AND SUMMARIZING DATA
a) Select the source data you will create a pivot table based on, and click Insert > PivotTable. See screenshot:
b) In the Create PivotTable dialog box, please specify a destination range to place the pivot table, and click the OK button.
See screenshot:
Note: In my case, I select Existing Worksheet option, select the first cell of the destination
range, and then click the OK button.
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
SORTING AND SUMMARIZING DATA
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
SORTING AND SUMMARIZING DATA
c) In the PivotTable Fields pane, please drag Items and drop to the Rows section,
and drag Jan, Feb, and Mar and drop to the Values section. See screenshot:
If you need to sort total sale amounts of three months in the pivot table
horizontally, please do as follows:
a) Please follow Step 1-3 of above method to create the pivot table.
You will see the total sale amount of each month is added to the Grand
Total row of the pivot table.
b) Right-click any cell in the Grand Total row, and select Sort > More Sort
Options in the context menu. See screenshot:
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
SORTING AND SUMMARIZING DATA
c) In the Sort by Value dialog box, please (1) check a sort option in the Sort
options section as you need, (2) check Left to Right option in the Sort
direction section, and then (3) click the OK button. See screenshot:
Now you will see the total sale amounts are sorted from left to right. See screenshot:
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
SORTING AND SUMMARIZING DATA
1.2 Sorting data on multiple field
• Sorting records in a table allows you to better understand the data that you are
working with.
• You can discover the largest and smallest values or perhaps the most and least
significant features in the layer.
• Sorting is also an efficient means for organizing your data in alphabetical or
sequential order.
• Microsoft Excel is great at processing large amounts of data.
• You can quickly look at information, calculate different values based on it, and
sort data to find the largest or smallest values.
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
SORTING AND SUMMARIZING DATA
• You can also sort multiple columns of data so you can sort on multiple data points.
• Imagine you have a spreadsheet of company information.
• It has columns such as company name, revenue, number of employees, website address,
and more.
• You may want to sort the list by annual revenue, but you may then want to sort by the
number employees.
• This would sort first by annual revenue, and if two companies had the same annual
revenue, it would then sort by the number of employees. You can select sort order (such as
smallest to largest or largest to smallest) for each column you want to sort on.
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
SORTING AND SUMMARIZING DATA
1. First, select all of the columns in your Excel worksheet or select the entire worksheet. On the Home Tab, click
on the Sort & Filter pull down menu. Select Custom Sort…
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
SORTING AND SUMMARIZING DATA
2. If your worksheet has a header row with labels for the columns, make sure the data has headers is checked. If not,
make sure it is not checked.
3. To sort your data, select the Sort by pull down menu and select the first column you would like to sort your data
by. You can sort by values, cell color, font color, or cell icon. Select the order, A to Z, Z to A, or custom.
4. Click on Add Level to add another column to sort by.
In our example, we are sorting by annual revenue, largest to smallest, and then by number of
employees, smallest to largest.
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
SORTING AND SUMMARIZING DATA
Now our data is sorted first by revenue and then by the number of employees.
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
SORTING AND SUMMARIZING DATA
1.3 Filtering data sets to extract information to meet a specific user need
• Filtering data using the Auto Filter feature is very useful.
• However, when using the Sum function to add up values of an applied filter, the function adds both the
visible and hidden cells.
• Therefore, the solution is to use the Subtotal function, which only calculates the visible cells in a range.
a) Display workbook in Excel containing data to be filtered.
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
SORTING AND SUMMARIZING DATA
b) Click anywhere in the data set. Click Home from the Ribbon. Click the Sort & Filter drop down from
the Editing group. Click Filter. Filter drop downs display in column headings.
There are additional function numbers that can be used to subtotal filtered
data. The complete table is shown below with the function number and
assigned function:
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
INTERPRETATION METHOD
a) Comparison of total
b) Use of trend analysis to predict future events
• Trend analysis is the widespread practice of collecting information and
attempting to spot a pattern.
• In some fields of study, the term "trend analysis" has more formally
defined meanings?
• Although trend analysis is often used to predict future events, it could
be used to estimate uncertain events in the past, such as how many
ancient kings probably ruled between two dates, based on data such as
the average years which other known kings resigned.
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
INTERPRETATION METHOD
i. You can extend a series of values that fit either a simple linear trend or an exponential growth
trend by using the fill handle.
ii. Use the following procedures to learn how to display and predict trends and create a projection.
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
INTERPRETATION METHOD
2.2 CREATE A TREND SERIES FROM YOUR DATA
ii. Select at least two cells that contain the starting values for the trend. To increase the accuracy of the trend
series, select more than two starting
• values.
ii. Drag the fill handle in the direction of either increasing or decreasing values. Tip: To manually control how the
• For example, if you selected cells C1:E1 and the starting values in these cells series is created, on
the Edit menu, point to Fill, and
• are 3, 5, and 8, drag the fill handle to the right to fill with increasing trend then click Series.
• values, or drag it to the left to fill with decreasing values.
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
INTERPRETATION METHOD
2.3 CREATE AN EXPONENTIAL GROWTH TREND SERIES
i. In a growth trend series, the starting value is multiplied by the step value to get the next value in the
series. The resulting product and each subsequent product is then multiplied by the step value.
• Select at least two cells that contain the starting values for the trend. To increase the accuracy of
the trend series, select more than two starting values.
• Hold down CONTROL and drag the fill handle in the direction that you want to fill with increasing or
decreasing values. For example, if you selected cells C1:E1 and the starting values in these cells are
3, 5, and 8, drag the fill handle to the right to fill with increasing trend values, or drag it to the left
to fill withdecreasing values.
• Release CONTROL, and the mouse button, and then on the contextual menu, click Growth Trend.
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
INTERPRETATION METHOD
ii. Excel automatically calculates the growth trend and continues the series in
• the selected cells.
i. TREND function
ii. GROWTH function
iii. LINEST function
iv. LOGEST function
v. FORECAST function
CHAPTER 4: CREATE EFFICIENT AUTOMATED, CUSTOMISABLE
SPREADSHEETS FOR ANALYSIS OR INTERPRETATION
USING CHART AND GRAPHS
• Use application facilitates to create a range of chart and graph with appropriate title and
labels and other features such as the axis, scales, colors and annotations
Sub Print_Active_Worksheet()
'This macro prints the active or currently
visible worksheet in Excel
ActiveSheet.PrintOut
End Sub
END OF CHAPTER 4
THANK YOU