Excel E-Book
Excel E-Book
© zepanalytics.com
Agenda
● Introduction to Excel
● Pre Defined Functions
● Date time Functions
● String Functions
● Mathematical Functions
● Lookup , Hlookup and Vlookup
● Logical error Functions
● Statistical Functions
● Images in Excel
● Excel Formatting
● Custom Formatting
● Conditional Formatting
● Charts in Excel
● Data analysis using Excel
● Pivot Tables
● Dashboarding in excel
● The other things
● What is Tools, Scenario Manager, Goal Seek
2
Pre-defined
Functions
3
© zepanalytics.com
DATA ANALYTICS | EXCEL
Pre-defined Functions
ROUND()
Returns a number rounded to a specified
number of digits.
First attribute is numbers and second is number
of digits
SQRT()
Returns square root of a number
4
DATA ANALYTICS | EXCEL
Pre-defined Functions
MIN()/MAX()
Returns Minimum/ Maximum values from a set of
values respectively ,Ignore logical values and
text.
SUM()
Returns the sum of a range of values
AVERAGE()
Returns the average or mean value of a range of
values.
5
DATA ANALYTICS | EXCEL
Pre-defined Functions
MEDIAN()
Returns the median Value of a range of values
RANK()
Is used to find the rank of a number in a list of
numbers
LENGTH()
It is used to find the length of a text string
LEFT()/RIGHT()
Extracts a given number of characters from the
left side/right side of a supplied text string
6
Date Time Functions
7
© zepanalytics.com
DATA ANALYTICS | EXCEL
DATE()
It is used to find the length of a text string
EOMONTH()
Returns the serial number for the last day of the
month that is the indicated number of months
before or after start date
NETWORKDAYS()
Calculates the number of workdays between two
dates in Excel
WEEKDAYS()
Returns a number between 1-7 representing the
day of week. Here for e.g. output ‘1’ means
Monday ,’2’ means today and so on.
8
Strings Functions
9
© zepanalytics.com
DATA ANALYTICS | EXCEL
Strings Functions
FIND()
Returns the location of a substring in a string
SUBSTITUTE()
Replaces text in a given string by matching
MID()
Extracts a given number of characters from the
middle of a supplied text string
10
10
DATA ANALYTICS | EXCEL
Strings Functions
SEARCH()
IS used to find the position of a character inside a
the string
CONCAT()
Is used to join two or more text strings into one
string
11
11
Mathematical
Functions
12
© zepanalytics.com
DATA ANALYTICS | EXCEL
Mathematical Functions
PRODUCT()
Returns the product of numbers provided as
argument
FACT()
Returns factorial of a number
MOD()
Returns the remainder of two numbers after
division
ROUNDUP()/ROUNDDOWN()
Round the number upward/downward to the
specified number of digits
13
13
DATA ANALYTICS | EXCEL
Mathematical Functions
SUMIF()
Add the cells specified by given condition or
criteria
SUMIFS()
Adds all of its arguments that meet multiple
criteria. Considering the same example given
above.
14
14
Logical and Error
Functions
15
© zepanalytics.com
DATA ANALYTICS | EXCEL
OR()
A logical function to test multiple conditions at
the same time.
The OR function returns TRUE if any of its
arguments evaluate to TRUE, and returns FALSE if
all of its arguments evaluate to FALSE.
NOT()
The function helps check if one value is not equal
to another
The NOT function reverses the value of its
argument.
16
16
DATA ANALYTICS | EXCEL
ISERROR()
ISERROR: returns TRUE for any error type excel
generates, including #DIV/O!, #NUM!, #NAME?, or
#NULL Etc.
ISNUMBER()
Function checks if a cell in Excel contains a
number or not. It will TRUE if the value is a number
and if not, a FALSE value.
Now lets Check whether 4 is a number.
17
17
DATA ANALYTICS | EXCEL
IF()
Tests for a specific condition
IFELSE()
The If/else statement executes
a block of code if a specified
condition is true. If the
condition is false, another
block of code can be
executed.
As we can see we have
classified the age columns to
age bins using the given
below if command
18
DATA ANALYTICS | EXCEL
IFERROR()
19
19
Statistical Functions
20
© zepanalytics.com
DATA ANALYTICS | EXCEL
Statistical Functions
COUNT()
COUNTA()
COUNTBLANK()
Returns a count of empty cells in a Range
21
21
DATA ANALYTICS | EXCEL
Statistical Functions
MEAN()
Get the average of a group of numbers.
MEDIAN()
Get the median of a group of numbers
MODE()
Returns the most frequently occurring number in
a numeric data set.
22
22
DATA ANALYTICS | EXCEL
Statistical Functions
CORREL()
It is used to find out the correlation
coefficient between two variables.
The CORREL function returns the
correlation coefficient of two cell ranges.
STDEV()
Calculates standard deviation based on entire
population/samples given as arguments. Below
given are examples of both standard deviation of
population and samples
VARIANCE()
Calculates Variance based on entire
population/samples given as arguments. Below
given are examples of both standard deviation of
population and samples
23
Images in Excel
24
© zepanalytics.com
DATA ANALYTICS | EXCEL
Images in Excel
Format painter
25
25
Excel Formatting
26
© zepanalytics.com
DATA ANALYTICS | EXCEL
Excel Formatting
27
27
DATA ANALYTICS | EXCEL
Excel Formatting
In Microsoft Excel, font and border changes are
essential features used to enhance the visual appeal
of spreadsheets and make data more readable.
Changing the font type, size, and color can be done
easily by selecting the cells and clicking on the Font
drop-down menu. There are many font options to
choose from, including popular options like Arial,
Times New Roman, and Calibri.
Similarly, Borders can also be added to cells or
groups of cells to help separate and organize data.
The border menu offers different styles, colors, and
thickness options, which can be customized to meet
specific design preferences. Additionally, borders
can be applied to specific cells, rows, columns, or the
entire worksheet.
Using font and border changes can help make an
Excel spreadsheet more visually appealing, and can
also make it easier to read and understand data. By
selecting appropriate font styles and colors, and
adding borders where necessary, you can improve
the overall look and feel of your spreadsheet.
28
28
DATA ANALYTICS | EXCEL
Excel Formatting
Changing the Number format of “Balance” column.
As we can see, it first had 2 decimal points. We will
change decimal places to 0.
In the format cell -> number.
Now select category “number” and then decimal places
to 0
29
DATA ANALYTICS | EXCEL
Excel Formatting
30
30
Custom
Formatting
31
© zepanalytics.com
DATA ANALYTICS | EXCEL
Custom Formatting
Custom formatting in Microsoft Excel is a powerful tool
that allows users to create and apply their own
formatting rules to cells, rows, and columns. This feature
enables users to customize the display of data in a way
that is tailored to their needs and preferences.
Custom Formatting
33
33
Conditional
Formatting
34
© zepanalytics.com
DATA ANALYTICS | EXCEL
Conditional Formatting
Conditional formatting helps us visualize data and
make worksheets easier to understand. It quickly
highlights important information in a spreadsheet by
using colors, icons, and data bars. It changes the
appearance of one or more cells when cell values
meet certain conditions
.
35
DATA ANALYTICS | EXCEL
Conditional Formatting
Now we have to apply conditional formatting
based on a threshold. For e.g. estimated salary
column’ s Threshold is 80000.
Go to conditional formatting select highlight cells
rules then select greater than .
.
36
36
DATA ANALYTICS | EXCEL
Conditional Formatting
37
37
DATA ANALYTICS | EXCEL
Conditional Formatting
38
38
Charts in Excel
39
© zepanalytics.com
DATA ANALYTICS | EXCEL
Charts in Excel
Different types of data require different types of charts for
clarity and effectiveness. For example, line charts are
useful for showing trends over time, while pie charts are
perfect for showing percentages and proportions.
Excel provides a variety of chart types for users to visualize
data and communicate insights.
The most common chart types include line charts for
showing trends over time, bar charts for comparing data
points, pie charts for showing percentages and
proportions, scatter plots for visualizing the correlation
between two variables, area charts for representing
cumulative data over time, column charts for representing
discrete data, and bubble charts for representing three-
dimensional data. By selecting the appropriate chart type
and customizing it, users can improve their ability to
communicate insights and make informed decisions.
Excel offers a feature called "Recommended Charts" to
help users choose the best chart type based on the data
they want to visualize.
However, it's important to have a basic understanding of
the different types of charts and their uses in order to
make an informed decision. To create a customized bar
chart in Excel, you can follow these steps: select the data,
choose "Bar Chart" from the toolbar, customize the chart
by adding a title and axis labels, add data labels, adjust
the chart's layout, format the chart, add a trendline, and
save the chart. By making custom changes to the chart,
you can create a visually appealing and informative chart
that effectively communicates the data.
40
40
DATA ANALYTICS | EXCEL
Charts in Excel
Conditional formatting helps us visualize data and
make worksheets easier to understand. It quickly
highlights important information in a spreadsheet by
using colors, icons, and data bars. It changes the
appearance of one or more cells when cell values meet
certain conditions.
41
41
DATA ANALYTICS | EXCEL
Charts in Excel
Now e.g. we create a bar chart ,
42
42
Data Analysis
using Excel
43
© zepanalytics.com
DATA ANALYTICS | EXCEL
44
44
DATA ANALYTICS | EXCEL
45
45
DATA ANALYTICS | EXCEL
46
46
Pivot Tables
47
© zepanalytics.com
DATA ANALYTICS | EXCEL
Pivot Tables
Doing a proper analysis of the available data helps
companies make critical business decisions. But
sometimes it's difficult to understand where to start,
especially when the data is huge
How it works...
One can design a PivotTable by simply, dragging and
dropping relevant information into the appropriate
boxes. This tool quickly pivots or reorganizes data
allowing us to answer different questions and even
experiment with the data to discover new trends and
patterns
FILTERS
A PivotTable helps to extract the important
information from a large, detailed dataset.
Sometimes, the focus is required on just a certain
section of our data. Filters help us narrow down the
data in the PivotTable, extracting the required
information
48
48
DATA ANALYTICS | EXCEL
Pivot Tables
SLICERS
Another important tool of Excel, Slicers, makes filtering
data in PivotTables even easier. Slicers contain a set
of buttons which make filtering data in PivotTables
easier and quicker. We do not have to open the drop-
down lists to find the items we want to filter. We can
create slicers for any field and can filter. A Pivot Table
by selecting the type of data we want.
GROUPING
It is often useful to group the fields in a PivotTable by
the header values. Grouping data in a PivotTable
allows us to group the data for any field added as a
row or a column. Excel can do this automatically for
numeric values (including dates and time).
49
49
Inserting pivot tables for the above data set
DATA ANALYTICS | EXCEL
Select recommend pivot tables
Pivot Tables
50
50
Inserting pivot tables for the above data set
DATA ANALYTICS | EXCEL
Select recommend pivot tables
Pivot Tables
51
51
Inserting pivot tables for the above data set
DATA ANALYTICS | EXCEL
Select recommend pivot tables
Pivot Tables
SLICER
52
52
Dashboarding in
Excel
53
© zepanalytics.com
DATA ANALYTICS | EXCEL
Dashboarding in Excel
Using dashboards, the data visualization tool of Excel,
it is easy to create the detailed analysis reports.
These dashboard reports will provide insights and
alert us in case of negative trends or projections for
Profit/Sales in specific regions which can then be
used to develop future strategy.
Dashboards are highly effective in validating the
effectiveness of the matrices captured over time and
bringing out the leading trends. Dashboards help
consolidate and organize these metrics through a
summary. Now we have 2 types of data set
Attendance data and students data.
54
DATA ANALYTICS | EXCEL
Dashboarding in Excel
Steps to create a dashboard:
6) now select columns “exams” ,”marks
obtained” and “total marks”. Click on
recommended charts.
7) Select a chart out of the many
options provided. After that click the
chart and edit basic details like title etc..
8) Create a pivot chart and a slicer
respectively. As shown in the below
image.
Steps to create a dashboard:
9) Now we add a title to this
dashboard using insert Test
55
55
Other things to do in
Excel
56
© zepanalytics.com
DATA ANALYTICS | EXCEL
57
57
DATA ANALYTICS | EXCEL
TEXT TO COLUMNS
Microsoft Excel's "Text to Columns"
feature is a powerful tool that
allows users to quickly and easily
split data in a single cell into
multiple columns. This feature is
especially useful when working
with large datasets or when
importing data from external
sources. With "Text to Columns",
users can choose a delimiter to
split the data, such as a comma
or space, and Excel will
automatically separate the data
into separate columns.
58
58
DATA ANALYTICS | EXCEL
59
59
DATA ANALYTICS | EXCEL
WRAP TEXT
MERGE COLUMNS
60
60
What IF Tools,
Scenario Manager,
Goal Seek
61
© zepanalytics.com
DATA ANALYTICS | EXCEL
What IF Analysis
What-lf Analysis is the process of changing the
values in cells to see how those changes will affect
the outcome of formulas on the worksheet.
Three kinds of What-lf Analysis tools come with Excel:
Scenarios, Goal Seek, and Data Tables.
Scenarios and Data tables take sets of input values
and determine possible results.
DATASET USED
62
62
DATA ANALYTICS | EXCEL
What IF Analysis
What-lf Analysis is the process of changing the values
in cells to see how those changes will affect the
outcome of formulas on the worksheet.
Three kinds of What-lf Analysis tools come with Excel:
Scenarios, Goal Seek, and Data Tables.
Scenarios and Data tables take sets of input values
and determine possible results.
GOALS SEEK
Goal Seek is a powerful tool in Microsoft Excel that allows
users to determine the input required to achieve a
specific output. It is particularly useful when working with
complex formulas, as it allows users to quickly
determine the input needed to achieve a desired result.
WHAT IS GOAL SEEK?
Goal Seek is a function in Excel that allows users to
determine the input required to achieve a specific
output. It is a type of What-If analysis that can be used
to answer questions such as "what input value is
required to achieve a certain output value?" or "what
sales volume is needed to achieve a certain profit
level?".
STEPS TO USE GOAL SEEK IN EXCEL
To use Goal Seek in Excel, you need to have a formula
that calculates a result based on one or more input
values. We will use the dataset given below. Once you
have the formula, you can follow these steps:
63
63
DATA ANALYTICS | EXCEL
What IF Analysis
Step 1: Select the cell that contains the formula you
want to use Goal Seek on.
64
64
DATA ANALYTICS | EXCEL
What IF Analysis
SCENARIO MANAGER
To use the Scenario Manager, users first need to identify
the cells they want to modify and define the different
values for each scenario. These scenarios can then be
easily compared and evaluated by running the Scenario
Manager function.
One of the key benefits of using the Scenario Manager is
that it enables users to quickly analyze and evaluate
complex data sets. Instead of manually changing inputs .
Another advantage of the Scenario Manager is that it
allows users to perform sensitivity analysis, which is the
process of analyzing how changes in one variable affect
the outcome of a model. This can be particularly useful
for businesses looking to optimize their operations and
identify areas where small changes can have a big
impact.
To use the Scenario Manager in Microsoft Excel, follow
these steps:
1) Start by opening the Excel workbook that you want to
work with and navigate to the worksheet where you want
to create your scenario analysis.
2) Identify the cells that you want to modify and input
different values for each scenario.
For example, if you are analyzing the impact of different
interest rates on loan repayments, you would identify the
cells that contain the loan amount, the interest rate, and
the loan term.
3) Once you have identified the cells you want to modify,
navigate to the "Data" tab in the Excel ribbon and click on
"What-If Analysis" in the "Data Tools" group.
4) From the dropdown menu, select "Scenario Manager."
This will bring up the Scenario Manager dialog box.
65
65
DATA ANALYTICS | EXCEL
What IF Analysis
5) In the Scenario Manager dialog box, click on "Add"
to create a new scenario. Give the scenario a name
and enter the values that you want to use for that
scenario.
6) Continue to add scenarios by clicking on "Add" and
entering different values for each scenario.
7) Once you have created all of your scenarios, you
can view them by selecting them from the "Scenario"
dropdown menu in the Scenario Manager dialog box.
8) To compare scenarios, select "Summary" from the
Scenario Manager dialog box. This will create a
summary report that shows the results for each
scenario side by side.
If you want to create a scenario report, select
"Scenario Summary" from the Scenario Manager
dialog box. This will create a report that shows the
results for each scenario in a more detailed format.
To edit or delete scenarios, select them from the
"Scenario" dropdown menu and click on "Edit" or
"Delete" in the Scenario Manager dialog box.
66
66
DATA ANALYTICS | EXCEL
What IF Analysis
67
67
Title
Thank you!
Any questions?
68
© zepanalytics.com