Professional Documents
Culture Documents
Excel For Professionals 2021
Excel For Professionals 2021
PROFESSIONALS
ESSENTIALS & INTERMEDIATE ONE
VOLUME 1, 2018
Published By:
RichardBlack Media
Abiola Abiola David asserts his moral right to be identified as the author of
this book
All Rights Reserved: No part of this publication may be reproduced,
distributed or transmitted in any form or by any means including
photocopying, recording, or other electronic or mechanical methods without
the prior written permission of the author.
DEDICATION
To my darling wife, Abiola Olawunmi Ifeloju, who is the embodiment of
love, encouragement and inspiration.
To all the professionals, decision makers and business owners who analyse,
present and make decisions using data
ACKNOWLEDGEMENTS
First and foremost, I would like to bless the name of the Lord and return all
the gory to Him for all the things He has done for me from childhood to
adulthood. I appreciate Him, who is the source of life and giver of mind-
blowing ideas who inspired me to take the long journey of writing this
epoch-making book after His divine arrangement for my life.
Secondly, I appreciate by parent – Late Mr Owolabi Awonuga and Mrs
Oluwakemi Oremade. Words would fail me to describe the efforts of my
lovely mum with the help from God, to single-handedly brought me up and
educate me from primary to the university level. In addition, I sincerely
appreciate my reliable elder sister, Mrs Remilekun Samuel for are sisterly
love and care.
Thirdly, I sincerely appreciate by indefatigable and beautiful wife,
Olawunmi, for being the source of my inspiration and encouragement that
ultimately lead to the writing of this masterpiece. Her perseverance, in spite
of the longs hours of writing and editing this book through many nights and
days, is unique
Furthermore, I cannot but appreciates my spiritual parents-in-the-Lord, for
their impact in my life – Pastors Jacob Oluwaleke (RCCG, LP 30 APICP
Admin), Mrs Arikawe Abimbola, Ausi Taiwo, Late Temile Francis,
Anderson Airen, Funsho Adeyanju, and Alex Bekeowi.
Finally, I appreciate the following glorious folks – Mr. & Mrs. E.O Emola
(my father and mother-in-law), Mr & Mrs Olakunle Fella, Mr Adeola and
Olamide Emola. Mr & Mrs Ewuola. Mr Taiwo Samuel, Teniola and Olamide
Samuel.
Table of Contents
EXCEL JET ESSENTIALS
LECTURE ONE
INTRODUCTION TO SPREADSHEET
STARTING
HOME TAB
INSERT TAB
PAGE LAYOUT TAB
FORMULAS TAB
DATA TAB
REVIEW TAB
VIEW TAB
HOME TAB FONT GROUP
FILE TAB
COLLAPSE UNCOLLASE RIBBON
QUICK ACCESS TOOLBAR
FORMULA BAR
WORKBOOK
WORKSHEET
STATUS BAR
ACTIVE CELL
NAME BOX
TOTAL ROWS AND COLUMNS COUNT
FILL HANDLE
SELECTION AND NAVIGATION
SCROLL TOOLBAR
HOME CELL
SELECT SINGLE MULTIPLE CELLS
COLUMN/ROW DATA SINGLES SELECTION
MULTIPLE SELECTION OF COLUMNS/ROWS DATA
NON-CONTIGUOUS DATA SELECTION
VIEW OPTIONS
ZOOM SLIDER
NORMAL VIEW, PAGE LAYOUT VIEW PAGE BREAK VIEW
GRIDLINES
SPLIT
FREEZE PANES OPTION
FREEZE TOP ROW
FREEZE PANES
FREEZE FIRST COLUMN
LECTURE TWO
TERMINOLOGIES
FORMULA
FUNCTION
VALUE
RANGE
RELATIVE REFERENCE
FORMULA IN CONTEXT
CALCULATE PROFIT MARGIN
CALCULATE SUB TOTAL
CALCULATE DISCOUNT
CALCULATE TOTAL
FUNCTIONS 1: SUM AND AUTOSUM
FUNCTIONS II: AVERAGE, MAX MIN
AVERAGE
MAX
MIN
ABSOLUTE CELL REFERENCE
APPLY ABSOLUTE REFERENCE
ACROSS SHEETS CALCULATIONS
CALCULATE SALES 15 16 SHEETS TOTAL SALES
CALCULATE COMMISSIONS ACROSS SHEETS
LECTURE THREE
FORMATTING
WIDENING COLUMNS
FONT FORMATTING
FONT
FONT SIZE
BOLD, ITALIC UNDERLINE
FILL FONT COLORS
BORDER
ALL BORDERS
TOP AND DOUBLE BOTTOM BORDER
THICK OUTSIDE BORDERS
NO BORDERS
ALIGNMENT TOOLS
WRAP TEXT
MERGE AND CENTER
CENTER ACROSS SELECTION
ORIENTATION
FORMAT PAINTER
NUMBER FORMATTING
CURRENCY FORMAT
CHANGING DEFAULT CURRENCY FROM REGIONAL SETTINGS
APPLY NGN AS DEFAULT CURRENCY
PERCENTAGE FORMAT
DATE FORMAT
LONG DATE FORMAT
STYLES AND THEMES
APPLYING TITLE STYLES
APPLYING HEADINGS STYLES
THEMES
CHANGING THEME COLOUR
CHANGING THEME FONTS
LECTURE FOUR
MANAGING ROWS AND COLUMNS
DELETE ROW/ROWS
DELETE COLUMN/COLUMNS
INSERT COLUMNS AND ROWS
HIDE UNHIDE COLUMN/COLUMNS ROW/ROWS
CLEAR CONTENT
FIND AND SELECT: FIND
REPLACE
FILTERING
MULTIPLE FILTERS
NUMBER OF COLUMNS AND ROWS
SORTING – SINGLE COLUMN
SORTING – MULTIPLE COLUMNS
CONDITIONAL FORMATTING
CF: HIGHLIGHT CELLS RULES
REMOVE CONDITIONAL FORMATTING
CF: TEXT THAT CONTAINS
CF: TOP/BOTTOM RULES
CF: DATA BARS
CF: COLOUR SCALES
CF: ICON SETS
LECTURE FIVE
TERMINOLOGIES
PRINT AREA
PAGE BREAKS
PRINT PREVIEW
ORIENTATION, MARGINS AND SCALE
PAGE BREAKS
REMOVE PAGE BREAK
HEADERS AND FOOTERS
LECTURE SIX
BASIC CHART TYPES
PIE CHART BY ROW DATA
PIE CHART BY COLUMN DATA
COLUMN CHART
ADD NEW SERIES
LINE CHART
MOVE, COPY AND RESIZE CHARTS
RESIZE CHART
CHANGE CHART TYPES
CHANGE CHART STYLES
CHANGING CHART LAYOUT
CHARTS MODIFICATION
SHARE CHARTS
EXCEL JET INTERMEDIATE ONE
LECTURE ONE
WORKING WITH MULTIPLE WORKSHEETS
ADD SHEET
MOVE SHEET
CREATE A COPY
RENAME SHEET
APPLYING TAB COLOURS
GROUP SHEET
3D FORMULAS
LINKING WORKBOOKS
MANAGING WORKBOOK LINKS
CONSOLIDATE BY POSITION
RECALCULATE NEW VALUE IN CONSOLIDATION
CREATING LINKS IN CONSOLIDATION
OUTLINES
CONSOLIDATION BY REFERENCE
LECTURE TWO
COMBINING TEXT
CONCATENATE FUNCTION
AMPERSAND SIGN ( )
FLASH FILL
CHANGING TEXT CASE
LOWER FUNCTION
UPPER FUNCTION
PROPER FUNCTION
EXTRACTING TEXT
LEFT FUNCTION
RIGHT FUNCTION
MID FUNCTION
FIND FUNCTION
DATE FUNCTIONS CALCULATIONS
NOW FUNCTION
YEARFRAC FUNCTION
LECTURE THREE
NAMED RANGES
CREATING A NAMED RANGES
NAME BOX
DEFINED NAME
CREATE FROM SELECTION
MANAGING NAMED RANGES
NAMED RANGES IN FORMULAS (CALCULATIONS)
APPLYING NAMES
LECTURE FOUR
COUNT FUNCTION
COUNTA FUNCTION
COUNTBLANK FUNCTION
COUNTING WITH CRITERIA
COUNTIFS FUNCTION
SUMIFS FUNCTION: SINGLE CRITERIA
SUMIFS FUNCTION: MULTIPLE CRITERIA
AVERAGEIFS FUNCTION: SINGLE CRITERIA
AVERAGEIFS FUNCTION: MULTIPLE CRITERIA
SPARKLINES
SPARKLINES: CHANGING DATA RANGE
SPARKLINES HIGH POINT
UNGROUP SPARKLINES
CLEAR SPARKLINES
ADVANCED CHARTING
TRENDLINES
ADD TRENDLINE
FORECASTING
LECTURE FIVE
CREATING FORMATTING TABLES
TABLE NAME
TABLE STYLE OPTIONS
TABLES STYLES
WORKING WITH TABLES
TABLE HEADINGS VISIBILITY
SORTING AND FILTERING
TOTAL ROW
TOP FIVE
BELOW AVERAGE
TOP 10
AUTOMATION WITH TABLES
STRUCTURED REFERENCE
CONVERTING DATA TO RANGE AND SUBTOTALLING
CONVERT TABLE TO RANGE
LECTURE SIX
CREATING AND MODIFYING PIVOT TABLES
COLUMNS AREA
MODIFYING PIVOT TABLES: VALUE FIELD SETTINGS
CONVERT TO PERCENTAGE
CURRENCY FORMAT ($)
TOTAL ORDERS BY STATES
SUBTOTALS, GRAND TOTALS LAYOUT REPORT
PIVOT TABLE STYLES
PIVOT TABLE: SORTING AND FILTERING
COLLAPSE AND EXPAND ICONS
SORT
FILTERING
CLEAR FILTER
REPORTING FILTER PAGES
CREATE PIVOT TABLE ACROSS SEPARATE SHEETS
SHOW TOOLS
PIVOT CHARTS
PIVOT CHART: PIE CHART
PIVOT CHART: LINE CHART
PIVOT SLICER
RESIZE AND ALIGN
ALIGN BUTTON
SINGLE SLICER FILTERING
MULTIPLE SLICER FILTERING
CONNECTING SLICERS
PIVOT TIMELINE
CONNECTING PIVOT TIMELINE
EXCEL SHORTCUTS
EXCEL JET ESSENTIALS
LECTURE ONE
INTRODUCTION TO SPREADSHEET
Microsoft Excel is a software program developed and produced by
Microsoft Corporation. It allows users to organize, format and calculate data
with formulas and built-in functions. In addition, it enables using of graphical
tools, creating pivot tables, recording macros, performing accounting
calculations, building data models and dashboards. Microsoft Excel is part
of the Microsoft Office suite. The other software being Microsoft Access
(database), Microsoft Word (word processing), PowerPoint (presentation),
Outlook (emails), Publisher, Note, Skye for Business etc.
STARTING
To start with, type Excel on the computer search and click on Microsoft
Excel. A new workbook opens for usage.
HOME TAB
The Ribbon contains all the tools needed to work in Excel. The Home tab
contains Clipboard, Fonts, Alignment, Numbers, Styles, Cells and Editing.
INSERT TAB
In the Insert tab, there are Tables, Illustrations, Adds-in, Charts, Maps, Spark
lines, Filters, Links, Text and Symbols. In the Layout tab, there are Themes,
Page Set-up, Scale o Fit, Sheet Options and Arrange.
PAGE LAYOUT TAB
The page layout tab contains the tools needed for page setup and scaling of
page layout view before printing. In addition, theme is located in the page
layout tab. It allows users to choose from arrays of styles which
automatically extends to other worksheets that have the same structure
FORMULAS TAB
The Formula tab contains Function Library, Defined Names, Formula
Auditing, Calculations options
DATA TAB
Data tab contains Get & Transform, Connection, Sort & Filter, Data Tools,
Forecast, Outline and Analyse tools. The Get & Transform is used to import
data from different sources into the Power Query Editor for cleaning and
transformation.
REVIEW TAB
Review tab contains Proofing, Comments and Changes.
VIEW TAB
View tab contains Workbook Views, Show, Zooms, Window and Macros.
FILE TAB
File tab displays the backstage view of workbook and it contains all the tools
needed for managing files such as opening, saving, exporting, printing,
sharing and closing files.
COLLAPSE & UNCOLLASE RIBBON
The ribbon provides the option of collapsing it by “double click” on any of
the tab. These enables viewing the worksheet more broadly. To bring back
the ribbon, “double click” on any of the tab. Refer to the caption below for
collapsed ribbon
FORMULA BAR
Below the ribbon, there is a bar called the Formula Bar. The bar allows
visualisation of a particular data of a selected cell. The bar also allows
editing of data on the worksheet.
WORKBOOK
The workbook refers to the entire Excel File. The file name of each
workbook is located at the top of the file window.
WORKSHEET
A single workbook can contain several worksheets to work with. To add a
new worksheet, click on the plus sign at the bottom left of the workbook. A
right click on the worksheets provides arrays of commands such as Rename,
Delete, Insert, Move, Tab Colour etc.
STATUS BAR
The Status Bar is located below the spreadsheet. It contains several useful
tools. The Zoom tool, access to three different view options, calculations
results upon selected of data in the spreadsheet.
ACTIVE CELL
A cell currently selected is the active cell.
NAME BOX
Name box is located on the left of the bar. Among other things, it displays the
cell referenced in the worksheet.
At either end of the scrollbars, there are small arrows that allows smaller
movements across the spreadsheet. In addition, it is quicker to use keyboard
for movement to desired spot. On the keyboard, there are four arrow keys
which will allows easy navigation left, down, right, and up, one cell at a
time. To make a bigger navigation, page up and page down keys will do these
effortlessly.
HOME CELL
To return to the beginning of the spreadsheet – cell A1, press CTRL + Home.
These is useful when working with large spreadsheet because it saves time
from having to use the navigation scrollbars. After pressing CTRL + Home,
below is the partial screenshot that returned to Cell A1
VIEW OPTIONS
ZOOM SLIDER
The zoom slider is located at the bottom of the screen beside the status bar.
This tool allows user to quickly “zoom in” on the spreadsheet data by
clicking on the +, “zoom out” by clicking on the -, or simply drag the zoom
slider to get to exact point desired.
To the right of the normal view is “page layout view”. This presents a good
indication of how the Excel workbook sits on the page. It is useful to print.
Refer to the caption below for page layout view.
To the right of the Page layout view is the page break view . This is
essential for getting an overview of a large work sheet. Refer to the caption
below for page break view. Note, all the view options are available in the
view tab
GRIDLINES
Gridlines are the light grey lines, which separate the cell, rows and columns
on a spreadsheet.
To turn off grid lines:
a. In the “show” group of the view tab, uncheck gridlines. Check the
gridlines box to turn on
SPLIT
Split is a tool that allows splitting of the screen to view different segments
simultaneously.
To Split:
a. In the window group of the view tab, select free top row from the
“Free Panes” dropdown. This would enable viewing the Headers
when scrolling down in a large data set.
Not: The row three (3), which contains the headings is fixed. The next row is
37 after scrolling down. Refer to the caption below
FREEZE PANES
To Freeze Panes (columns A to C):
a. Click in the exact location in the data set to start the freezing,
b. In the Freeze Panes dropdown, select Free Panes.
Note: Columns A to C are fixed. After scrolling to the right, column K is
visible in the caption below.
FREEZE FIRST COLUMN
To Freeze the First Column
LECTURE TWO
TERMINOLOGIES
FORMULA
A formula is an expression which calculates the values of a cell. A formula
always starts with an equal sign (=) and once committed (press Enter), the
result is displayed in that cell. At its most basic, formulas can be simple
mathematical calculations with values similar to a calculator.
An example of a formula is, =A1+B1. This takes whatever value in
cell A1 and add it to the value in cell B1. After typing the formula and
pressing the Enter key, Excel display a standard result.
FUNCTION
A function refers to a 'mini-program' usable to perform calculations that are
more complex. Functions are used inside formulas and therefore, there is
need to start with an equal sign (=). Formulas operate with cell references
and are very powerful. One commonly used function is SUM, which adds up
the values in a defined range. The function: =SUM(A1:A12) sums up all
values in cells A1 through to A12 and return the result after pressing the
ENTER key.
VALUE
Value is a numeric data entered in Excel spreadsheet.
RANGE
A range refers to two or more cells. When these cells are together, it is an
adjacent range. The adjacent range covers all the cells from A1 through
to C2 - or in Excel syntax, written as A1:C2. The colon (:) stands for 'through
to'. A range of cells that are not all in one place is non-adjacent ranges:
This range includes cells A1:A2 and C1:C2. In Excel syntax this is written
as A1:A2,C1:C2.
RELATIVE REFERENCE
A relative cell reference is one that changes relative to the direction when
copied down. Consider the example below:
A2 and B2 are relative cell references. When copying formula from cell
C2 downwards into C3 and C4 with the fill handle, then Excel assumes that
there is an intention to perform the same calculation in rows 3 and 4. In other
words, Excel will perform the calculation A3*B3 in cell
C3 and A4*B4 in cell C4 respectively.
FORMULA IN CONTEXT
CALCULATE PROFIT MARGIN
Exercise 10: In column Q of the “orders” sheet, calculate the profit margin by
subtracting Retail Price from Cost Price.
CALCULATE TOTAL
Exercise 13: In column W, calculate the Total by subtracting Discount from
Sub Total and then add Shipping Cost.
a. Click in cell G4
b. Click on the Insert Function
c. In the pop-up dialogue box, type Average in the Search for a
Function box
d. Select the average function
e. Click on Go
f. In the next dialogue box, select B4:E4
g. Click OK.
ABSOLUTE CELL REFERENCE
An absolute cell reference is a cell address that contains a dollar sign ($) in
the row and column coordinates respectively. When entering a numeric value
as cell reference in a formula, Excel assumes it is a relative reference except
the formula specified as absolute reference.
Exercise 6: Calculate commission for each account managers by multiplying
the Total sales by the Commission rate. Note, the commission rate is 7%
(cell J1)
FONT FORMATTING
FONT
Using Font in Excel enables data presentation to look professional.
Therefore, some of the tools to achieve these is located in the Font group -
left side of Home tab. The Font group contains Font, which allows users to
change font. In Excel, the default Font is “Calibri.” However, to change the
font to desired font, click the little drop down on the right to select.
BORDER
ALL BORDERS
Applying border to data set make it more readable. Border is located on the
Font Group with an icon that looks like a small window. In addition, border
has a little drop-down to select desired.
Exercise 15: Apply all borders formatting from A3:J17
a. Select A3:J17
b. In the border dropdown, select “All Border.” Refer to the caption
below
a. Select row 18
b. In the border drop-down, select “Top and Double Bottom
Border.” Refer to the caption below.
a. Select A20:B1.
b. In the border dropdown, select “Thick outside borders” Refer to
the caption below.
To separate the Sales Summary 2016 from the rest of the data:
a. Select A1:J1
b. In the drop-down list of the border icon, click on “More Borders”
c. In the “Styles” panel of the dialogue box, select the tick border
d. Click the “colour” dropdown and select desired colour. For this
exercise, select Blue
e. In the Border, select bottom
f. Click OK.
NO BORDERS
To remove borders:
WRAP TEXT
In a situation whereby, data do not properly fit into a cell, there are options
to solve these by making the column to be wider.
ORIENTATION
Orientation rotate text diagonally or vertically. The tool is located on the left
of Wrap Text denoted with diagonal ab.
To apply orientation:
FORMAT PAINTER
Format Painter allows a quick copying of format from one cell to another. It
is located in the Clipboard group on the Home tab.
Exercise 17: Apply bold and italic to Account Manager “Abiola David.” In
addition, apply “Light Blue” fill colour. Finally, use the “format painter” to
copy from cell A4 and paint the format to cells A5:A17
CURRENCY FORMAT
Exercise 19: Assume there is no currency applied to the “Sales Summary
2016.” Apply currency format to data.
Note: The inserted currency symbol is available in the formula bar and in
the currently selected cell. Refer to the caption below
DATE FORMAT
Excel recognise the following as date’s formats: 12/12/2017 and 12-12-
2017. Excel do not recognise 12.12.2017 as a date format. However, Excel
enables users to alter their date format from the regional setting of the control
panel to recognize 12.12.2017 as a valid date format.
Exercise 20: Apply “good style” to the Account Managers name in column A.
Exercise 21: Apply “wisp” theme to “Orders” sheet row headings and check
others sheet to confirm consistency.
a. Select column F
b. Hold down the CTRL key and select columns I and K
c. Right-click on any of the selected columns and click on delete.
The spreadsheet shifts to the left based on the selected columns.
Refer to the caption below.
CLEAR CONTENT
Exercise 28: Clear the content in column J
REPLACE
Excel also provides another tool usable to replace text or numeric values in
the spreadsheet. Exercise 30: Replace all the instances of “ABV” in column
F with “Abuja.”
Note, to replace the value in a specified cell; click on “replace.” Refer to the
caption below for replacement of ABV with Abuja
FILTERING
Filters allows user to narrow down data to specifics. User can filter data in
five ways:
Exercise 31: Using the sort & filter group of the data tab, filter the Account
Manager, Nicholas Dean
a. Click clear from the sort & filter group on the data tab. Or;
b. Click the filter dropdown in the heading column to clear
c. Click on “clear filter from…”
Note, user can filter more than one column of data. In addition, user can filter
by colours, icon, text/date filters.
MULTIPLE FILTERS
Exercise 32: Display all the orders received from customer from the State of
ABV with Total “equal to or greater than” $1,000.
a. Having clicked anywhere in the data, click on the big filter icon in
the sort & filter group of data tab
b. Click the filter dropdown in column F (State) and uncheck LOS
c. Click on the filter dropdown in column W (Total) and click on
“number filters”
d. In the pop-up dialogue box, click on “greater than or equal to”
e. In the next dialogue box, type in 1000 and click OK. Refer to the
caption below.
Refer to the caption below
To clear multiple filters at once, click on the clear filter from the sort and
filter group
NUMBER OF COLUMNS AND ROWS
Microsoft Excel has 1,048,576 Rows and 16,384 Columns. The last alphabet
column is XFD
f. Click OK. Data sorted by the given criteria. Refer to the caption
below
Click OK. Data sorted based on the given multiple criteria. Note, user can
sort data by values (default), font colours, cell colours, and cell icons. Refer
to the caption below
CONDITIONAL FORMATTING
Conditional Formatting enables spotting of trends and patterns in the
spreadsheet using colours, icons and bars to visualize important values.
Conditional formatting tool is located in the “styles” group of the Home tab.
CF: HIGHLIGHT CELLS RULES
Exercise 35: In column W, highlight Total sales value “greater than” $500. In
addition, select “green fill with dark green text”
a. Select column W
b. In the Home tab, click on Conditional Formatting
c. Select “Highlight Cells Rules” and click on “Greater than”
d. In the “Greater than” box, type 500 in the box (with or without the
Euro sign)
e. In the dropdown on the right, select “green fill with dark green
text.” Refer to the caption below
a. Select column G
b. In the in the highlight cells rules of the CF, select “text that
contains”
c. In the dialogue box, type in corporate
d. Select yellow fill with dark yellow text colour from the dropdown
to the right.
d. Click OK.
e. Right-click any cell in column W and click on sort and choose
“largest to smallest” order
“Top 5” formatted and sorted from largest to smallest. Refer to the caption
below.
a. Select column R
b. In the icon sets of the CF, click on “3 arrows (coloured). Data
conditionally formatted based in excel default setting. Data also
sorted. Refer to the caption below.
LECTURE FIVE
TERMINOLOGIES
PRINT AREA
The Print area of a spreadsheet is set up in the Print Titles dialogue box. This
is a great tool to use when working with large sets of data and there is need
to print one particular section.
PAGE BREAKS
Page breaks in Excel divide a worksheet into separate pages for printing.
There are two types of page breaks: automatic (dotted blue line) and manual
breaks (solid line). Automatic page breaks will adjust to other page layout
settings such as orientation, margins, and scale. Access the Page Break tool
via the PAGE LAYOUT tab. The page break view is accessible through the
VIEW tab or the Status bar.
PRINT PREVIEW
Exercise 41: Print some segment of the Sales 2015 from A1:D18; 5 copies.
a. Select A1:D18
b. Press the print short-cut key CTRL+P
c. Select the connected printer.
d. In the settings dropdown of the Print Preview section, click on
“Print Selection”
e. In the “Copies” above, type 5Click Print. Refer to the caption
below
Note, it is important to select “print selection” if printing a selected portion
of data. This ensures that there is no wastage of paper and ink. The number of
pages to print is located in the bottom, left of the print preview. In the caption
above, it displayed 1 of 1. By default, Print Settings is “Print Active Sheets”
which means all the data on the spreadsheet will be printed.
In addition, user can change the page orientation from “Portrait” to
“Landscape.” The same applies to changing “Paper size” from A4 to desired
size. However, there is need to ensure that selected paper size matches what
is in the printer.
ORIENTATION, MARGINS AND SCALE
Exercise 42: Using orientation, margins and scale, adjust the Sales 2016
sheet, before proceeding to print preview.
a. In the Status Bar below the screen, click on Page Layout view
b. In the Page Layout tab, under Orientation, Choose Landscape. The
default orientation is Portrait
c. Still on the Page Layout tab, under Margins, choose Narrow. Note,
Normal is the default margin. Notice, data fitted to one page
d. [Optional] to make the data to be properly fitted on the page, go to
Margins, click Custom Margins,
e. In the dialogue box, under Centre on Page, check horizontally.
f. Click OK. Refer to the caption below
Exercise 43: Using orientation, margins and scale, narrow down the
“Orders” sheet from 84 pages to sizeable number of pages, before
proceeding to print preview.
a. In the Status Bar below the screen, click on Page Layout view.
b. In the Page Layout tab, under Orientation, choose Landscape
c. Still in the Page Layout tab, under Margins, choose Narrow
d. Still on the Page Layout tab, under the Scale to fit group, set the
Width to 1 page. Pages reduced from 84 to 54 when the Scale
reduced to 85%. The core essence of these is to save papers when
printing. Refer to the caption below.
PAGE BREAKS
Exercise 44: Print a report where the ABV and LOS data will appear on
separate pages.
a. Sort the data by State: right-click in the State column, and sort
from A to Z
b. Click on the Page layout around the status bar.
c. To “quickly” locate where ABV data starts from after sorting, use
the Find tool using the short cut CTRL + F.
d. Then, type in ABV
e. Click “Option” and check “match case”
f. Click “find all”. Then, use the mouse to scroll down to the last
ABV under “value”
g. Click on the last ABV to reflect in the data set. The last data for
ABV is row 753. See caption below
a. Select column U
b. In the icon sets of the conditional formatting, click on 3 coloured
arrows
c. Right-click in column U and select sort (largest to smallest)
d. Click on the “page break preview” and grab the dotted line to the
last of the green and yellow arrows to separate. Refer to the
caption below.
e. Click back on “page layout” view. All the data with upward green
icon set on separate page. Same with yellow right-pointed arrows.
Refer to the captions below
Exercise 47: Display the Current Date and Current Time in the left section of
the header.
a. In the design tab of the header and footer tab, click on “Current
Date” – (&[Date]) and type a comma.
b. Click on “Current Time” – (&[Time])
c. Then click away from the section. Refer to the caption below
Exercise 48: In the left section of the header, display Page Number and
Numbers of Pages. For example, 1 of 56 and so on
a. In the header & footer tab, click on “page number.” Type of with
space
b. Click on “number of pages” (&[Page] of &[Pages]).
c. Then click away. Refer to the caption blow
Exercise 49: Add, “File name” in the footer center section of the data set.
COLUMN CHART
Exercise 52: Create a “column chart” to display the first and second
quarter’s performance for all the “Account Managers.”
a. Click on the chart area. Notice, the chart and the input data
highlighted.
b. Drag the fill handle at the bottom of the data to include Quarter 3
and 4. Refer to the caption below.
A Column Chart is a great way to compare different series data.
LINE CHART
Line chart shows trend of data over time. The trend could be by days,
months, quarters or years. In addition, line chart shows categories of data.
Exercise 54: Display the sales trend for Account Managers “Abiola David”
to show his performance across the different quarters (A3:E4).
a. Click on the chart to move. Note, there is a small circle around the
edges of the chart, as well as the data that generated the chart.
b. Hover the mouse on the small circle and dragged to desired
location within the same sheet.
Refer to the caption below.
To copy a chart and paste in another sheet:
c. In the dialogue box, check the “new sheet” and type in the desired
sheet name
d. Click OK. Refer to the caption below
To move that chart back to Sales 2016 sheet:
RESIZE CHART
To resize a chart (option A)
a. In the chart styles of the design tab, click on “styles 6.” Refer to
the caption below
Note, excel allows user to modify charts by using the icons located right of
the chart. The green fill plus icon does exactly the same things that “add chart
element” tool does. The paintbrush icon enables users to change “chart styles
and colours.” Finally, the funnel filter icon does the work that “select data”
in the design tab does. It allows users to select data to either add or remove
from chart. Refer to the caption below.
SHARE CHARTS
Excel allows user to share charts from Excel to MS Word and PowerPoint.
Exercise 61: Share the “Sales 2016” combination chart to MS Power point &
MS Word respectively
To share charts to PowerPoint:
Or
RENAME SHEET
Exercise 4: Rename the four sheets with the following name – Rulibeth,
Nadim, Carlos, Finance Q3
3D FORMULAS
A 3D formula is a formula that refers to the same cell or range of
cells on multiple sheet.
Exercise 8: Using conventional method, sum up the expenses for Rulibeth,
Nadim and Carlos sheets into the “Finance Quarter3” sheet.
To sum up the expenses using the conventional method
Note, to add up values from different sheet into a summary sheet, all the
sheets must have the same structures. 3D formulas enable efficiency; no need
to be selecting values from each sheet with the plus sign. The conventional
method is inefficient and subject to error. However, 3D is error-free.
Exercise 10: Using sum function, calculate the Total in C14:F14 and F7:F13
Exercise 11: Using 3D formula, add up all the expenses for Lodging and
Meals from the three sheets
a. Copy the first or the last five structure from Transportation range
C7:E11
b. Click into C24 and Paste the structured. Refer to the caption
below
c. In F24:F28, execute the following +=SUM(F24:F28)
Note, moving sheets after 3D formula has been applied, will negatively
affect the values in the sheets, which numeric values are pulled to. 3D
supports finding the average of a given values
LINKING WORKBOOKS
Excel allows user to work with multiple workbooks. The process of doing
these is Linking Workbooks.
Exercise 13: Pull the “Total” expenses values from the ExpenseQ1,
ExpenseQ2, and ExpenseQ3 workbooks and summarize into the Total
Expenses workbook.
Note, if any value in any of the Q1, Q2 and Q3 expense workbooks changes,
Excel automatically update the changes in the Total Expense Workbook.
To apply currency:
Note, if one of the links damaged because of moving or renaming any linked
workbook, click change source. This would redirect to fix the damaged link
in the workbook location. The other option available is break a link.
Exercise 15: Break the ExpenseQ1 workbook link
CONSOLIDATE BY POSITION
The consolidate tool allows combining values from multiple workbooks into
a summary workbook. Consolidate tool is located on the data tab of the
ribbon, in the Data Tools group.
Exercise 16: Summarise the total expenses from the three different States into
a summary Expenses workbook.
To open and arrange the workbooks:
OUTLINES
In the caption above, notice, there are plus (+) sign left of the row numbers.
In addition, the row number are not in the usual order and there are 1 and 2 in
a box below the name box. This is outline in Excel. By default, the result
displayed in outline 1.
In the caption below, by clicking on the outline 2, the result expanded to
display the input cells value that generated the SUM totals in the outline 1
CONSOLIDATION BY REFERENCE
Exercise 19: Summarize the Finance department “Leave Days” from the three
States workbooks into the “Consolidate by reference” workbook.
To open and arrange the workbooks:
Notice, excel summarised and consolidated the data from the other three
workbooks alphabetically by department. In addition, there are no links in the
consolidated values. These implies that if any value changes in any of the
other three workbooks, excel consolidate will not recalculate to accept the
changes.
Exercise 20: In the Consolidate by reference workbook, in the table below
the summarized consolidation, find the AVERAGE leave days for the entire
department across the three States workbooks.
LECTURE TWO
COMBINING TEXT
CONCATENATE FUNCTION
The Excel CONCATENATE function joins several text strings into one text
string. The CONCAT Function replaces CONCATENATE in never versions
of Excel specifically in office 365
Syntax = CONCATENATE(text1,text2,[text3],…)
Arguments: Text1 – The first text value to join Text2 – The second text
value to join
Text3 – [optional] the third text value to join together
Note that the (&) ampersand character is an alternative to CONCATENATE
when joining text strings using formula (=)
Exercise 21: In the Legacy HR Database, using function, combine the
employees Last (column B) and First (column C) names to Full Name
(column D)
Both the CONCAT function and the Ampersand are quick ways to join data
that appears in separate columns. Both approaches allow user to add spaces,
other characters, and text into the newly created cell.
FLASH FILL
Flash fill automatically fills data when there is a text pattern. The tool is
handy for text separation or combination
Exercise 23: Using the flash fill pattern, combine the employees Last (column
B) and First (column C) names to Full Name (column D)
Since all the wings do not have the exact number of characters, using the mid
function alone is incapable of accurately extract the characters. Therefore,
there is need to combine mid function with another function (nesting), to
extract the wings.
FIND FUNCTION
The Excel FIND function returns the position (as a number) of one text string
inside another
Syntax =FIND(find_text,within_text, [start_num])
Arguments: Find_text – The text to find
Within_text – The text to search within
Start_num – [optional] the starting position in a text to search
Exercise 30: Extract the Wing from the Location using MID and FIND
functions.
Option A
Note, in cell K4 for example, the text length (03-West 2392), is 12 characters
long. Excel treat the hyphen and the space as characters. Hence, the text
length is 12 for that particular cell.
To extract the wing in the middle irrespective of its number of characters,
find the position of the space of the text to extract (cell K7), in cell O7
a. Subtract four characters from the cell O7. The four is, for cell K7,
03- (three characters), and the space (one character). Four
characters to be subtracted in total
b. In O7, double-click on the formula. Outside the close bracket at
the end of the formula, type (-4) without brackets
c. Click+Enter
d. Use fill handle to copy down the rest of the data. Now, the
remaining number of characters in cell O7 is four while for cell
O8 is five. Refer to the caption below.
Finally, to import the values in the helper column (column O) for the accurate
extraction
YEARFRAC FUNCTION
Excel YEARFRAC function returns a decimal value that represents
fractional years between two dates
Syntax = YEARFRAC(start_date,end_date, [basis])
Arguments Start_date – The start date End_date – The end date
Basis – [optional] the type of day count basis to use
Exercise 32: In cell G4, calculate how many years each staff member has
been working for the company up until today (25/10/2018). To solve the
problem, deploy YEARFRAC function.
NAME BOX
Exercise 35: Create named ranges from the Emp ID (column A) using the
Name Box.
DEFINED NAME
Exercise 36: Create a named range from the Pension (column O), using the
Defined Name on the Click into O4 and apply CTRL + SHIFT + Down
Arrow.
d. In the dialogue box, untick the left column and Click OK.
Note, the shortcut key to apply “Create from Selection” is CTRL + Shift +
F3. To apply the shortcut:
a. Select all the data including the headings.
b. Press CTRL + Shift + F3.
c. Untick left column and click OK.
To see all the newly created named ranges, click on the Name Box dropdown
icon. There are sixteen named ranges including Department as seen in the
caption below. See the caption below
Exercise 42: In cell, S6, calculate the “Average Salary” for all the
company’s staff using named ranges method
Exercise 43: Identify the “Most Oldest Date of Hire” using named range
method.
Note, to display all the named range created for selection in the event of not
remebering the named ranges, prss F3 key on the keyboard. See the caption
below
APPLYING NAMES
Excel “apply name,” allows cell references to be replaced (convert), with a
newly created named ranges.
Exercise 45: In cell S5, convert the conventional method – cell references
“=SUM($P$4:$P$35)” to named ranges “=SUM(Package)”
To apply name:
a. Click on cell A5
b. Press CTRL + SHIFT + Right and Down Arrow to select the data
including the row headings
c. In the formulas tab, click on “create from selection”
d. Check the “Top row” alone and Click OK
To calculate the total orders shipped:
Note, criteria that defines counted cell specified in form of reference number,
text or an expression. For COUNTIFS, text and expressions must be within
quotation marks.
SPARKLINES
Sparkline’s are tiny charts inside a single worksheet cells used to visually
represent and show a trend in given data. In addition, spark-lines allows user
to visualise the sales trends for each of them of the acct managers at a glance.
The tool is located in the Spark-lines group of the Insert tab.
Exercise 56: Using “Line Sparkline,” in cells G21:G34, display the Sales
trend for of the Account Manager for 2013:2017.
e. Click OK.
f. Use the fill handle to drag down. Note, fill handle double-click do
not work with spark-lines
SPARKLINES: CHANGING DATA RANGE
Exercise 57: Change the “Line Sparkline” to “Column Sparkline” and apply
“Sparkline colourful style 4” in the Styles groups.
a. Click on the Column in the Type group. See the caption below.
SPARKLINES HIGH POINT
Exercise 58: Using Column Sparkline, display the Sales Total High Point
trend for each Account Managers across years 2013:2017
Exercise 59: Using Column Sparkline, display the Sales Total Low Point
trend for each Account Managers across years 2013:2017
CLEAR SPARKLINES
Exercise 61: Clear all Sparkline’s
Notice, the chart looks terrible. First, the States displayed as horizontal axis
labels.
To distinguish the series by changing the chart type for the sales total.
To remove 2017 Sales out of the chart due to the low input values and its
negative effect on the chart:
a. Click “Select Data” in the Data group
b. In the “horizontal axis labels” of the “Select Data” dialogue box,
uncheck 2017.
c. Click OK. Notice, from the caption below, the 2017 data is
unavailable. The chart shows positive trend
TRENDLINES
Trend lines indicates the general pattern for charts that changes over time. In
addition, it is useful in forecasting future values that followed a specific
pattern.
Exercise 63: In the “Sales Dash” sheet, create a new chart showing just the
ABV data for 2013:2016.
ADD TRENDLINE
To add a trend line:
a. Click on the little plus icon bar and hover over trend lines.
b. Click on “More Options.” By default, Excel adds a linear trend
line.
c. To display the R-squared value, scroll down the “format trend-
line” field area and check Display R-squared value on the chart
The R-squared is a number between zero and one that signify how closely the
trend-line follows in a data. The closer it is to one (1), the better the fit. The
Linear trend-line R-squared value in the caption above is 0.9763.
However, in the caption below, the Exponential R-squared value is 0.986.
This implies that the trend-line is more of an exponential curve than linear
FORECASTING
Exercise 64: Forecast the 2017 orders quantity for the State of ABV based on
the data from 2016.
a. In the forecast of the “format trend-line” field area, in the
“forward” box, type in 1
b. Click Enter.
Notice, in the chart of the caption below, the forecast for the State of ABV
orders quantity for 2017 –197 orders. The 2016 orders were 181.
LECTURE FIVE
CREATING FORMATTING TABLES
Tables are essential to organize and format data. Tables makes it easy to sort,
filter, select and format data
Exercise 65: Convert the data in the “Staff” sheet from range to a table
c. Check “my table has headers” if not checked, and there is header.
d. Click OK. Note, the shortcut key to convert data in a range to a
table is CTRL+T
Note, there is changed formatting. In addition, there are blue and white
banded rows. Furthermore, there are auto filter buttons right of each row
headings.
There is a brand-new ribbon tab named Table Tools, Design. The new
ribbon in Excel – contextual ribbon tab.
Furthermore, note, when user click outside or away from the data in the table,
the new ribbon disappears. When user clicked back into any area of the data
table, the table tools design tab reappears.
TABLE NAME
On the far left of the table tools design ribbon, notice that Excel has given the
table a name, Table1. For the purpose of this example, rename the table1
with “Legacy_HR_Database” and click Enter. When renaming table, space or
hyphen – not allowed. Excel allow only underscore or typing the name
without space. This is similar to named range.
a. Select column A (Emp ID) including the heading, using the small
black arrow with a single click.
b. In the Conditional formatting on the Home tab, select Highlight
Cells Rule
c. Click on Duplicate Values and Click OK.
Notice, highlighted in red are all the duplicate values. See the caption below.
To remove the Duplicate values in a table.
c. In the dialogue box, click OK. All the duplicates are removed.
a. In the sort & filter group of the data tab, click on the Sort icon.
b. In the dialogue box, for the “Sort by,” select Department
c. Select Order A to Z.
d. Then, click on “Add Level”. For “Then by,” select Last Name.
e. Select Order A to Z.
f. Click on “Add Level” again, for “Then by,” select First Name.
g. Select Order A to Z.
h. Click OK.
Data sorted using the three criteria specified. See the caption below
The Excel filter option is very powerful for quick automation. For example,
Excel recognizes that column F contains dates. Excel automatically groups by
year and month. In addition, Excel recognizes that column D contains the
Gender of the names in the table. This makes it very easy to filter by gender.
TOTAL ROW
One of the key tables features in Excel in the Total Row. It can be turned on
or off in the Table Style Options of Design Table Tools. Excel adds a row at
the bottom of the table (when user turned on), which sums up the final column
in the table.
BELOW AVERAGE
Exercise 70: Count the number of staffs whose Year in service is below
average (column G)
STRUCTURED REFERENCE
Structured reference is a special syntax for referencing excel tables. It is
dynamic, and adjust automatically when user data adds or removes from an
Excel Table.
Exercise 73: In cells P3:P39, calculate the “Total Package” that each
employee receives in the Staff sheet i.e Annual Salary + Pension.
Exercise 75: Summarisation, all the employees across the department that
earns more based on their gender.
To remove Subtotal from range, go back to the Subtotal dialogue box and
click Remove All
LECTURE SIX
CREATING AND MODIFYING PIVOT TABLES
The Excel Pivot Table is a program that allows user to reorganize and
summarise selected columns and rows of data in a spreadsheet to achieve a
desired outcome.
Exercise 76: Create a Pivot Table to display “Total” Sales by “Customer
Type.”
h. Click OK.
The Pivot Table Fields list on the right-hand side are tools for designing
Pivot Table. The placeholder is on the left, which means that Excel
recognises intention to create Pivot Table. Notice, there are two brand new
ribbon tabs, Pivot Table Tools, Analyze and Design. Each of the headings
from the original dataset appears as a field in the field list on the right.
To display Total Sales by Customer Type:
a. Click on cell A13 (where the new pivot table will be inserted)
b. In the insert tab, click Pivot Table.
c. In the dialogue box, in the Table/Range, type Sales.
d. Then, check “Existing Workbook.”
e. Click OK.
f. In the Pivot Table Fields, locate and check “Account Managers”
and “Total”. Note, user can use the search box for quick selection.
This eliminates scrolling down.
In the Pivot fields, excel adds a field that contains text to the ROWS area
after user check the field box. Each of field in the ROWS area becomes a
row label on the main Pivot Table. Furthermore, when user check a field that
contains numeric data, excel automatically adds the field to the VALUES area
and summed. In addition, user needs to drag any fields to display in the
COLUMNS and FILTERS areas.
Exercise 78: Summarize, the “Total” sales generated by “Account Managers”
across the “3 States”
a. Click anywhere in the numeric values and right click – This brings
up a menu of options that allow user to change pivot table.
b. In the menu options, choose “Summarize Value By”, and click on
Count.
Note: there are other functions such as Average, Min, Max and Product.
CONVERT TO PERCENTAGE
Exercise 81: Modify the second Pivot table by converting the Total Sales
from a discrete value by Year to “Percentage of Grand Total”
a. In the Layout group of the design tab, click the Grand Totals
dropdown.
b. Click “off for rows and columns.”
By default, report layout is in “Compact Form.” To change the layout to
“Tabular Form” and repeat the States in the rows:
a. In the Design tab, on the right (Pivot Table Styles), apply Pivot
Style Medium 11
PIVOT TABLE: SORTING AND FILTERING
Exercise 84: Display “quarterly sales trends” by “States” for 2015 and 2016
using sorting and filtering
c. To group the data by quarters and years, click into one of the year
fields in the pivot (eg. Cell B13)
d. In the Analyze tab of the ribbon, and in the Group Section, click on
Group Field.
e. In the dialogue box, uncheck Months, tick Quarters and Years.
f. Click OK
SORT
Exercise 85: Sort the Total Sales from smallest to largest by States.
FILTERING
Exercise 86: Using the filtering, display the sales trends by States for 2015
and 2016.
Note, a double click on cell J15 data will create the snapshot of all values
that was used to generate $1,104.34 on a new worksheet. In addition, excel
do not allow changing of summarised values in the Pivot table.
SHOW TOOLS
The show tools are located on the far right of the Analyze tab of the Pivot
Table. User can use the buttons to switch on or off any button on the main
pivot table.
PIVOT CHARTS
PIVOT CHART: PIE CHART
Exercise 89: Create a 3D Pie Chart that gives the breakdown of Orders by
Customer Type. The 3D Pie Chart inserted from the first Pivot Table data.
a. Click somewhere in the pivot table. In the Tools group (far right)
of the Analyze tab, click Pivot Chart.
b. In the dialogue box, click on Pie on the left and choose 3D.
c. Click OK.
Note, user can use any of the regular chart types, such as column, line, pie, or
even radar. However, excel do not allow users to use charts such as stock, X
Y (Scatter) or any of the new and slightly more specialized chart types for a
single series of data.
Exercise 90: Note that when data on pivot table changes, the pivot chart also
changes. Filter to remove “Consumer” data from the Pivot Table and reflect
on the Pivot Chart.
a. Click on the Row Labels filter button and untick Consumer. The
Consumer data on the Pivot Table and Charts removed. See the
caption below
a. Click the “Row Labels” filter dropdown and click “clear filter
from Consumer.” Or
b. Click on the filter button of the legend on the chart and click Clear
Filter From Customer Type
In the caption below, notice that the “States” on the Pivot Table are Rows
Labels while on the chart, it displayed as “AXIS (CATEGORIES)”. In
addition, the years are “LEGEND ENTRIES on the chart.
To fix the chart above in a quicker way:
a. Hold down the CTRL key and click on all three slicers.
b. In the Size group, for this exercise, resize the Height to 7.01cm
and the Width to 5cm.
ALIGN BUTTON
User can use the “Align” dropdown to position slicers based on preferences.
In addition, there are –top, bottom, distribute vertically and horizontally.
There are Slicers Styles available for selection.
a. In the State slicer, click on ABV. Notice, on the Pivot Tables and
Chart that the data are only showing for the State of ABV for all
the Account Managers
To clear the applied filter
CONNECTING SLICERS
The connect feature allows users to connect slicers to multiple pivots.
Exercise 96: Connect “Customer Type” slicer to “PivotTale1 on the “Main
Pivot” sheet,
d. Click OK
To test the connection:
Finally, using a combination of pivot tables, pivot charts and slicers, user can
create powerful and interactive visual reports and dashboards.
PIVOT TIMELINE
Excel is equipped with a tool – Timeline. The tool allows user to filter dates
interactively. It is located in the “analyse” tab of the “PivotTable tools,” and
“PivotChart tools.” In addition, it is located in the “Insert” tab. Note,
timeline works with data that has dates
Exercise 97: Insert timeline from any of the three locations. In the “Order
Date” and “Ship Date” timelines, filter “Quarters 1:4 of 2016 and 2017” and
“Years 2014:2017”
d. Click OK.
e. Align the two timeline windows using “align middle “ and
“distribute horizontally”
In the caption above, notice that there is “Timeline Tools Options” ribbon.
This is similar with Pivot Slicer.
Clear the filter from the two timelines. Notice the changes in the PivotTables
and PivotCharts connected. See the caption below
EXCEL SHORTCUTS
General Shortcuts
1. Open help F1
2. Undo last action Ctrl + Z
3. Redo last action Ctrl +Y
4. Copy selection Ctrl + C
5. Repeat last action F4
6. Cut selection Ctrl + X
7. Paste content from clipboard Ctrl + V
8. Display the Paste Special dialog box Ctrl + Alt + V
9. Display Find and replace with Find tab selected Ctrl + F
10.
Insert embedded chart Alt + F1
11.
Insert chart in new sheet F11
12.
Toggle Auto-filter Ctrl + Shift +
L
13.
Create table Ctrl + T
14.
Select table row Shift +
Space
15.
Select table column Ctrl + Space
16.
Select table (when active cell is in table) Ctrl + A
17.
Open VBA Editor Alt +
F11
18.
Duplicate object Ctrl + D
19.
Snap to grid (whilst dragging) Alt
20.
Hide or show objects Ctrl + 6
21.
Open Modify Cell Style dialog box Alt + '
22.
Show right-click menu Shift +
F10
23.
Display control menu Alt +
Space
Worksheet
24.
Go to next worksheet
Ctrl + PgDn
26.
Go to previous worksheet
Ctrl + PgUp
27.
Insert
hyperlink Ctrl + K
13.
Display AutoComplete
list Alt +
↓
14.
Flash
fill Ctrl + E
Formatting
1. Format cells Ctrl
+1
2. Display Format Cells with Font tab selected
Ctrl + Shift + F
3. Apply or remove bold
Ctrl + B
4. Apply or remove italics Ctrl
+I
5. Apply or remove underscore
Ctrl + U
Formulas