Professional Documents
Culture Documents
com
COMMERCE CURVE
PROFESSIONAL EXCEL TRAINING COURSE T
# TOPICS
1 NAVIGATION SHORTCUTS
2 FORMATTING TIPS
3 DATES
4 WORKDAY
5 COMMON ERRORS
6 COPY VS. CUT
7 PRECEDENTS AND DEPENDENTS
8 GROUP/UNGROUP
9 PROTECT RANGES
10 SCREENSHOT
11 SORTING
12 REMOVE DUPLICATE VALUES
13 TEXT TO COLUMNS
14 CONDITIONAL FORMATTING
15 GOAL SEEK
16 DATA VALIDATION
17 SCENARIO MANAGER
18 NAME MANAGER
19 ADVANCED FILTER
20 DEPENDENDABLE DROP DOWN LISTS
21 INDIRECT
22 UPPER, LOWER, PROPER
23 TRANSPOSE
24 SUMIF
25 COUNTIF
26 AVERAGEIF
27 SUMIFS
28 COUNTIFS
29 AVERAGEIFS
30 SUMPRODUCT
31 INDEX
32 MATCH
33 SUMIF WITH INDEX(MATCH)
34 INDEX(MATCH) and DGET
35 TEXTJOIN
36 MIN, MAX, MEDIAN
37 MINIFS, MAXIFS
38 IF
39 IF(AND)
40 IF(OR)
41 ABS
42 ROUND
43 NPV
44 IRR
45 NPV VS. IRR
46 PMT
47 PPMT
48 APPLICATION OF PMT, IPMT & PPMT
49 IPMT
50 EFFECT
51 DB
52 RATE
53 PV
54 FV
55 SLOPE
56 VLOOKUP
57 HLOOKUP
58 OFFSET
59 LEFT, RIGHT
60 COLUMN
61 ROW
62 COLUMNS
63 ROWS
64 FORMULA TEXT
65 COUNTBLANK
66 DMIN
67 DMAX
68 FIXED
69 FIND
70 RAND
71 RANDBETWEEN
72 TRIM
73 RANK
74 CHOOSE
75 CORREL
76 FORECAST
77 FREQUENCY
78 ISNUMBER
79 CONVERT COLUMN TO NUMBER
80 STRIP NON-NUMERIC CHARACTERS
81 SUM OF BOTTON N VALUES
82 LINE CHART
83 COLUMN CHART
84 BAR CHART
85 TIMELINE CHART
86 TIMELINE GANTT CHART
87 WIN/LOSS SPARKLINES CHART
88 SALES FUNNEL CHART
89 GEO HEAT MAP
90 DASHBOARDS
91 PIVOT TABLES
92 SLICERS
93 PIVOT TABLES - COMBINING DATA FROM MULTIPLE SHEETS
94 PIVOT TABLES - CREATE REPORT FILTER PAGES
95 TABLE OF CONTENTS WITH MACRO
Disclaimer: Please note this workbook may not be distributed without the express written consent of Commerce Curv
COMMERCE CURVE
OFESSIONAL EXCEL TRAINING COURSE TABLE OF CONTENTS
WORKBOOK CATEGORY
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 1 NAVIGATION, FORMATTING
PART 2 FUNCTIONS
PART 2 FUNCTIONS
PART 2 FUNCTIONS
PART 2 FUNCTIONS
PART 2 FUNCTIONS
PART 2 FUNCTIONS
PART 2 FUNCTIONS
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 3 FORMULA
PART 4 CHARTS & GRAPHS
PART 4 CHARTS & GRAPHS
PART 4 CHARTS & GRAPHS
PART 4 CHARTS & GRAPHS
PART 4 CHARTS & GRAPHS
PART 4 CHARTS & GRAPHS
PART 4 CHARTS & GRAPHS
PART 4 CHARTS & GRAPHS
PART 4.1 CHARTS & GRAPHS
PART 5 PIVOT TABLES
PART 5 PIVOT TABLES
PART 5 PIVOT TABLES
PART 5 PIVOT TABLES
PART 6 MACROS
Formula Explanation
TEXT
Example:
The Financial Analyst exported data from the company's ERP database containing product description an
capital letters and the car dealer branch location was in lowercase format.
The Financial Analayst wants to cleanse the data for presentation purposes before meeting with managem
first letter and the product descriptions are supposed to be lowercase.
Solution:
Use the lowercase formula for the product descriptions and use the proper formula for the car dealer bra
extracted from the ERP system and drag down the formula.
Raw Data:
e capitalized.
e lowercase.
ize only the first letter and lowercase the rest of the word.
This formula only has one syntax: text. The process is to use either the Upper, Lower, or Proper formula and click on the cell
containing the text which you would like to modify.
a from the company's ERP database containing product description and cr dealer branch location. The product description raw data export
ranch location was in lowercase format.
anse the data for presentation purposes before meeting with management. The car dealer branch locations should have a capital
tions are supposed to be lowercase.
product descriptions and use the proper formula for the car dealer branch location. Setup these formulas to the right side fo the data
d drag down the formula.
TRANSP
Formula Explanation
ARRAY This syntax is used to reference the data to be transposed.
Example:
The Financial Analyst received data exported from the company's Salesforce database containing sales da
Sales Date
100 January 1, 2020
200 February 1, 2020
300 March 1, 2020
400 April 1, 2020
550 May 1, 2020
350 June 1, 2020
Sales 100
Date 2020-01-01
Month January
As an alternative, you can copy the data from the original table, and paste special values while clicking
are made to the original table.
TRANSPOSE FORMULA
database containing sales data by month. The data is in columnar format vertically but it is needed horizontally.
Month
January
February
March
April
May
June
special values while clicking the transpose checkbox. This works but will not automatically update the table if changes
350
2020-06-01
June
Copyright Commerce Curve www.commercecurve.com
SUMIF FORMULA
Formula Explanation
Range (required) The range of cells that you want evaluated by your criteria. The cells in each ra
contain numbers. Blank and text values are ignored. The selected range may c
Criteria (required) The criteria is the item you would like to look up in the range. It can be a numb
defines which cells will be added together in your SUMIF formula.
Sum_Range (optional) The actual cells to add, if you want to add cells other than those specified in th
Excel adds the cells that are specified in the range argument (the same cells to
Example:
The General Manager of a second-hand car dealership wants to know how much is its sales revenue is wi
The Financial Analyst is asked to find out. The Financial Analyst generates a report form the Sales Journal
The Financial Analyst uses the sumif formula to determine the sales figure.
Formula:
Here,
i. Range formula was used for referencing the branch location.
ii. Criteria formula was used for qualifying a certain branch location (e.g. California).
iii. Sum_range formula was used for calculating the sum of the Company's sales revenue.
Raw Data:
cells that you want evaluated by your criteria. The cells in each range must be numbers or names, arrays, or references that
bers. Blank and text values are ignored. The selected range may contain dates in standard Excel format.
the item you would like to look up in the range. It can be a number, expression, a cell reference, text, or a function that
h cells will be added together in your SUMIF formula.
lls to add, if you want to add cells other than those specified in the range argument. If the sum_range argument is omitted,
e cells that are specified in the range argument (the same cells to which the criteria is applied).
car dealership wants to know how much is its sales revenue is within California for the current year to date.
t. The Financial Analyst generates a report form the Sales Journal (below) which contains raw sales data by date of sale and location.
mula to determine the sales figure.
COUNTIF FORMULA
Formula Explanation
Range (required) The range of cells that you want evaluated by the criterion to perform the count
Criteria (required) This is the criteria in the form of a number, expression, a cell reference, text, or a
cells will be counted.
Example:
The General Manager of a second-hand car dealership wants to know how many cars were sold in Califor
The Finance Analyst generates from its Sales Journal (below) the raw data of its sales from the current yea
to calculate the car sales in California year-to-date.
Formula:
Branch Count
California 20
Here,
i. Range formula was used for referencing the branch location.
ii. Criteria formula was used for qualifying a certain branch location (e.g. California).
Raw Data:
California).
AVERAGEIF FORMULA
Formula Explanation
The range of cells which contain the criteria which you want to analyze. This rang
Range (required) contain numbers.
The criteria is used to lookup in the range and determine what is to be averaged
Criteria (required) reference, or text.
Average_range The actual set of cells to average.
Example:
The General Manager of a second-hand car dealership wants to know what is the average selling price of
The Financial Analyst generates from its Sales Journal the raw data of sales for the current year which con
The Financial Analyst can use the averageif function to achieve this number.
Formula:
Branch Average
California $ 12,538
Here,
i. Range formula was used for referencing the branch location column.
ii. Criteria formula was used for qualifying a certain branch location (e.g. California)
iii. Average_range formula was used for calculating the average car sale for the company.
Raw Data:
cells which contain the criteria which you want to analyze. This range can include numbers or names, arrays, or references that
bers.
s used to lookup in the range and determine what is to be averaged. It can be in the form of a number, expression, cell
text.
t of cells to average.
nd car dealership wants to know what is the average selling price of a car in the California branch for the current year.
its Sales Journal the raw data of sales for the current year which contains car dealer branch location and sales figures.
rageif function to achieve this number.
SUMIFS FORMULA
Formula Explanation
Sum_range (required) This is the range of cells which contain the numerical values t
Criteria_range1 (required) The range that is tested using Criteria1. Criteria_range1 and C
criteria_range1).
Once items in the range are found, their corresponding value
Criteria1 (required) The criteria that determines which cells in Criteria_range1 wil
Criteria_range2, criteria2, … (optional) This refers to additional ranges and their related criteria. You
Example:
The General Manager of a second-hand car dealership wants to know how much sales were made during
The Financial Analyst generates a Sales Journal (below) containing the raw data of car sales with product
The Financial Analyst can use the sumifs formula to summarize revenue by branch and product descriptio
Formula:
Here,
i. Sum_range formula was used for determining the branch's sales revenue.
ii. Criteria_range1 formula was used for determining the data range of a specific branch location.
iii. Criteria1 formula was used for determining a specific branch location.
iv. Criteria_range2 formula was used for determining the data range of what type of product description
v. Criteria2 formula was used for filtering the specified product description.
Raw Data:
is different from the sumif formula which only relies on one condition.
ow how much sales were made during the year for certain cars within certain branch locations.
the raw data of car sales with product code, product descriptions and dealer branch location.
enue by branch and product description for the General Manager.
COUNTIFS FORMULA
Formula Explanation
Criteria_range1 (required) The first range in which to evaluate the criteria set in criteria1
The criteria in the form of a number, expression, cell referenc
Criteria1 (required) the critieria1 range.
Criteria_range2, criteria2, … (optional) Additional ranges and their related criteria. You can enter up
Example:
The General Manager of a second-hand car dealership wants to know how many cars were sold for certai
The Financial Analyst generates a Sales Journal (below) containing the raw data of car sales with product
The Financial Analyst can use the countifs formula to summiarze the number of car sales by branch and p
Formula:
Alabama Sedan
California Sports Utility Vehicle (
Florida Hatchback
Washington Convertibles
Here,
i. Criteria_range1 formula was used for determining the data range of a specific branch location.
ii. Criteria1 formula was used for determining a specific branch location.
iii. Criteria_range2 formula was used for determining the data range of what type of product decription
iv. Criteria2 formula was used for filtering only the specified product description required.
Raw Data:
ants to know how many cars were sold for certain car models at specific locations during the year.
ontaining the raw data of car sales with product code, product descriptiona and dealer branch location.
miarze the number of car sales by branch and product description for the General Manager.
AVERAGEIFS FORMULA
Formula Explanation
Average_range (required) One or more cells to average, including numbers or names, a
Criteria_range1, criteria2, … (required) Criteria_range1 is required, subsequent criteria_ranges are op
Example:
The General Manager of a second-hand car dealership wants to know the average sales for a certain prod
The Finance Analyst generates from its Sales Journal the raw data of its sales from the current year.
Formula:
Branch Product Description
Alabama Sedan
California Sports Utility Vehicle (SUV)
Florida Hatchback
Washington Convertibles
Here,
i. Average_range formula was used for determining the branch's sales revenue.
ii. Criteria_Range1 formula was used for determining the data range of a specific branch location.
iii. Criteria1 formula was used for determining a specific branch location.
iv. Criteria_range2 formula was used for determining the data range of what type of product should be a
v. Criteria2 formula was used for filtering the specified product description.
Raw Data:
nt criteria are optional. 1 to 127 criteria in the form of a number, expression, cell reference, or text that
aged.
average sales for a certain product on each branches for the current year.
es from the current year.
SUMPRODU
The SUMPRODUCT formula returns the sum of the products of corresponding ranges. The default operat
was used more frequently in versions of Microsoft Excel prior to 2007 before the SUMIFS formula was int
Formula Explanation
Array1 (required) The first array argument whose components you want to
[array2], [array3],... (optional) Array arguments 2 to 255 whose components you want
Example #1
The General Manager of a second-hand car dealership wants to know the sales for a certain product at ea
The Financial Analyst is able to export from its Sales Journal (see below) the raw data with sale price, loca
The Financial Analyst can use the sumproduct formula to calculate the sales revenue by branch location a
Solution:
Branch Product Description
Raw Data:
Example #2
The General Manager of the second-hand car dealership wants to know the exact information as above b
but does not have the sales revenue per order (column H). How does the Financial Analyst calculate the s
Solution:
Branch Product Description
Example #3
The General Manager says job well done. However, he now sends you a file by email which contains prod
the breakdown of specific branch location and product sales for 2018. The sheet he sends is very long an
Solution:
We can't use the SUMIFS in this case because we don't have the sales revenue (unless we manually multip
SUMIFS won't handle if It we want to lookup the year 2018 within in it. Therefore, we must use the SUMP
Branch Product Description
Note: We used the lookup in the array for year in this example. Had the General Manager wanted us to a
formula = 1 instead of year = 2018.
Formula: =SUMPRODUCT((YEAR($C$76:$C$85)=2018)*(($F$76:$F
Result: 312.2
If you wanted to use month = January and year = 2018, this could be achieved with the following formula
Formula: =SUMPRODUCT((MONTH($C$76:$C$85)=1)*(YEAR($C$
Result: 312.2
Example #4
Let's look an example where a sales team is required to present on a weekly basis their deals closed and f
The Sales Operations Analyst is responsible for gathering the data from the Salesforce CRM software prio
for the quarter, committed deals for the quarter, and best case deals which will close in the quarter. Each
Closed/won is 100%, sales rep commit is considered 75% probability and best case is 25%. Based on thes
team meeting a probability weighted forecast sales number for the quarter.
Raw Data:
Probability Weight
Closed QTD 100%
Additional: Commit 75%
Additional: Best Case 25%
Solution #4:
Example #5:
The SUMPRODUCT formula is flexible to allow for multiple conditions to be applied when calculating the
is to match a condition that exists in the table header?
Let's assume that we are provided with the following table of product sales which now contains data for J
speedometers for January separately from February?
Options:
To summarize the sales quantity data with multiple conditions we would use the SUMIFS.
However, If we used the SUMIFS formula, it would require us to pick a specific column to sum e.g. Januar
With SUMPRODUCT, we can apply all of the above 3 conditions for year filter, product and spedometer a
This is achievable by embedding the INDEX and MATCH functions within SUMPRODUCT. To illustrate this
results we would like to return.
=SUMPRODUCT((YEAR($C$153:$C$162)=$C$177)*(($F$153:$F$162)*(INDEX($G$153:$H$162,,MATCH($F
Here we are inserting an INDEX MATCH array instead of selecting the specific unit sales column individua
decide in another area of the sheet or table which month we'd like to pull.
Let's summarize some of the formula we have learned, rank their flexibility, and when they are best used.
Formula Flexibility
SUMIFS Moderate
VLOOKUP or HLOOKUP with MATCH Low
DGET Low
SUMPRODUCT FORMULA
ding ranges. The default operation is multiplication, but addition, subtraction, and division are also possible. The SUMPRODUCT formula
ore the SUMIFS formula was introduced. However, it still has benefit in its flexibility compared to SUMIFS as we will see in this lesson.
sales for a certain product at each branch location for the current year.
he raw data with sale price, location, description and quantity sold.
es revenue by branch location and product description.
he exact information as above but the Financial Analyst has only the sales price and quantity sold for numerical metrics
Financial Analyst calculate the sales by branch and product description using sumproduct?
e by email which contains product sales over the past 2 years with some sales data and wants you to only give him
e sheet he sends is very long and below is a sample.
enue (unless we manually multiply the sales price and quantity in a separate column), and the date column is an array and
erefore, we must use the SUMPRODUCT formula if we want to avoid manual work.
Total number of sales for
each product description on
their respective branch
$ 312.20
$ 55.98
$ 308.00
$ 338.00
eneral Manager wanted us to analyze January, we could have used that instead of 2019 by inserting a month
$C$76:$C$85)=2018)*(($F$76:$F$85)*($G$76:$G$85))*($D$76:$D$85=D95)*($E$76:$E$85=C95))
kly basis their deals closed and forecast metrics for the quarter to date (QTD) to the VP Sales.
he Salesforce CRM software prior to the team meeting and summarizing the team's closed deals
h will close in the quarter. Each of the stages of sales pipeline are attributed a probability percentage
best case is 25%. Based on these metrics, the Sales Operations Analyst is required to bring to the
be applied when calculating the sum of a range and also calculating the SUMPRODUCT of a range. But what if one of the conditions
es which now contains data for January and February 2019. How can we summarize the product sales for Washington
lter, product and spedometer and multiply the sales price by the unit sales for the month we'd like to perform a lookup to.
SUMPRODUCT. To illustrate this, we can see the filters below and we have switched the placement of the February and January
DEX($G$153:$H$162,,MATCH($F$176,$G$152:$H$152,0)))*($D$153:$D$162=$D$177)*($E$153:$E$162=$E$177)))
cific unit sales column individualls (Janauary or February). This is more flexible because now that we have indexed it, we can
y, and when they are best used.
When to use
Calculating the sum of data in a column based on multiple columns of conditions
and 1 row condition (e.g. date). Also enables multiplication of columns based on
critieria met.
Calculating the sum of data in a column based on 1 column condition and 1 row
condition. Looks at range.
Sales Revenue
$ 100.0
$ 312.2
$ 30.0
$ 161.0
$ 338.0
$ 62.5
$ 21.2
$ 308.0
$ 56.0
$ 28.8
$ 1,664.0
$ 90.0
$ 4,928.0
$ 57.0
$ 805.0
$ 99.6
$ 1,100.0
$ 60.0
$ 241.5
$ 540.4
($E$37:$E$56=C65)*($F$37:$F$56*$G$37:$G$56))
D$76:$D$85=D102)*($E$76:$E$85=C102))
bility percentage
bring to the
*($E$153:$E$162=$E$177)))
Yes
Yes
No
No
Yes
Copyright Commerce Curve www.commercecurve.com
INDEX FOR
Formula Explanation
Array (required) -This is a range of cells.
-If the array contains only one row or column, the corresponding row_num
-If array has more than one row and more than one column, and only row_n
array of the entire row or column in array.
row_num (required) This selects the row in the array from which to return a value. If row_num is
column_num (optional) This selects the column in the array from which to return a value. If column_
Example:
The General Manager of a second-hand car dealership wants to know the quarterly sales of each branch
look it up with ease.
The Financial Analyst generates the Sales Report of the dealership's sales for the current year per below.
However the General Manager doesn't want to have to constantly sort through data. The General Manag
choose which quarter he would like to pull data from with corresponding data for the branch location an
The Financial Analyst is able to reference the quarterly sales by state using the index function and create
to create this financial model for the General Manager.
Solution
Drop Down Menus Setup for the General Manager:
Branch Location Washington
Fiscal Quarter Q3
Type of Vehicle Sedan
Result: $ 55,123.00
Sales Report:
Table 1
Sedan
Alabama California
Q1 $ 34,512.00 $ 62,616.00
Q2 $ 12,412.00 $ 2,326.00
Q3 $ 23,452.00 $ 2,342.00
Q4 $ 5,762.00 $ 34,523.00
SUV
Alabama California
Q1 $ 52,425.00 $ 62,616.00
Q2 $ 56,562.00 $ 85,200.00
Q3 $ 10,214.00 $ 66,335.00
Q4 $ 25,245.00 $ 58,234.00
Hatchback
Alabama California
Q1 $ 45,478.00 $ 54,565.00
Q2 $ 21,444.00 $ 44,455.00
Q3 $ 46,932.00 $ 50,415.00
Q4 $ 21,023.00 $ 20,000.00
Convertible
Alabama California
Q1 $ 12,500.00 $ 45,604.00
Q2 $ 78,540.00 $ 23,500.00
Q3 $ 23,452.00 $ 66,250.00
Q4 $ 46,500.00 $ 45,700.00
INDEX FORMULA
he quarterly sales of each branch for a particular quarter and wants to be able to
ng the index function and create 3 picklists (Quarter, Branch Location, Type of Vehicle)
=@INDEX((C57:F60,C64:F67,C71:F74,C78:F81),
(VLOOKUP(D31,$C$38:$D$41,2,FALSE)),
(VLOOKUP(D30,$E$38:$F$41,2,FALSE)),
(VLOOKUP($D$32,$G$38:$H$41,2,FALSE)))
Column 4
Florida Washington
$ 12,315.00 $ 72,345.00
$ 45,625.00 $ 15,123.00
$ 63,456.00 $ 55,123.00 Row 3
$ 23,423.00 $ 62,343.00
Florida Washington
$ 78,252.00 $ 69,888.00
$ 45,787.00 $ 85,522.00
$ 63,456.00 $ 45,725.00
$ 56,548.00 $ 10,500.00
Florida Washington
$ 45,220.00 $ 14,555.00
$ 98,522.00 $ 5,400.00
$ 11,200.00 $ 8,525.00
$ 12,300.00 $ 48,522.00
Florida Washington
$ 33,000.00 $ 80,500.00
$ 33,650.00 $ 65,800.00
$ 36,900.00 $ 9,500.00
$ 40,200.00 $ 12,460.00
Area Numer
1
2
3
4
t row, Alabama is the
Copyright Commerce Curve www.commercecurve.com
MATCH FORMULA
Formula Explanation
Lookup_value (required) The value that you want to search within the range i.e. the lookup_array.
Lookup_array (required) The range of cells being searched to find the lookup_value.
Match_type (optional) This is a number being -1, 0, or 1. The match_type argument specifies how E
lookup_array range. The default value for this argument is 1.
Example:
An inventory clerk of a shop keeps track of all purchases in the company's ERP with a serial code attached
The inventory clerk wants to know what sale # a particular item sold was on October 31, 2019 as the exte
inventory clerk to pull the receipt. The receipts are kept in a separate drawer depending on whether it wa
are two staff that work at the shop and they track their receipts separately. Therefore, figuring out wheth
important to be able to pull the receipt.
The Financial Analyst prepares a list of product purchases for October 31, 2019 in the below table as it wa
Using this data, the Financial Analyst wants to use an Excel function to determine what sale of the day the
for the auditor.
Solution:
Using the MATCH function, the Financial Analyst can take the serial code of the item being questioned by
what purchase it was and whether it would have been in the morning shift or afternoon shift. As per the b
the 8th purchase of the day. Based on shop experience, mornings are far more busy with purchasing than
to be part of the morning shift's purchases.
Raw Data:
October 31, 2019 in the below table as it was exported from the ERP system in order of time of sale.
nction to determine what sale of the day the item in question relates to so they can pull the receipt
e serial code of the item being questioned by the auditors and look it up in the table to determine
morning shift or afternoon shift. As per the below formula result, the serial code shows that it was
nings are far more busy with purchasing than the afternoons and therefore it is determined likely
Formula Explanation
This is the combination of 3 formula (SUMIF, INDEX, AND MATCH) each of which are described below.
The SUMIF formula uses conditional logic to calculate the sum of amounts in an array.
The INDEX formula performs a lookup of an array of data.
The MATCH formula performs a comparison of data to a selected cell to determine whether they are equal to eac
When used in combination, we can INDEX an array, find a MATCH of data and take the SUMIF depending on whe
SUMIF
Range (required) The range of cells that you want evaluated by criteria. Cells in each range must be n
ignored. The selected range may contain dates in standard Excel format.
Criteria (required) The criteria in the form of a number, expression, a cell reference, text, or a function
Sum_Range (optional) The actual cells to add, if you want to add cells other than those specified in the ran
in the range argument (the same cells to which the criteria is applied).
INDEX
MATCH
Lookup_value (required) The value that you want to match in lookup_array.
Lookup_array (required) The range of cells being searched.
Match_type (optional) The number -1, 0, or 1. The match_type argument specifies how Excel matches look
with values in lookup_array. The default value for this argument is 1.
Example:
An Analyst at Goldman Sachs is provided the below P&L for a company being analyzed for potential acquisition.
numbers only in a single table.
Solution
The Analyst can use the SUMIF with INDEX and Match to summarize the data into the below table by category an
you need to summarize the data contained in a table and you have unique headers in the columns and the rows contain duplicates
by criteria. Cells in each range must be numbers or names, arrays, or references that contain numbers. Blank and text values are
ates in standard Excel format.
sion, a cell reference, text, or a function that defines which cells will be added.
ells other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the cells that are specified
hich the criteria is applied).
he corresponding row_num or
being analyzed for potential acquisition. The Analyst is required to summarize the P&L by category and show the Q4 monthly
data into the below table by category and show the Q3 figures (from left to right in chronological order).
10/31/2019
265,225
53,045
212,180
91,768
424
530
119,457
nd the rows contain duplicates
6/30/2019 5/31/2019
119,405 122,987
95,524 98,390
83,584 86,091
298,513 307,468
59,703 61,494
238,810 245,975
27,463 28,287
59,703 61,494
10,746 11,069
2,388 2,460
1,194 1,230
1,194 1,230
597 615
358 369
119 123
239 246
358 369
134,450 138,484
Copyright Commerce Curve www.commercecurve.com
INDEX MATCH
Formula Explanation
This formula combines both the Index and Match formulas together in one equation.
Refer to the Index and Match tabs for independent explanations of those formula.
When using the Index and Match formula together, the Match formula is inserted where
The first part of the formula references the "array" which is the table upone which you a
Example:
The Investment Banking Analyst at a top Investment Bank in New York would like to calcu
the Bank is considering investing in. The Analyst received the number of sales made per s
Using this data the Analyst needs to estimate the monthly sales dollar amount by state.
Raw Data:
State January
New York NoAM East 1
California NoAM West 2
Texas NoAM West 3
Rhode Island NoAM East 4
Massachusetts NoAM East 5
Seattle NoAM West 6
Colorado NoAM West 7
Formula:
Below is a screenshot of the Index(Match) formula in action:
Screenshot:
In this formula, we reference the array (number of sales by month), and use the match f
and then multiply the result buy the average deal size for January. This formaul can then
by State and by month. Below is the result.
DGET
Formula Explanation
The DGET formula is a database lookup function which references an array, and returns
multiple criteria for the lookup.
Typical Use Cases
DGET is useful for quick lookups but not as flexible as INDEX(MATCH)
The benefit of this formula is mainly in cases where you need to perform a lookup using
is not appropriate since a vlookup only works with one criterion. Therefore, either you u
DGET is short and can be simple to use in many cases.
Example:
For instance, if you'd like to perform a quick lookup of data and only retreive a certain va
scenarios it also works well. Using the data above, assume we create 2 drop downs for S
We can achieve this easily using the DGET formula rather than INDEX(MATCH). A compa
DGET Limitations:
However, DGET becomes less flexible when you want to portray the data in a different f
For instance, let's rearrange the sales data by Segment, then by State, and then show th
Using the DGET formula, we are successful in retrieving the result for California in Janua
perform a lookup on the second row (Texas) as the formula now includes a range. There
datasets using formula.
Instead, we can easily rearrange the data as we had wanted to using the INDEX(MATCH)
t Bank in New York would like to calculate the total sales bookings by state for a company
ceived the number of sales made per state along with average deal size per month.
monthly sales dollar amount by state.
DGET
hich references an array, and returns a result (i.e. the field referenced), with the option of setting
as INDEX(MATCH)
e you need to perform a lookup using multiple criteria and a vlookup
one criterion. Therefore, either you use a SUMPRODUCT formula, INDEX(MATCH) or DGET.
p of data and only retreive a certain value, then it works well. If you want to toggle between different
assume we create 2 drop downs for State and month to be able to quickly reference sales data for the year.
rather than INDEX(MATCH). A comparison is below and they return the same result.
DGET INDEX(MATCH)
$756,748 $756,748
ou change these drop downs, DGET and INDEX(MATCH) above will return the same result for this example.
better than the other for this use case.
d wanted to using the INDEX(MATCH) formula below while creating match conditions for State and month.
TEXTJOIN FOR
Formula Explanation
Delimiter (required) The delimiter is the character that separates the text joined
Ignore_empty (required) There is an option as to whether you'd like to ignore empty
Text1 (required) The text syntax refers to the text cell that you'd like to join.
Example #1
When a car is sold, the Financial Analyst is supposed to create a receipt ID for the sale an
for the dealership. Receipt ID is supposed to be equal to the concatenation of the car br
these characteristics are supposed to be separated by a hyphen ("-").
Solution #1:
There are a couple of ways of achieving this as shown below. The TEXTJOIN method ach
The year formula is used to extract the year from the date of sale field.
On the other hand, a manual process could have also been used for creating the receipt
While this seems intuitive, it is not scalable. Let's presume you had another task where y
with a common delimiter for upload to a software or for record keeping. The TEXTJOIN f
once while the manual method of joining cells requires it to be performed manually betw
TEXTJOIN FORMULA:
MANUAL CONCATENATION:
Example #2:
A Financial Analyst wants to summarize which vehicle brands are sold by the dealership
that is automatically refreshed each time the ERP system's excel export is loaded into a w
is a sales ledger showing sales by sales rep with the fields populated with the vehicle typ
Solution #2:
First, we need a list of all potential cars available for sale in a column (see column A belo
Using the TEXTJOIN formula, we are able to make a list of the sales reps who have sold e
First, note that our delimiter is a comma followed by a space to separate the sales reps in
=TEXTJOIN(", ",TRUE,IF($D$59:$F$67=C89,$D$58:$F$58,""))
Next note, that we are ignoring empty cells by indicating "TRUE". The following part of t
and determines whether it contains the car type and if it does it returns the header name
a blank hence why we put "". You can see that there are no sales reps who have sold a Je
The final thing to note on this formula is that doing a lookup to another table like this w
when you are complete when formula, you must hold control + shift and then hit enter i
and see that they are arrays as they contain the { } brackets around it. Once you create th
hem. This is especially more efficient to use versus a manual method of concatenating
st need to concatenate them together with a common delimiter.
hat separates the text joined together. For instance, the cat could be separated as the-cat with a hyphen.
er you'd like to ignore empty cells or still join them.
xt cell that you'd like to join. There are the option of joining multiple cells.
te a receipt ID for the sale and input the Receipt ID into the ERP system
concatenation of the car brand, car model ID, and year of sale. Each of
. The TEXTJOIN method achieves the desired result with the hyphen as the delimiter.
used for creating the receipt ID by joining cells with &"-"& one at a time.
ou had another task where you needed to join hundreds of rows of data
ord keeping. The TEXTJOIN formula only requires the user to enter the delimiter
be performed manually between each and every cell.
=TEXTJOIN("-",TRUE,C37,YEAR(D37),E37)
=C41&"-"&YEAR(D41)&"-"&E41
s are sold by the dealership sales reps. The Analyst wants to have a table created
xcel export is loaded into a workbook. The excel report from the ERP system
opulated with the vehicle type.
GMC
Honda
Porsche
Volkswagen
column (see column A below). These are all the vehicle brands that the dealership sells.
e sales reps who have sold each fo these car brands.
e to separate the sales reps in our list we are making. You can make this whatever you'd like.
RUE". The following part of the formula is the most important which does a lookup to the source table
es it returns the header name of the table which is the sales rep. If ther is no match found, then it inserts
sales reps who have sold a Jeep and therefore the Jeep row in the below table is blank.
p to another table like this while using the TEXTJOIN formula requires the use of an array formula. Therefore,
ol + shift and then hit enter in order for the formula to work. You can click on one of the formula below
around it. Once you create the formula once, you can drag it down (see sales reps column below).
(require
Copyright Commerce Curve www.commercecurve.com
Formula Explanation
Number1… (required) Number range in which you want to find the maximum, minimum or median va
Example:
The General Manager of a second-hand car dealership wants to know the largest, smallest and median sa
The Finance Analyst generates from its Sales Journal the raw data of the dealership's sales for the current
the calculation.
Solution:
The results are summarized below. Note that if you wanted to apply conditions to the max and min form
which are part of the next lesson.
Function Amount
MAX $ 19,000
MIN $ 1,250
MEDIAN $ 11,215
Here,
i. MAX(number) formula was used to set a range of data on sales revenue field to determine the
ii. MIN(number) formula was used to set a range of data on sales revenue field to determine the
iii. MEDIAN(number) formula was used to set a range of data on sales revenue field to determine the
Raw Data:
values in a field based on the specified aggregation or grouping. The MEDIAN is the
dealership's sales for the current year and uses the MIN, MAX AND MEDIAN formula to perform
itions to the max and min formula, you would need to use the MINIFS and MAXIFS formula
Formula Explanation
Max_range or Min_range The range where we are searching for the minimum or maximum value.
Criteria_range1 The range of the criteria where we want to search for the result.
Criteria1
The item we are looking for in the criteria range which meets the minim
Both the MINIFS and MAXIFS formula are the same structurally:
Example #1:
The Financial Analyst at a car dealership wants to know the smallest and largest sales were by Branch loca
Solution #1:
Using the MINIFS and MAXIFS formula, the Analyst can perform a lookup against the sales revenue colum
brach location.
In this example, the min and max ranges are the sales revenue column, the critieria range is the car deale
depending on the branch being looked up. For instance for the first formula, the Washington branch is th
branch is the criteria, and so on.
Branch MINIFS
Washington $ 57.00
Alabama $ 28.80
California $ 7.00
Florida $ 21.20
Example #2:
Next, the Financial Analyst wants to know what the smallest and largest sale by branch location for the sp
must be met in order to return a result of min or max value.
Solution #2:
Using the MINIFS and MAXIFS formula, the Analyst can perform a lookup against the sales revenue colum
brach location and product description.
In this example, the min and max ranges are the sales revenue column, the critieria 1 range is the car dea
depending on the branch being looked up. For instance for the first formula, the Washington branch is th
branch is the criteria, and so on. The criteria 2 range is the product description and the criteria 2 is speed
analysis on.
Raw Data:
st sales were by Branch location. The sales ledger is below under raw data.
inst the sales revenue column of the sales ledger, and apply the criteria for
tieria range is the car dealer branches column, and the criteria varies
he Washington branch is the crtieria, for the second instance, the Alabama
MAXIFS
$ 4,928.00
$ 1,664.00
$ 1,100.00
$ 460.00
inst the sales revenue column of the sales ledger, and apply the criteria for
tieria 1 range is the car dealer branches column, and the criteria 1 varies
he Washington branch is the crtieria, for the second instance, the Alabama
n and the criteria 2 is speedometer since that is the item we want to perform
MAXIFS
$ 100.00
$ -
$ 1,100.00
$ 460.00
IF FORMULA
Formula Explanation
Logical_test (required) The condition you want to test the logic of.
Value_if_true (required) The value that you want returned if the result of logical_test is TRUE.
Value_if_false (optional) The value that you want returned if the result of logical_test is FALSE.
Example:
The General Manager of a second-hand car dealership has a bidding on its cars and he wants to know if
bidders price or reject it. The General Manager doesn't want to accept any bids lower than the floor price
The Finance Analyst generates from its Bidding Summary the raw data of its floor price versus bid price a
against floor price to determine if it meets the minimum threshold to accept the bid.
Solution:
Using the IF formula, the Analyst determines whether the bid price exceeds the floor price. If the bid price
floor price, the Financial Analyst marks the decision in the decision column as "Accept Offer." If the bid pr
the Financial Analyst marks the decision in the decision column as "Reject Bid."
Decision
Reject Bid
Here,
i. Logical_test formula was used to set a condition that if the floor price exceeds the bid price or vice ver
ii. Value_if_true formula was used to set a decision as "Reject Offer" if bid price is lower than floor price.
iii. Value_if_false formula was used to set a decision as "Accept Offer" if bid price is higher than floor pric
data of its floor price versus bid price and is told to compare
d to accept the bid.
e exceeds the floor price. If the bid price is higher than the
n column as "Accept Offer." If the bid price is lower than the floor prie,
"Reject Bid."
r price exceeds the bid price or vice versa it will result a decision.
er" if bid price is lower than floor price.
ffer" if bid price is higher than floor price.
IF (AND) FORMULA
Formula Explanation
Logical_test (required) The condition you want to test.
Value_if_true (required) The value that you want returned if the result of logical_test is TRUE.
Value_if_false (optional) The value that you want returned if the result of logical_test is FALSE.
Example:
The General Manager of a second-hand car dealership wants to know which salesperson met the Compa
The sales goal is used to determine which salespersons are eligible for the company bonus of 5%. The sal
criteria which need to be met. The two criteria are:
a) Units sold during the month must exceed 6 cars.
b) Total sales $ must be greater than $10k for the month.
The Finance Analyst produces a sales report from the ERP system with sales by salesperson for the curren
provides details on the number of sales made and total sales dollars.
Solution:
Based on the below analysis, only Erika and Josephine have meet the two criteria and is eligible for the 5%
Inputs
Criteria Amount
Sales Goal $ 10,000
Minimum Cars Sold 6
Commission % 4%
Bonus % 5%
Raw Data:
Here,
i. Logical_test (AND) formula was used to set a condition that BOTH criterias should be met
ii. Value_if_true formula was used to calculate the "Bonus" if two criterias was satisfied.
iii. Value_if_false formula was used to set the cell as "0" (Zero) if any or both of the criteria was not satisfi
ND) FORMULA
ween two values by testing for a condition and returning the result based
e AND function, one of the logical functions, in combination with the IF
eturn the value TRUE or FALSE accordingly.
with sales by salesperson for the current month and the report
the two criteria and is eligible for the 5% month end bonus.
Commission Bonus
$ 480 $ 600
$ 260 $ -
$ 396 $ -
$ 640 $ -
$ 840 $ 1,050
$ 440 $ -
IF (OR) FORMULA
Formula Explanation
Logical_test (required) The condition you want to test.
Value_if_true (required) The value that you want returned if the result of logical_test is TRUE.
Value_if_false (optional) The value that you want returned if the result of logical_test is FALSE.
Example:
The General Manager of a second-hand car dealership wants to know which salespersons met any of the
salespersons meet at least one sales target, they are eligible for the month end bonus.
The two critieria are:
a) Units sold during the month must exceed 6 cars.
b) Total sales $ must be greater than $10k for the month.
The Finance Analyst produces a sales report from the ERP system with sales by salesperson for the curren
provides details on the number of sales made and total sales dollars.
Solution:
Based on the below analysis, both Erika and Evan have met at least one of the two sales performance crit
Erika has sold over $10k of cars and 8 units while Evan has only sold $6.5k of cars but has met the minimu
Salesperson Bonus
Erika Salazar $ 600.00
Evan Alex $ 325.00
Inputs:
Criteria Amount
Sales Goal $ 10,000
Minimum Cars Sold 6
Commission % 4%
Bonus % 5%
Raw Data:
Here,
i. Logical_test (OR) formula was used to set a condition that ANY of the criterias should be met before a
ii. Value_if_true formula was used to calculate the "Bonus" if any of the criterias was satisfied.
iii. Value_if_false formula was used to set the cell as "0" (Zero) if both of the criteria was not satisfied.
IF (OR) FORMULA
ween two values by testing for a condition and returning the result based on whether that
e of the logical functions, in combination with the IF function to determine if any conditions
with sales by salesperson for the current month and the report
st one of the two sales performance criteria. Therefore, they are both eligible for the month end bonus.
old $6.5k of cars but has met the minimum number of cars sold quota of 6 by selling 7 during the month.
Commission Bonus
$ 480 $ 600
$ 260 $ 325
$ 396 $ -
$ 360 $ -
$ 380 $ -
$ 160 $ -
ABS FORMULA
Formula Explanation
Number1… (required) The cell containing the number which you want to perform the ab
Example:
The General Manager of a second-hand car dealership wants to remove the negative sign in its trial balan
The trial balance, located below, shows all of the liability accounts with negative signs/ brackets.
Solution:
In order to remove the negative bracket sign, the General Manager just needs to use the absolute formul
Here,
i. ABS(number) formula was used to removed any negative signs from the Company's Trial Balance.
TRIAL BALANCE
Account Code Account Name
2105 ACCOUNTS PAYABLE-TRADE
ACCOUNTS PAYABLE-TRADE
2130 ACCRUED EXPENSES
ACCRUED EXPENSES
2110 WITHHOLDING TAX PAYABLES
2111 CREDITABLE WITHHOLDING TAX (SUPPLIER)
2112 EXPANDED WITHHOLDING TAX PAYABLES
2113 ROYALTY TAX PAYABLE
2114A MINIMUM CORPORATE INCOME TAX PAYABLE
2115 OUTPUT TAX PAYABLE
2120 SSS, MEDICARE AND ECC PAYABLES
2121 PAG-IBIG/HDMF PAYABLE
2123 SSS LOAN PAYABLE
2124 HDMF LOAN PAYABLE
PAYABLE TO REGULATORY AGENCY
2109 ACCOUNTS PAYABLE-OTHERS
2145 DUE TO OFFICERS AND EMPLOYEES
2150.2 DUE TO/FROM MEPEO-EMC
2126 CAR LOAN PAYABLE
2155 ADVANCES FROM BUYERS
OTHER PAYABLES
TRADE AND OTHER PAYABLES
ABS FORMULA
Absolute Value
$ 295,379,647
Formula Explanation
Number (required) The number that you want to round.
Num_digits (required) The number of digits to which you want to round the number.
Example #1:
The University of Waterloo is reviewing student admissions into it's undergraduate program based on hig
for students who had applied. Their IT system does not accept decimals. They would like to round the gra
Additionally, the School Board is contemplating changing its policy to round down or round up the grade
the average will be affected overall if they change the policy.
Solution #1:
Using the round, roundup, and rounddown formula, the Analyst at the University can calculate the round
database of average grades as the source. The results are below.
Table
Here,
i. Round formula was used to make a number with decimal simple by rounding it to the nearest ten.
ii. Roundup formula was used to make a number with decimal point higher or equal to .5 to be rounded
ii. Rounddown formula was used to make a number with decimal point lower or equal to .4 to be rounde
Example #2:
The Data Scientist at Google is often analyzing cost per click data and conversion rates across the world.
often needs to round decimals to the nearest 1 decimal point, 2 decimal points, nearest hundred or thou
helpful if there was a cheat sheet of rounding formula in excel to reference to in order to complete this ta
Solution:
The Data Scientist created the below cheat sheet as a reference on the rounding formula.
Formula Explanation
Rate The discount rate to be used in the calculation to discount future cash flo
Value The amount of cash flows that will be returned by the investment
Example:
An investment firm is contemplating investing in a high tech company with its capital of $120,000. Profi
It wants a return of 1% per month and therefore this should be used as the discount rate. What is the N
Discount Rate 1%
Solution
The Analyst at the investment firm calculates NPV as follows:
NPV Calculation $161,377
Another way to calculate this manually, one month at a time to break down the future cash flows, is to
takes the future cash flow of the specific month and discounts it by the discount rate of 1% for month o
The sum of the discounted future cash flows is $281,377. The initial investment was $120,000. Therefor
NPV 161,377
Let's illustrate how discounting works so that it's clear how to determine the present value of future ca
expected each month, then the value of money received in month 2 is not as valuable as money receive
valuable as the money received in month 1 through 11. The present value of the 1% in month 0 is 1% b
it is worth 0.89%. We can see the effect this has on the future cash flows per month below.
1 1%
2 1%
3 1%
4 1%
5 1%
6 1%
7 1%
8 1%
9 1%
10 1%
11 1%
12 1%
Total
NET PRESENT VALUE (NPV) FORMULA
estment and thereby how much money it will return over the term for decision making purposes.
scount rate) ) + ( (cash inflow year 2) / (1 + discount rate) )…etc, depending on number of years of future cash inflows
company with its capital of $120,000. Profits for the next five years are expected to be the below amounts.
be used as the discount rate. What is the NPV?
Rate
Undiscounted future cash flows
Initial investment
=NPV(D24,D27:D38)+D41
to break down the future cash flows, is to discount each month individually as follows. The below table
ts it by the discount rate of 1% for month one. A discount rate of 1% is then applied twice to the second month.
e initial investment was $120,000. Therefore, NPV is $161.377.
=NPV!D23/(1+$D$20)^C47
o determine the present value of future cash flows. If each period has a discount rate of 1%, i.e. a 1% return is
month 2 is not as valuable as money received in month 1. Similarly, money received in month 12 is not as
present value of the 1% in month 0 is 1% but in month 1 it is 0.99%, month 2 it is 0.98% and month 12
e cash flows per month below.
Present Value
Present Value % Present value of 1%
$
99% 0.99% $24,752.48
98% 0.98% $24,507.40
97% 0.97% $24,264.75
96% 0.96% $24,024.51
95% 0.95% $23,786.64
94% 0.94% $23,551.13
93% 0.93% $23,317.95
92% 0.92% $23,087.08
91% 0.91% $22,858.50
91% 0.91% $22,632.17
90% 0.90% $22,408.09
89% 0.89% $22,186.23
$281,376.94
e cash inflows
Copyright Commerce Curve www.commercecurve.com
Formula Explanation
Rate In the IRR calculation, the discount rate is not known and is a variable that is bei
Value The amount of cash flows that will be returned by the investment
The IRR formula is similar to the NPV formula except the NPV is replaced with zero and the rate of return is an u
0 = - (initial cash outflow) + (sum of discounted future cash flows)
0 = - (initial cash outflow) + ( (cash inflow year 1) / (1 + discount rate) ) + ( (cash inflow year 2) / (1 + discount ra
Note:
- In the case of calculating the NPV, the discount rate is known as it is considered the expected rate of return on
- Conversely, in the case of calculating the IRR, the discount rate to make NPV zero is not initially known. That is
we can then compare the IRR % to the NPV discount rate %. If it is higher than the acceptable rate of return, th
- 'If a project is undertaken, and the IRR is equal to the company's cost of capital (acceptable discount rate), it m
of capital and no accretion is given to shareholder value. Therefore, IRR must be higher than the cost of capital i
For example, if a company's weighted average cost of capital is 8% and the IRR is 7%, the project showing a pot
company more money through its debt and equity financing than it would yield beneift.
IRR can be calculated in Excel using the XIRR formula. XIRR is more accurate than the IRR function in Excel. IRR i
Example #1:
Assume upfront investment on a project is $100 and the return in year 1 is $120. The company's cost of capital i
Solution #1:
NPV: IRR (Manual Calculation) IRR Excel Calculation
NPV = -(100) + (120/(1+8%)) 0 = -(100) + (120/(1+R%)) Date
11.11 100 = 120/(1+R%) 1-Jan-19
100/120 = 1/(1+R%) 1-Jan-20
0.833 = 1/1+R% IRR:
0.833(1 + R%) = 1
1 + R% = 1/0.83
R% = 1/0.833 - 1
R% = 0.20 or 20%
Therefore, since the IRR is 20% and the company's cost of capital is 8%, they should pursue this project.
Example 2:
The upfront investment on a project is $120k. The company's weighted average cost of capital is 8%. The timin
company accept the project?
Solution #2:
Amount of Undiscounted
Month
Future Cash Flows
2020/01/01 (120,000) Upfront Cost
2021/01/01 10,000 Cash inflow
2022/01/01 10,000 Cash inflow
2023/01/01 10,000 Cash inflow
2024/01/01 15,000 Cash inflow
2025/01/01 15,000 Cash inflow
2026/01/01 15,000 Cash inflow
2027/01/01 18,000 Cash inflow
2028/01/01 18,000 Cash inflow
2029/01/01 18,000 Cash inflow
2030/01/01 24,000 Cash inflow
2031/01/01 24,000 Cash inflow
2032/01/01 24,000 Cash inflow
Total 201,000 Total cash inflow
Therefore, the IRR of 7.53% is less than the discount rate of 8% and the project should not be pursured. The N
future cash flows.
Example #3:
Applebranch & Co. made two investments named Zebra and Xacto. Owners of the company want to find out t
The cash flows along with dates of returns are given below:
Solution #3:
XIRR (for investment 1) 16.57%
XIRR (for investment 2) 1.26%
Example #4:
A company is considering two mutually exclusive investment options, Option A and Option B. The cash flows f
Which option (A or B) will be preferred by using IRR as the basis of decision making?
Solution #4:
Where,
A is the (lower) rate of return with a positive NPV
B is the (higher) rate of return with a negative NPV
P is the value of the positive NPV
N is the absolute value of the negative NPV
Step 1: Finding two NPV (a negative value that is close to zero and a positive value that is close to zero) by usin
Step 2: Calculating the IRR by using above formula with NPVs and discount rate.
For Option A
Here, the total receipts are 14,000 (6,000+5,000+3,000) giving a total profit of 3,800 and average profit of 1,26
(opening + closing / 2) is $5,100. The average return is $1,267/$5,100= 25%. We can take two third of ARR for
approximately 17%.
0 (10,200) 1.00
1 6,000 0.85
2 5,000 0.73
3 3,000 0.62
NPV
The IRR must be less than 22%, but higher than 17%.
Here, IRR= 20%
Formula: {17%+(454/(454+271))*(22%-17%)}
For Option B
Here, the total receipts are $48,000 (18,000+15,000+15,000) giving a total profit of $12,750 and average profi
$16,000. The ARR is $4,250/$16,000= 27%. We can take two third of ARR for the initial estimate of the IRR tha
0 (35,250) 1
1 18,000 1
2 15,000 1
3 15,000 1
NPV
The IRR must be less than 18%, but higher than17%.
Here, IRR= 18%
Formula: {17%+(458/(458+94))*(18%-17%)}
Example #5:
Hazzard Group is considering a proposal to purchase and install a new machine at a cost of $50,000. The mach
The company's tax rate is 35%. Assume the company uses straight line depreciation and the same is allowed fo
before tax from the investment proposal are as follows:
Year 1 2
Cash flows $ 10,000 $ 10,692
Depreciation $ 8,000 $ 8,000
The Company's weighted average cost of capital is 6%. The Company would like to make an investment decisio
Solution #5:
Calculation of profit after tax:
1 10,000 8,000
2 10,692 8,000
3 12,769 8,000
4 13,462 8,000
5 20,385 8,000
1/1/2017 (50,000) -
1/8/2017 - 7,000
1/15/2017 450 8,000
1/22/2017 1,800 8,000
1/29/2017 2,250 8,000
2/5/2017 6,750 8,000
IRR
Therefore, The proposal should be accepted as the IRR at 8% is higher than Company weighted average cost o
INTERNAL RATE OF RETURN (IRR)
u calculate the IRR and it is greater than your expected rate of return (discount rate) then you should
wth potential.
) + ( (cash inflow year 2) / (1 + discount rate) )…etc, depending on number of years of future cash inflows
with zero and the rate of return is an unknown and replaced with the "IRR" variable to find. Therefore:
( (cash inflow year 2) / (1 + discount rate) )…etc, depending on number of years of future cash inflows
s $120. The company's cost of capital is 8%. What is the NPV and IRR?
Cash flow
-100
120
20%
average cost of capital is 8%. The timing of future cash flows is in the below table. Should the
project should not be pursured. The NPV is negative even though it yields positive total undiscounted
ners of the company want to find out that which investment provided them more return.
Investment 2 - Xacto Xacto Discounted
ption A and Option B. The cash flows for each are as follows:
Option B
(35,250)
18,000
15,000
15,000
ion making?
Discount Factor
Present value Present value
(22%)
(10,200) 1.00 (10,200)
5,128 0.82 4,918
3,653 0.67 3,359
1,873 0.55 1,652
454 NPV (271)
tal profit of $12,750 and average profit of $4,250. The average investment is
R for the initial estimate of the IRR that will be approximately 18%.
Discount factor
Present value Present value
(18%)
(35,250) 1.00 (35,250)
15,385 0.85 15,254
10,958 0.72 10,773
9,366 0.61 9,129
458 NPV (94)
Option B
(35,250)
18,000
15,000
15,000
18%
Option B.
machine at a cost of $50,000. The machine has life expectancy of five years and no salvage value.
epreciation and the same is allowed for tax purposes. The estimated profit before depreciation and
3 4 5
$ 12,769 $ 13,462 $ 20,385
$ 8,000 $ 8,000 $ 8,000
(50,000)
7,000
8,450
9,800
10,250
14,750
8%
Example
An example of this conflicting situation is given below.
When a company faces this type of situation, they should choose the project that has the higher NPV. T
reinvestment assumption. In other words, there is an assumption in our calculation that the cash flows
used in the calculation. For NPV, the implicit reinvestment rate assumption is 10%. However, in IRR, the
or 25% between the two investments. The reinvestment rate of 29% or 25% in IRR is high and unrealisti
the NPV results superior than the IRR results. In this example, project 2 should be chosen.
RATE OF RETURN (IRR)
accept or rejection of the project. However, the NPV and IRR may provide
nce, one may show a higher NPV while the other has a higher IRR and vice versa.
e two projects.
Cash flows
(Project 2)
(50,000)
-
-
-
-
150,000
39,217
25%
he project that has the higher NPV. This is because there is an inherent
n our calculation that the cash flows will be reinvested at the same discount rate
umption is 10%. However, in IRR, the implicit reinvestment rate assumption is 29%
% or 25% in IRR is high and unrealistic when we compare it to the NPV. This makes
ect 2 should be chosen.
Copyright Commerce Curve www.commercecurve.com
PMT FORMULA
Formula Explanation
Rate (required) The interest rate for the loan.
Nper (required) The total number of payments for the loan.
Pv (required) The present value, or the total amount that a series of future
Fv (optional) The future value, or a cash balance you want to attain after th
be 0 (zero), that is, the future value of a loan is 0.
Type (optional) The number 0 (zero) or 1 and indicates when payments are du
(one) for "at the beginning of the period"
Formula:
Example:
On January 1, 2020 Jupiter Company bought equipment through loan for $1,000,000. The Loan has differ
rates differ depending on the option selected. The loan financing company needs to provide the monthly
borrower.
Formula Option A
Loan Amount pv $ 1,000,000
Annual Interest Rate 5.00%
Payments per Year 12
Interest Rate per Period Rate 0.42%
Number of Years 6
Total Payments nper 72
Contribute @ Beginning
(1) or End (0) of the Period Type 1
Solution:
The below table provides insight into the monthly, annual, and total payment requirements while taking
interest. The payment formula is used to calculate the payments made monthly based on the interest rate
or the loan.
of payments for the loan.
, or the total amount that a series of future payments is worth now; also known as the principal.
or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to
s, the future value of a loan is 0.
ro) or 1 and indicates when payments are due. 0 (zero) for when "at the end of the period" and 1
beginning of the period"
ugh loan for $1,000,000. The Loan has different options available as per the below table. Interest
cing company needs to provide the monthly, annual, and total payment information to the
Option B Option C
$ 1,000,000 $ 1,000,000
5.00% 10.00%
12 12
0.42% 0.83%
6 20
72 240
0 1
nd total payment requirements while taking into consideration the paydown of principal and
nts made monthly based on the interest rate, loan amount, and number of periods.
$ 16,104.93 $ 9,570.46
$ 193,259.19 $ 114,845.55
$ 1,159,555.15 $ 2,296,911.02
$ 159,555.15 $ 1,296,911.02
26,592.53 64,845.55
Copyright Commerce Curve www.commercecurve.com
PPMT FORMULA
Formula Explanation
Rate (required) This is the interest rate per period
Per (required) The period for which you want to find the principal and must be in the range 1 to
Nper (required) The total number of payment periods in the annuity.
Pv (required) The present value is the amount the amount that the sum of the future payments
Fv (optional) The future value, or a cash balance you want to attain, after the last payment is ma
Type (optional) The number 0 (zero) or 1 and indicates when payments are due. 0 (zero) for when
period"
Example:
On January 1, 2020 FlexCo acquired equipment through a loan for $1,000,000. The loan is payable depending
varies by option from 5% to 10%. The individual applying for the loan would like to understand what the princ
Formula
Loan Amount pv
Annual Interest Rate
Payments per Year
Interest Rate per Period Rate
Number of Years
Total Payments nper
Contribute @ Beginning
or End of the Year Type
Solution:
The PPMT formula can be used to calculate the principal payment due under each of the loan options. In our s
What Period?
Monthly Principal Payments
PPMT FORMULA
ayment of a given period for an investment or loan based on periodic, constant payments and a constant interest rate.
ent through a loan for $1,000,000. The loan is payable depending on the options selected below. The rate of interest
ual applying for the loan would like to understand what the principal payment looks like under each of the options.
Option A Option B
$ 1,000,000 $ 1,000,000
5.00% 8.00%
12 12
0.42% 0.67%
6 12
72 144
1 0
he principal payment due under each of the loan options. In our solution we use the 12th month as the example period.
is assumed to be 0
riod" and 1 (one) for "at the beginning of the
Option C
$ 1,000,000
10.00%
12
0.83%
20
240
Formula Review:
PMT Formula: Calculates the payment for a loan based on constant payments and a constant interest ra
IPMT Formula: The IPMT formula returns the interest payment for a given period for an investment base
a constant interest rate.
PPMT Formula: The PPMT function calculates the principal payment of a given period for an investment
a constant interest rate.
Example:
On January 1, 2020 Flexco purchased equipment through loan for $1,000,000 which is payable under a fe
vary between 5% and 10%. The loan applicant has decided that they would like to pursue the loan arrang
table.
Formula
Loan Amount pv
Annual Interest Rate
Payments per Year
Interest Rate per Period Rate
Number of Years
Total Payments nper
Contribute @ Beginning or End of the
Year Type
Solution:
What Period?
Monthly Payment
Payment Applicable to Interest
Payment Applicable to Principal
Using the PMT, IPMT and PPMT formula in excel, we can create the amortization table below for loan opt
the interest, and PMT calculates the blended payment.
payment of a given period for an investment or loan based on periodic, constant payments and
an for $1,000,000 which is payable under a few options. The loan options have interest rates which
hat they would like to pursue the loan arrangement under option A and asks for the amortization
1 0 0
12 11 5
$ 16,038.11 $ 10,824.53 $ 9,650.22
$ 3,592.98 $ 6,381.01 $ 8,288.89
$ 12,445.12 $ 4,443.52 $ 1,361.33
ate the amortization table below for loan option A. PPMT calculates the principal, IPMT calculates
IPMT FORMULA
Formula Explanation
Rate (required) The interest rate per period
Per (required) The period number for which you want to find the interest.
Nper (required) The total number of payment periods in the annuity.
The present value, or the lump-sum amount that a series of future payments is w
Pv (required) the loan amount.
Fv (optional) The future value, or a cash balance after the last payment is made. If fv is omitted
Type (optional) The number 0 (zero) or 1 and indicates when payments are due. 0 (zero) for whe
and 1 (one) for "at the beginning of the period"
Example:
On January 1, 2020 Davidson and Co. acquired equipment through loan for $1,000,000 payable. The loan
available (A,B,C below) which vary in interest rate (5% to 10%) and length.
Davidson & Co. would like to know what the interest payment would be in the 12th month of the first ye
Solution:
We can use the IPMT formula to determine the amount of interest payment in the 12th month under eac
What Period? 12 12
Monthly Interest Payments $ 3,592.98 $ 6,351.39
ent based on periodic, constant payments and a
Option C
$ 1,000,000
10.00%
12
0.83%
20
240
12
$ 8,207.46
Copyright Commerce Curve www.commercecurve.com
EFFECT FORMULA
Formula Explanation
Nominal_rate (required) The nominal interest rate.
Npery (required) The number of compounding periods per year.
Formula:
Excel
Example:
On January 1, 2020 Davidson & Co. acquired equipment through loan for $1,000,000 payable. The loan c
the options selected December 31 of each year with a market rate of interest betweeen 8% - 12%. Determ
Scenario 1
Nominal Rate 8.00%
Periods per Year 2
Rate per Period 4.000%
Solution:
In this example, the effective interest rate is calculated using the nominal rate of 0.667% for scenario 1 (si
12 periods. We can calculate the effective interest rate manually and through the Excel formula to arrive a
the nominal interest rate due to compounding. We can similarly calculate the effective annual interest ra
nal annual interest rate and the number of compounding periods per year.
s earned or paid over the life of an investment. It differs from nominal interest rate
he nominal interest rate does not. Therefore effective interest rate is higher than the
nterest rate.
f compounding periods per year.
Manual Calculation
through loan for $1,000,000 payable. The loan characteristics differ depending on
rket rate of interest betweeen 8% - 12%. Determine the effective interest rate.
Scenario 2 Scenario 3
10.00% 12.00%
12 12
0.833% 1.000%
ng the nominal rate of 0.667% for scenario 1 (since interest is paid monthly) and there are
anually and through the Excel formula to arrive at the same result below. It's higher than
imilarly calculate the effective annual interest rate under scenarios 2 and 3.
10.47% 0.127
Same Result!
10.47% 0.127
Copyright Commerce Curve www.commercecurve.com
DB FORMULA
Formula Explanation
Cost (required) The historical cost of the asset.
Salvage (required) The value of the asset at the end of the depreciation period (salvage value of the
Life (required) The number of periods over which the asset is being depreciated (i.e. this is the u
asset).
Period (required) The period for which you want to calculate the depreciation. Period must use the
life. E.g. if you use years for life, you should use years for period.
Month (optional) The number of months in the first year. If month is omitted, it is assumed to be 1
Example:
Johnson & Co. purchases 3 pieces of equipment for its business at the cost, useful life, and salvage values
Calculate the depreciation per year using the DB formula in Excel.
Scenario 1 Scenario 2
Cost $ 2,500,000 $ 1,100,000
Salvage 50,000 220,000
Life 8 5
Solution:
Using the DB formula in excel, we can calculate the amount of depreciation per year for each of the 3 sce
declining balance method.
Scenario 3
$ 500,000
10,000
3
Depreciation
$ 364,500
$ 98,780
$ 26,769
$ -
$ -
$ -
$ -
$ -
$ 490,049
$ 9,951
$ 49
Copyright Commerce Curve www.commercecurve.com
RATE FORMULA
Formula Explanation
Nper (required) The total number of payment periods in an annuity.
Pmt (required) The payment made each period and cannot change over the life of the
but no other fees or taxes.
Pv (required) The present value is the total amount that a series of future payments is
Fv (optional) The future value is the value of the annuity after the last payment is ma
(zero), that is, the future value of a loan is 0.
Type (optional) The number 0 (zero) or 1 and indicates when payments are due. 0 (zero
(one) for "the beginning of the period"
Example #1:
A company is considering taking a loan to finance working capital. Three options are avaiable to them as
the loan amount, payments per month, and number of payments vary between the loans. The company w
facts and wants to know what the interest rate is, both monthly and annually, under each loan scenario. P
Loan Amount Pv
Payment amount per month Pmt
Years of Loan
Payments per year
Total Payments Nper
Solution #1:
Monthly Interest Rate RATE
Annual Interest Rate RATE
In the scenario above, RATE formula was used to calculate the interest rate of the loan using the loan am
per year inputs.
Example #2:
The CFO of a tech company regularly has monthly profits of $20,000 available to invest. The CFO wants to
What rate of interest is required for an investment to hit this goal if profits are invested at the end of each
Solution #2:
The monthly interest rate required is calculated as:
Monthly interest rate:
RATE FORMULA
period of an annuity.
capital. Three options are avaiable to them as noted in the below table. However,
ments vary between the loans. The company would like to make a decision with all the
thly and annually, under each loan scenario. Payments are made at the end of the period.
the interest rate of the loan using the loan amount, payments per month and payments
f $20,000 available to invest. The CFO wants to save 500,000 over a 18 month period.
s goal if profits are invested at the end of each month?
=RATE(18,-20000, 0, 500000, 0)
3.7%
360,000.00
Copyright Commerce Curve www.commercecurve.com
PV FORMULA
The PV formula is used to calculates the present value of a loan or an investment based on a constant int
Formula Explanation
Rate (required) The interest rate per period.
Nper (required) The total number of payment periods in an annuity
Pmt (required) The payment made each period and cannot change over the life of th
and interest but no other fees or taxes.
FV (optional) The future value, or a cash balance you want to attain after the last pa
assumed to be 0 (the future value of a loan, for example, is 0).
Type (optional) Optional. The number 0 or 1 and indicates when payments are due (0
If type is omitted, it is assumed to be 0.
Example:
A company is considering investing excess cash into a project. There are 3 project options available, each
contributions and total payments. The company would like to better understand the present value of futu
projects. Project funding is required at the beginning of each month.
Solution:
We can use the PV formula in Excel to calculate the present value of future cash flows required to fund ea
Present Value
Total Payments
PV FORMULA
mber 0 or 1 and indicates when payments are due (0 end of period, 1 beginning).
d, it is assumed to be 0.
a project. There are 3 project options available, each with differing monthly payment
uld like to better understand the present value of future cash flows required to fund each of the
g of each month.
1 1 1
present value of future cash flows required to fund each of the 3 projects.
FV FORMULA
Formula Explanation
Rate (required) The interest rate per period.
Nper (required) The total number of payments for the loan.
Pmt (required) The payment amount made each period; it cannot change over the life of the an
and interest but no other fees or taxes.
Pv (optional) The present value, or the lump-sum amount that a series of future payments is w
assumed to be 0 (zero), and you must include the pmt argument.
Optional. The number 0 or 1 and indicates when payments are due (0 end of per
Type (optional) If type is omitted, it is assumed to be 0.
Example:
A company is considering loaning money to a potential borrower under the three scenarios outline below
term of loan differ under each scenario discussed with the borrower. They would like to know how much
scenario for the duration of the loan.
Scenario 1
Loan Amount Pv $ -5,000
Rate Rate 10%
Years of Loan Nper 3
Contribute @
Beginning or End of
the Year Type 0
Solution:
Using the FV formula, we can calculate the final repayment (principal + interest) and then subtract future
determine the amount of interest earned over the life of the loan.
hange over the life of the annuity. Typically, pmt contains principal
three scenarios outline below. The interest rates, principal amounts and
ould like to know how much total interest would be earned under each
Scenario 2 Scenario 3
$ -5,000 $ -6,000
12% 11%
4 4
0 1
est) and then subtract future value from loan present value to
$ 7,868 $ 9,108
$ 2,868 $ 3,108
Copyright Commerce Curve www.commercecurve.com
SLOPE FORMULA
Formula Explanation
Known_y's (required) An array or cell range of numeric values for the y axis data points.
Known_x's (required) An array or cell range of numeric values for the x axis data points.
slope of the linear regression line through data points. The SLOPE formula
on the line, which is the rate of change along the regression line. This
data points.
data points.
the performance of their new car for fiscal year 2019. Below is a summry of the plan and
E formula below the table and graph the plan and actual figures to show the correlation.
Car Sold
45
40
35
30
25
20
15
10
5
0
1 2 3 4 5 6 7 8 9 10 11 12
Plan Actual
Copyright Commerce Curve www.commercecurve.com
HLOO
Formula Explanation:
Lookup value: Cell which you would like to reference and lookup in the table.
Table array: It means the set of data from which we want to lookup our lookup value.
row_Index_num: It is the row number from where we want to return the result.
Range_lookup: This refers to either wanting an exact match or close match.
Example #1:
You are a Sales Executive of a company named Fresh Market. You have a list of product sales in a sales report sp
The unit price is in a separate table and you want to be able to pull it into the sales report table and show unit
Solution #1:
Using the HLOOKUP function, we can perform a lookup of the product type (e.g. apple) to the second table wh
to determine the total sales amount. i.e. price x quantity = revenue.
Example #2:
Assume you are working with a very large data set and the rows are occassionally shifted. If you were to insert a
If we insert a row to the table after the header row, the second row will be blank and we are referencing row 2 of
Also, example 1 assumed the pricing was static throughout the year. What if the pricing increased in March for e
Solution #2:
Instead of using the simple HLOOKUP formula, we can use the HLOOKUP formula in combination with the MATC
We can also match the month to the date in the table so that we are pulling in the correct pricing based on the d
Raw Data:
Johnathan's Fruit Market
Sales report
For the period ended 01 January, 2012 to 31 March, 2012 HLOOKUP
Sales Order # Month Product Units Unit Price January
1 January Apple 2 $0.00
2 January Apple 3 $0.00
3 January Banana 1 $0.00
4 January Apple 5 $0.00
5 January Grape 4 $0.00
6 January Grape 7 $0.00
7 January Banana 11 $0.00
8 January Banana 2 $0.00
9 January Apple 3 $0.00
10 January Grape 8 $0.00
11 January Grape 7 $0.00
12 January Apple 4 $0.00
13 January Apple 5 $0.00
14 January Banana 6 $0.00
15 January Apple 1 $0.00
16 January Grape 8 $0.00
17 January Grape 5 $0.00
18 January Apple 7 $0.00
19 January Banana 3 $0.00
20 January Apple 6 $0.00
21 January Grape 9 $0.00
22 January Banana 6 $0.00
23 January Grape 9 $0.00
24 January Banana 7 $0.00
25 January Apple 5 $0.00
26 January Apple 10 $0.00
27 January Banana 21 $0.00
28 January Apple 6 $0.00
29 January Banana 7 $0.00
30 January Apple 8 $0.00
31 January Grape 6 $0.00
32 January Apple 5 $0.00
33 January Grape 7 $0.00
34 January Apple 8 $0.00
35 January Grape 7 $0.00
36 January Banana 9 $0.00
37 January Apple 11 $0.00
38 January Banana 2 $0.00
39 January Banana 4 $0.00
40 January Grape 8 $0.00
41 January Apple 5 $0.00
42 January Banana 9 $0.00
43 January Grape 5 $0.00
44 January Apple 7 $0.00
45 January Grape 6 $0.00
46 January Banana 8 $0.00
47 January Banana 4 $0.00
48 January Grape 6 $0.00
49 January Banana 9 $0.00
50 March Apple 7 $0.00
51 March Apple 5 $0.00
52 March Banana 5 $0.00
53 March Grape 8 $0.00
54 March Banana 3 $0.00
55 March Apple 5 $0.00
56 March Apple 9 $0.00
57 March Banana 7 $0.00
58 March Apple 11 $0.00
59 March Apple 20 $0.00
60 March Grape 1 $0.00
61 March Banana 7 $0.00
62 March Apple 8 $0.00
63 March Banana 7 $0.00
64 March Apple 4 $0.00
65 March Grape 12 $0.00
66 March Grape 3 $0.00
67 March Banana 8 $0.00
68 March Banana 6 $0.00
69 March Apple 9 $0.00
70 March Apple 7 $0.00
71 March Banana 5 $0.00
72 March Apple 8 $0.00
73 March Banana 6 $0.00
74 March Apple 7 $0.00
75 March Grape 9 $0.00
76 March Banana 11 $0.00
77 March Grape 24 $0.00
78 March Apple 6 $0.00
79 March Apple 15 $0.00
80 March Banana 7 $0.00
81 March Apple 8 $0.00
82 March Apple 5 $0.00
83 March Banana 9 $0.00
84 March Grape 7 $0.00
85 March Apple 9 $0.00
86 March Grape 5 $0.00
87 March Banana 9 $0.00
88 March Banana 8 $0.00
89 March Apple 3 $0.00
90 March Apple 7 $0.00
91 March Grape 6 $0.00
92 March Banana 5 $0.00
93 March Grape 8 $0.00
94 March Banana 6 $0.00
95 March Apple 8 $0.00
96 March Grape 6 $0.00
97 March Banana 5 $0.00
98 March Banana 6 $0.00
99 March Banana 8 $0.00
100 March Apple 7 $0.00
101 March Apple 6 $0.00
102 March Grape 5 $0.00
103 March Grape 9 $0.00
104 March Grape 5 $0.00
105 March Grape 7 $0.00
106 March Grape 10 $0.00
107 March Apple 6 $0.00
108 March Apple 6 $0.00
109 March Banana 2 $0.00
110 March Apple 3 $0.00
111 March Banana 1 $0.00
112 March Grape 5 $0.00
113 March Banana 4 $0.00
114 March Grape 7 $0.00
115 March Apple 11 $0.00
116 March Grape 2 $0.00
117 March Apple 3 $0.00
118 March Grape 8 $0.00
119 March Apple 7 $0.00
120 March Banana 4 $0.00
121 March Apple 5 $0.00
122 March Banana 6 $0.00
123 March Grape 1 $0.00
124 March Banana 8 $0.00
125 March Grape 5 $0.00
126 March Banana 7 $0.00
127 March Apple 3 $0.00
128 March Apple 6 $0.00
129 March Grape 9 $0.00
130 March Banana 6 $0.00
131 March Grape 9 $0.00
132 March Banana 7 $0.00
133 March Apple 5 $0.00
134 March Apple 10 $0.00
135 March Banana 21 $0.00
136 March Grape 6 $0.00
137 March Banana 7 $0.00
138 March Apple 8 $0.00
139 March Grape 6 $0.00
140 March Apple 5 $0.00
141 March Grape 7 $0.00
142 March Apple 8 $0.00
143 March Banana 7 $0.00
144 March Apple 9 $0.00
145 March Grape 11 $0.00
146 March Banana 2 $0.00
147 March Apple 4 $0.00
148 March Grape 8 $0.00
149 March Apple 5 $0.00
150 March Apple 9 $0.00
151 March Banana 5 $0.00
152 March Grape 7 $0.00
153 March Grape 6 $0.00
154 March Apple 8 $0.00
155 March Banana 4 $0.00
156 March Grape 6 $0.00
157 March Grape 9 $0.00
158 March Grape 7 $0.00
159 March Banana 5 $0.00
160 March Banana 5 $0.00
161 March Grape 8 $0.00
162 March Grape 3 $0.00
163 March Apple 5 $0.00
164 March Banana 9 $0.00
165 March Apple 7 $0.00
166 March Banana 11 $0.00
167 March Apple 20 $0.00
168 March Banana 1 $0.00
169 March Grape 7 $0.00
170 March Apple 8 $0.00
171 March Grape 7 $0.00
172 March Apple 4 $0.00
173 March Banana 12 $0.00
174 March Banana 3 $0.00
175 March Banana 8 $0.00
176 March Apple 6 $0.00
177 March Apple 9 $0.00
178 March Grape 7 $0.00
179 March Grape 5 $0.00
180 March Apple 8 $0.00
181 March Banana 6 $0.00
182 March Apple 7 $0.00
183 March Banana 9 $0.00
184 March Grape 11 $0.00
185 March Banana 24 $0.00
186 March Grape 6 $0.00
187 March Banana 15 $0.00
188 March Grape 7 $0.00
189 March Apple 8 $0.00
190 March Grape 5 $0.00
191 March Banana 9 $0.00
192 March Apple 7 $0.00
193 March Grape 9 $0.00
194 March Apple 5 $0.00
195 March Grape 9 $0.00
196 March Banana 8 $0.00
197 March Grape 3 $0.00
198 March Banana 7 $0.00
199 March Grape 6 $0.00
200 March Banana 5 $0.00
201 March Apple 8 $0.00
202 March Banana 6 $0.00
203 March Apple 8 $0.00
204 March Apple 6 $0.00
205 March Banana 5 $0.00
206 March Grape 6 $0.00
207 March Banana 8 $0.00
208 March Grape 7 $0.00
209 March Apple 6 $0.00
210 March Grape 5 $0.00
211 March Banana 9 $0.00
212 March Apple 5 $0.00
HLOOKUP FORMULA
duct sales in a sales report spreadsheet but the report only shows quantity of sales and not the unit price or sales dollar amount sold.
s report table and show unit price and sales dollar amount alongside the rest of the data in the sales report.
apple) to the second table which shows the unit price information. Once that information is puled into the report, we can multiply unit sale
hifted. If you were to insert a row in the table 2 below between the first and second row, the formula would break because the lookup is to r
d we are referencing row 2 of the table in our HLOOKUP formula. How do we overcome this hurdle so that the formula does not break if ro
icing increased in March for each of the products?
n combination with the MATCH function so that we perform a match of the headers we want to pull information for into the table based on
correct pricing based on the date of the sale. Therefore, our formula looks like this:
$47:$I$49,0),FALSE)
10 15
12 18
Copyright Commerce Curve www.commercecurve.com
Formula Explanation:
Lookup value: Cell which you would like to reference and lookup in the table.
Table array: This is the range/array of data from which we want to lookup our lookup value. Note that the lo
Col_Index_num: It is the column number from where we want to return the result.
Range_lookup: This refers to either wanting an exact match or close match.
Example #1:
Employees who work for Home Depot are organized into units and role. They have employee designation codes d
The Financial Analyst needs to be able to obtain information for any particular employee at any time using raw dat
Solution #1:
Name Unit Role Gross Pay
Employee - 12 Unit-2 Other 55,795
Column 2 Column 4 Column 12
The Analyst uses the VLOOKUP formula to lookup the employee name in the HR database table and return the res
Example #2:
Assume the Analyst is working with a very large data set and the columns are occassionally shifted. If you were to i
name column, column 2 will be blank. How do we overcome this hurdle so that the formula does not break if colum
Solution #2:
Instead of using the simple VLOOKUP formula, we can use the VLOOKUP formula in combination with the match fu
Therefore, our formula looks like this:
Now if you try to insert a column in the worksheet after column C, the solution 1 table will break but the solution 2
Raw Data:
up our lookup value. Note that the lookup value must be in the left most part of the table array.
HR database table and return the result of unit, desigation and gross pay above.
e occassionally shifted. If you were to insert a column after column C, the above formula break because the unit lookup is to column 2. If we
hat the formula does not break if columns are inserted?
mula in combination with the match function so that we perform a MATCH of the headers we want to pull information for into the above tab
MATCH(D$35,$C$42:$O$42,0),FALSE)
on 1 table will break but the solution 2 table will remain accurate with the results.
Health Spending
Gender Date of Joining Date of Enrollment
Account
Male 26-Apr-02 26-Oct-02 11,000
Male 11-Nov-00 11-May-01 10,000
Male 24-Oct-11 24-Apr-12 10,000
Female 2-Nov-14 2-May-15 17,000
Female 13-Jul-01 13-Jan-02 19,000
Male 17-Jun-03 17-Dec-03 18,000
Male 31-Oct-03 1-May-04 16,000
Male 13-Mar-15 13-Sep-15 18,000
Female 21-Mar-02 21-Sep-02 12,000
Male 13-May-05 13-Nov-05 12,000
Male 29-Mar-12 29-Sep-12 10,000
Male 24-Apr-07 24-Oct-07 26,000
Male 6-Jul-09 6-Jan-10 10,000
Male 13-Mar-14 13-Sep-14 13,000
Male 28-Dec-13 28-Jun-14 12,000
Male 22-Feb-01 22-Aug-01 18,000
Male 25-May-06 25-Nov-06 13,000
Male 1-Feb-14 1-Aug-14 23,000
Male 4-Mar-00 4-Sep-00 12,000
Male 7-Sep-15 7-Mar-16 16,000
Male 16-Feb-10 16-Aug-10 18,000
Female 13-Nov-09 13-May-10 11,000
Female 10-Feb-12 10-Aug-12 18,000
Male 5-Sep-02 5-Mar-03 15,000
Male 18-Mar-13 18-Sep-13 20,000
Male 12-Sep-01 12-Mar-02 11,000
Female 11-May-08 11-Nov-08 22,000
Female 11-Feb-02 11-Aug-02 23,000
Male 22-Jun-14 22-Dec-14 12,000
Male 2-Jan-01 2-Jul-01 29,000
Male 17-Oct-03 17-Apr-04 29,000
Male 27-Jun-08 27-Dec-08 17,000
Male 26-Nov-14 26-May-15 12,000
Male 23-Sep-01 23-Mar-02 11,000
Female 13-Nov-08 13-May-09 18,000
Female 10-Aug-12 10-Feb-13 13,000
Male 15-Feb-05 15-Aug-05 25,000
Male 8-Sep-01 8-Mar-02 16,000
Female 26-Feb-08 26-Aug-08 28,000
Male 15-Aug-04 15-Feb-05 17,000
Male 5-Nov-09 5-May-10 17,000
Female 5-Mar-08 5-Sep-08 11,000
Male 28-Oct-15 28-Apr-16 14,000
Male 19-Nov-00 19-May-01 13,000
Male 5-Dec-12 5-Jun-13 14,000
Female 16-May-11 16-Nov-11 17,000
Female 28-Oct-11 28-Apr-12 11,000
Male 18-Oct-06 18-Apr-07 13,000
Female 13-Apr-02 13-Oct-02 24,000
Female 3-Jan-11 3-Jul-11 11,000
Female 9-May-07 9-Nov-07 11,000
Female 11-Jun-05 11-Dec-05 13,000
Male 4-Mar-12 4-Sep-12 27,000
Female 4-Aug-10 4-Feb-11 12,000
Female 20-Mar-13 20-Sep-13 13,000
Male 27-Aug-00 27-Feb-01 15,000
Male 25-Dec-12 25-Jun-13 22,000
Male 5-Dec-12 5-Jun-13 13,000
Female 15-Jul-06 15-Jan-07 28,000
Female 30-Mar-10 30-Sep-10 12,000
Male 15-Apr-00 15-Oct-00 10,000
Female 15-May-15 15-Nov-15 10,000
Male 14-Dec-06 14-Jun-07 10,000
Female 31-Aug-05 3-Mar-06 14,000
Male 8-Dec-10 8-Jun-11 13,000
Male 13-May-00 13-Nov-00 14,000
Male 30-Aug-02 2-Mar-03 12,000
Male 24-Jun-02 24-Dec-02 17,000
Male 27-Jul-15 27-Jan-16 13,000
Female 17-Dec-09 17-Jun-10 12,000
Female 3-Oct-04 3-Apr-05 29,000
Female 2-Apr-11 2-Oct-11 20,000
Female 29-Apr-12 29-Oct-12 11,000
Male 14-Jun-02 14-Dec-02 12,000
Female 2-May-09 2-Nov-09 12,000
Male 24-Nov-03 24-May-04 12,000
Male 12-Mar-11 12-Sep-11 13,000
Male 26-Jan-04 26-Jul-04 10,000
Female 3-Jan-06 3-Jul-06 22,000
Female 21-May-04 21-Nov-04 21,000
Male 25-May-10 25-Nov-10 16,000
Female 20-Oct-03 20-Apr-04 18,000
Male 5-Nov-01 5-May-02 11,000
Female 13-Sep-07 13-Mar-08 23,000
Male 22-Jul-07 22-Jan-08 17,000
Male 22-Sep-01 22-Mar-02 10,000
Female 20-Aug-04 20-Feb-05 21,000
Male 16-Sep-06 16-Mar-07 17,000
Female 29-Jul-13 29-Jan-14 12,000
Male 13-Jun-06 13-Dec-06 13,000
Male 25-Jul-01 25-Jan-02 15,000
Male 30-Aug-10 2-Mar-11 11,000
Male 20-Oct-06 20-Apr-07 10,000
Male 26-Dec-03 26-Jun-04 10,000
Male 10-Mar-00 10-Sep-00 14,000
Female 21-Nov-15 21-May-16 13,000
Male 2-Mar-11 2-Sep-11 15,000
Male 11-Jul-07 11-Jan-08 23,000
Male 22-Feb-09 22-Aug-09 11,000
Male 28-May-04 28-Nov-04 15,000
Male 19-Dec-08 19-Jun-09 12,000
Female 4-Feb-12 4-Aug-12 10,000
Male 14-Aug-02 14-Feb-03 16,000
Male 19-Dec-10 19-Jun-11 11,000
Male 10-Jun-07 10-Dec-07 13,000
Male 31-Jan-07 31-Jul-07 21,000
Male 21-Nov-02 21-May-03 10,000
Female 1-Oct-08 1-Apr-09 23,000
Male 16-Sep-09 16-Mar-10 11,000
Male 17-Feb-02 17-Aug-02 18,000
Male 10-Mar-09 10-Sep-09 10,000
Male 21-May-08 21-Nov-08 12,000
Male 5-Jan-14 5-Jul-14 12,000
Female 19-Jan-12 19-Jul-12 10,000
Male 26-May-13 26-Nov-13 17,000
Female 22-Jan-16 22-Jul-16 10,000
Female 7-Jan-11 7-Jul-11 26,000
Female 17-May-02 17-Nov-02 18,000
Male 21-Aug-05 21-Feb-06 10,000
Male 26-Mar-06 26-Sep-06 16,000
Female 8-Mar-14 8-Sep-14 16,000
Male 19-Mar-15 19-Sep-15 17,000
Female 28-Jun-02 28-Dec-02 11,000
Male 29-Jan-06 29-Jul-06 16,000
Male 15-Jan-12 15-Jul-12 26,000
Male 24-Jul-08 24-Jan-09 21,000
Female 8-Oct-12 8-Apr-13 13,000
Male 25-Oct-06 25-Apr-07 24,000
Male 29-Dec-06 29-Jun-07 20,000
Female 13-Mar-07 13-Sep-07 23,000
Female 9-Dec-12 9-Jun-13 10,000
Female 13-Aug-07 13-Feb-08 18,000
Male 13-Mar-07 13-Sep-07 17,000
Female 14-Sep-04 14-Mar-05 12,000
Male 5-Jun-01 5-Dec-01 13,000
Female 14-Dec-09 14-Jun-10 13,000
Male 17-Sep-03 17-Mar-04 24,000
Male 7-Nov-01 7-May-02 10,000
Male 31-Mar-06 1-Oct-06 13,000
Male 12-Dec-07 12-Jun-08 11,000
Female 26-Nov-07 26-May-08 16,000
Male 6-Jan-02 6-Jul-02 14,000
Female 1-Sep-14 1-Mar-15 20,000
Male 3-Aug-01 3-Feb-02 18,000
Female 20-Jan-03 20-Jul-03 13,000
Female 23-Aug-13 23-Feb-14 13,000
Female 27-Feb-14 27-Aug-14 23,000
Male 20-Feb-01 20-Aug-01 15,000
Male 16-Jan-04 16-Jul-04 19,000
Male 18-Nov-00 18-May-01 17,000
Male 30-Nov-15 30-May-16 18,000
Male 3-Feb-05 3-Aug-05 11,000
Female 22-Jul-04 22-Jan-05 12,000
Male 28-Oct-09 28-Apr-10 13,000
Female 1-Mar-07 1-Sep-07 10,000
Male 15-Aug-08 15-Feb-09 10,000
Female 27-Feb-09 27-Aug-09 10,000
Female 30-Mar-15 30-Sep-15 14,000
Male 24-Aug-03 24-Feb-04 10,000
Male 18-Aug-08 18-Feb-09 19,000
Male 5-Aug-15 5-Feb-16 12,000
Female 9-Sep-04 9-Mar-05 15,000
Male 10-Sep-14 10-Mar-15 23,000
Male 29-Aug-13 1-Mar-14 24,000
Male 1-Aug-01 1-Feb-02 16,000
Male 8-Sep-13 8-Mar-14 10,000
Female 1-Apr-07 1-Oct-07 27,000
Male 16-Sep-05 16-Mar-06 18,000
Female 13-Oct-14 13-Apr-15 11,000
Male 16-Oct-00 16-Apr-01 17,000
Male 6-May-06 6-Nov-06 15,000
Male 22-Apr-08 22-Oct-08 17,000
Male 16-Feb-01 16-Aug-01 12,000
Female 17-Feb-03 17-Aug-03 18,000
Male 19-Dec-12 19-Jun-13 28,000
Female 25-Mar-04 25-Sep-04 12,000
Female 7-Aug-07 7-Feb-08 16,000
Female 26-Jul-00 26-Jan-01 23,000
Male 25-May-15 25-Nov-15 17,000
Male 1-Feb-06 1-Aug-06 12,000
Male 4-Nov-05 4-May-06 16,000
Male 28-Nov-08 28-May-09 22,000
Female 21-Dec-02 21-Jun-03 30,000
Male 10-Dec-09 10-Jun-10 22,000
Female 2-May-09 2-Nov-09 30,000
Female 27-Dec-08 27-Jun-09 24,000
Female 4-Oct-14 4-Apr-15 24,000
Female 22-Jun-11 22-Dec-11 19,000
Female 23-Apr-11 23-Oct-11 11,000
Male 25-Jun-00 25-Dec-00 13,000
Male 6-Feb-10 6-Aug-10 13,000
Male 18-Apr-06 18-Oct-06 14,000
Female 10-Oct-07 10-Apr-08 14,000
Female 22-May-13 22-Nov-13 11,000
Male 8-May-10 8-Nov-10 23,000
Female 21-Apr-13 21-Oct-13 13,000
Male 4-Jan-14 4-Jul-14 24,000
Male 17-Jan-06 17-Jul-06 11,000
Female 19-Apr-15 19-Oct-15 11,000
Male 22-Sep-09 22-Mar-10 12,000
Female 23-Jan-00 23-Jul-00 28,000
Female 8-Jun-11 8-Dec-11 24,000
Female 26-Mar-00 26-Sep-00 24,000
Female 19-Feb-07 19-Aug-07 18,000
Male 11-Sep-09 11-Mar-10 12,000
Female 14-Jun-13 14-Dec-13 15,000
Male 6-Dec-07 6-Jun-08 13,000
Female 17-Feb-12 17-Aug-12 24,000
Male 15-Jan-09 15-Jul-09 27,000
Female 23-Oct-14 23-Apr-15 10,000
Female 2-Oct-14 2-Apr-15 13,000
Female 16-Aug-09 16-Feb-10 29,000
Male 27-Jan-08 27-Jul-08 29,000
Male 27-Jul-02 27-Jan-03 12,000
Female 16-Aug-00 16-Feb-01 11,000
Male 15-Jan-13 15-Jul-13 14,000
Female 25-Jan-10 25-Jul-10 24,000
Male 18-Feb-10 18-Aug-10 25,000
Female 23-Jul-04 23-Jan-05 16,000
Male 17-Jan-08 17-Jul-08 13,000
Female 2-Aug-08 2-Feb-09 12,000
Female 23-Jun-10 23-Dec-10 13,000
Female 5-Feb-04 5-Aug-04 11,000
Male 10-Jul-12 10-Jan-13 13,000
Female 8-Dec-07 8-Jun-08 16,000
Female 15-Aug-11 15-Feb-12 11,000
Male 22-Feb-05 22-Aug-05 14,000
Male 8-Aug-10 8-Feb-11 11,000
Male 11-Jul-03 11-Jan-04 17,000
Male 20-Mar-05 20-Sep-05 10,000
Female 15-Nov-11 15-May-12 18,000
Male 26-Mar-11 26-Sep-11 23,000
Male 23-May-08 23-Nov-08 16,000
Male 20-Dec-08 20-Jun-09 16,000
Male 14-Oct-08 14-Apr-09 10,000
Male 15-Mar-13 15-Sep-13 10,000
Male 19-Nov-10 19-May-11 19,000
Female 17-Aug-08 17-Feb-09 11,000
Male 2-Dec-12 2-Jun-13 11,000
Male 27-May-07 27-Nov-07 19,000
Male 27-Apr-15 27-Oct-15 17,000
Male 7-Oct-06 7-Apr-07 22,000
Male 29-Jul-11 29-Jan-12 13,000
Female 30-Oct-06 30-Apr-07 21,000
Male 2-Apr-15 2-Oct-15 16,000
Male 4-Oct-14 4-Apr-15 11,000
Female 7-Oct-05 7-Apr-06 30,000
Female 17-Feb-04 17-Aug-04 17,000
Male 3-May-00 3-Nov-00 12,000
Female 2-May-12 2-Nov-12 22,000
Female 15-May-15 15-Nov-15 10,000
Male 14-Dec-06 14-Jun-07 10,000
Female 31-Aug-05 3-Mar-06 14,000
Male 8-Dec-10 8-Jun-11 13,000
Male 13-May-00 13-Nov-00 14,000
Male 30-Aug-02 2-Mar-03 12,000
Male 24-Jun-02 24-Dec-02 17,000
Male 27-Jul-15 27-Jan-16 13,000
Female 17-Dec-09 17-Jun-10 12,000
Male 3-Oct-04 3-Apr-05 29,000
Male 2-Apr-11 2-Oct-11 20,000
Female 29-Apr-12 29-Oct-12 11,000
Male 14-Jun-02 14-Dec-02 12,000
Female 2-May-09 2-Nov-09 12,000
Male 24-Nov-03 24-May-04 12,000
Female 12-Mar-11 12-Sep-11 13,000
Male 26-Jan-04 26-Jul-04 10,000
Female 3-Jan-06 3-Jul-06 22,000
Female 21-May-04 21-Nov-04 21,000
Male 25-May-10 25-Nov-10 16,000
Female 20-Oct-03 20-Apr-04 18,000
Male 5-Nov-01 5-May-02 11,000
Female 13-Sep-07 13-Mar-08 23,000
Male 22-Jul-07 22-Jan-08 17,000
Male 22-Sep-01 22-Mar-02 10,000
Female 20-Aug-04 20-Feb-05 21,000
Male 16-Sep-06 16-Mar-07 17,000
Female 29-Jul-13 29-Jan-14 12,000
Male 13-Jun-06 13-Dec-06 13,000
Female 25-Jul-01 25-Jan-02 15,000
Male 30-Aug-10 2-Mar-11 11,000
Female 20-Oct-06 20-Apr-07 10,000
Male 26-Dec-03 26-Jun-04 10,000
Male 10-Mar-00 10-Sep-00 14,000
Female 21-Nov-15 21-May-16 13,000
Male 2-Mar-11 2-Sep-11 15,000
Male 11-Jul-07 11-Jan-08 23,000
Male 22-Feb-09 22-Aug-09 11,000
Male 28-May-04 28-Nov-04 15,000
Male 19-Dec-08 19-Jun-09 12,000
Female 4-Feb-12 4-Aug-12 10,000
Male 14-Aug-02 14-Feb-03 16,000
Male 19-Dec-10 19-Jun-11 11,000
Male 10-Jun-07 10-Dec-07 13,000
Male 31-Jan-07 31-Jul-07 21,000
Female 21-Nov-02 21-May-03 10,000
Female 1-Oct-08 1-Apr-09 23,000
Male 16-Sep-09 16-Mar-10 11,000
Male 17-Feb-02 17-Aug-02 18,000
Male 10-Mar-09 10-Sep-09 10,000
Male 21-May-08 21-Nov-08 12,000
Male 5-Jan-14 5-Jul-14 12,000
Female 19-Jan-12 19-Jul-12 10,000
Male 26-May-13 26-Nov-13 17,000
Female 22-Jan-16 22-Jul-16 10,000
Female 7-Jan-11 7-Jul-11 26,000
Female 17-May-02 17-Nov-02 18,000
Male 21-Aug-05 21-Feb-06 10,000
Male 26-Mar-06 26-Sep-06 16,000
Female 8-Mar-14 8-Sep-14 16,000
Male 19-Mar-15 19-Sep-15 17,000
Female 28-Jun-02 28-Dec-02 11,000
Male 29-Jan-06 29-Jul-06 16,000
Male 15-Jan-12 15-Jul-12 26,000
Female 24-Jul-08 24-Jan-09 21,000
Female 8-Oct-12 8-Apr-13 13,000
Male 25-Oct-06 25-Apr-07 24,000
Male 29-Dec-06 29-Jun-07 20,000
Female 13-Mar-07 13-Sep-07 23,000
Female 9-Dec-12 9-Jun-13 10,000
Female 13-Aug-07 13-Feb-08 18,000
Male 13-Mar-07 13-Sep-07 17,000
Male 14-Sep-04 14-Mar-05 12,000
Female 5-Jun-01 5-Dec-01 13,000
Male 14-Dec-09 14-Jun-10 13,000
Female 17-Sep-03 17-Mar-04 24,000
Male 7-Nov-01 7-May-02 10,000
Male 31-Mar-06 1-Oct-06 13,000
Female 12-Dec-07 12-Jun-08 11,000
Female 26-Nov-07 26-May-08 16,000
Male 6-Jan-02 6-Jul-02 14,000
Female 1-Sep-14 1-Mar-15 20,000
Male 3-Aug-01 3-Feb-02 18,000
Female 20-Jan-03 20-Jul-03 13,000
Female 23-Aug-13 23-Feb-14 13,000
Female 27-Feb-14 27-Aug-14 23,000
Male 20-Feb-01 20-Aug-01 15,000
Male 16-Jan-04 16-Jul-04 19,000
Female 18-Nov-00 18-May-01 17,000
Female 30-Nov-15 30-May-16 18,000
Female 3-Feb-05 3-Aug-05 11,000
Female 22-Jul-04 22-Jan-05 12,000
Male 28-Oct-09 28-Apr-10 13,000
Female 1-Mar-07 1-Sep-07 10,000
Male 15-Aug-08 15-Feb-09 10,000
Female 27-Feb-09 27-Aug-09 10,000
Male 30-Mar-15 30-Sep-15 14,000
Male 24-Aug-03 24-Feb-04 10,000
Male 18-Aug-08 18-Feb-09 19,000
Male 5-Aug-15 5-Feb-16 12,000
Female 9-Sep-04 9-Mar-05 15,000
Male 10-Sep-14 10-Mar-15 23,000
Male 29-Aug-13 1-Mar-14 24,000
Male 1-Aug-01 1-Feb-02 16,000
Male 8-Sep-13 8-Mar-14 10,000
Female 1-Apr-07 1-Oct-07 27,000
Male 16-Sep-05 16-Mar-06 18,000
Female 13-Oct-14 13-Apr-15 11,000
Male 16-Oct-00 16-Apr-01 17,000
Male 6-May-06 6-Nov-06 15,000
Male 22-Apr-08 22-Oct-08 17,000
Male 16-Feb-01 16-Aug-01 12,000
Female 17-Feb-03 17-Aug-03 18,000
Male 19-Dec-12 19-Jun-13 28,000
Female 25-Mar-04 25-Sep-04 12,000
Female 7-Aug-07 7-Feb-08 16,000
Female 26-Jul-00 26-Jan-01 23,000
Male 25-May-15 25-Nov-15 17,000
Male 1-Feb-06 1-Aug-06 12,000
Male 4-Nov-05 4-May-06 16,000
Male 28-Nov-08 28-May-09 22,000
Female 21-Dec-02 21-Jun-03 30,000
Male 10-Dec-09 10-Jun-10 22,000
Male 2-May-09 2-Nov-09 30,000
Female 27-Dec-08 27-Jun-09 24,000
Male 4-Oct-14 4-Apr-15 24,000
Female 22-Jun-11 22-Dec-11 19,000
Male 23-Apr-11 23-Oct-11 11,000
Male 25-Jun-00 25-Dec-00 13,000
Male 6-Feb-10 6-Aug-10 13,000
Male 18-Apr-06 18-Oct-06 14,000
Female 10-Oct-07 10-Apr-08 14,000
Female 22-May-13 22-Nov-13 11,000
Male 8-May-10 8-Nov-10 23,000
Female 21-Apr-13 21-Oct-13 13,000
Female 4-Jan-14 4-Jul-14 24,000
Female 17-Jan-06 17-Jul-06 11,000
Female 19-Apr-15 19-Oct-15 11,000
Male 22-Sep-09 22-Mar-10 12,000
Female 23-Jan-00 23-Jul-00 28,000
Male 8-Jun-11 8-Dec-11 24,000
Female 26-Mar-00 26-Sep-00 24,000
Female 19-Feb-07 19-Aug-07 18,000
Male 11-Sep-09 11-Mar-10 12,000
Female 14-Jun-13 14-Dec-13 15,000
Male 6-Dec-07 6-Jun-08 13,000
Female 17-Feb-12 17-Aug-12 24,000
Male 15-Jan-09 15-Jul-09 27,000
Female 23-Oct-14 23-Apr-15 10,000
Female 2-Oct-14 2-Apr-15 13,000
Female 16-Aug-09 16-Feb-10 29,000
Male 27-Jan-08 27-Jul-08 29,000
Male 27-Jul-02 27-Jan-03 12,000
Female 16-Aug-00 16-Feb-01 11,000
Male 15-Jan-13 15-Jul-13 14,000
Female 25-Jan-10 25-Jul-10 24,000
Male 18-Feb-10 18-Aug-10 25,000
Female 23-Jul-04 23-Jan-05 16,000
Male 17-Jan-08 17-Jul-08 13,000
Female 2-Aug-08 2-Feb-09 12,000
Female 23-Jun-10 23-Dec-10 13,000
Female 5-Feb-04 5-Aug-04 11,000
Male 10-Jul-12 10-Jan-13 13,000
Female 8-Dec-07 8-Jun-08 16,000
Female 15-Aug-11 15-Feb-12 11,000
Male 22-Feb-05 22-Aug-05 14,000
Male 8-Aug-10 8-Feb-11 11,000
Male 11-Jul-03 11-Jan-04 17,000
Male 20-Mar-05 20-Sep-05 10,000
Female 15-Nov-11 15-May-12 18,000
Male 26-Mar-11 26-Sep-11 23,000
Male 23-May-08 23-Nov-08 16,000
Male 20-Dec-08 20-Jun-09 16,000
Male 14-Oct-08 14-Apr-09 10,000
Male 15-Mar-13 15-Sep-13 10,000
Male 19-Nov-10 19-May-11 19,000
Female 17-Aug-08 17-Feb-09 11,000
Male 2-Dec-12 2-Jun-13 11,000
Male 27-May-07 27-Nov-07 19,000
Male 27-Apr-15 27-Oct-15 17,000
Male 7-Oct-06 7-Apr-07 22,000
Male 29-Jul-11 29-Jan-12 13,000
Female 30-Oct-06 30-Apr-07 21,000
Male 2-Apr-15 2-Oct-15 16,000
Male 4-Oct-14 4-Apr-15 11,000
Female 7-Oct-05 7-Apr-06 30,000
Male 17-Feb-04 17-Aug-04 17,000
Male 3-May-00 3-Nov-00 12,000
Female 2-May-12 2-Nov-12 22,000
st would like to perform a lookup of an employee's unit, designation and gross, pay.
because the unit lookup is to column 2. If we insert a column to the table after the
want to pull information for into the above table (unit, role, and gross pay.
Formula Explanation:
Reference: The starting point reference. This is a cell reference.
Rows: The number of rows to offset below or above (if a negative value is used) the starting
Cols: The number of columns to offset to the right or left (if a negative value is used) of the
Height: [optional] The height in rows of the returned reference.
Width: [optional] The width in columns of the returned reference.
Note that a negative value can be used in the formula. If a negative is used, then instead of having the OFFSET lo
Example #1:
We have a list of grades of students below. The goal is to find:
a) Math grade for John
b) Sum of John's grades for all subjects.
Solution #1:
We can use the OFFSET function with the first cell of the table "Student" being our relative reference point for th
Solution #2:
In order to reverse the order of the data, we can use the OFFSET function with the P&L header first cell to be the
For example, for the subscription revenue September 30, 2019 cell, we will reference the first row below P&L an
=OFFSET(C46,1,9) returns the result: $136,856.91
Taking this a step further, we can automate the formula so that we can drag it throughout the table and have it
the September column as being offset to column reference 9, the August column being offset to column referen
columns which exist in the table, and subtract the current column reference in the above table. For example, the
Therefore, 10-1 = 9 and should be used as the column OFFSET when rearranging the data in the below table. We
row offset.
For the September 30, 2019 column below, we use this formula:
=OFFSET($C$46,COUNTA($C$71:$C71),COUNTA($C$45:$L$45)-D$45)
ead of having the OFFSET lookup a value below (row) or to the right (column), a negative value will lookup above (row) or to the left (colum
Chemistry Physics
82 79
84 60
91 71
77 84
81 68
78 74
Here, reference is 'Student', row is 'John' ("Student" is counted as 0, so John is counted as cell reference 4), and column is 'Ma
from the refernece cell Student.
Here, reference is '"Student", row is 'John' ("Student" is counted as 0, so John is counted as 4), and column is "English"' i.e. the
("Student" is counted as 0, so English is counted as the first cell away), Height is 1 (as we want to find out the total marks of Jo
total quantity of subjects).
h has dates that are in a contradictory order to the table you are creating.
n and the most recent date appears in the right column. Let's assume we need this data in reverse chronological order.
4 5 6 7
30-Apr-19 31-May-19 30-Jun-19 30-Jul-19
112,486 116,986 121,665 126,532
86,615 90,079 93,682 97,430
67,492 70,192 72,999 75,919
266,593 277,256 288,347 299,881
85,310 88,722 92,271 95,962
181,283 188,534 196,076 203,919
hout the table and have it pull the correct cell reference. In order to do this we need the OFFSET formula to calculate
ng offset to column reference 8, etc. This can be achieved by embedding the COUNTA formula in the OFFSET formula and counting the nu
ove table. For example, the first month'ss column in the above table is 1 and last month is 9. Total column count = 10 including the P&L co
data in the below table. We can take a similar approach for the rows (i.e. subscription revenue being the first row offset, and gross margin
ounted as cell reference 4), and column is 'Math' which is 3 cells away
counted as 4), and column is "English"' i.e. the first subject of the list
1 (as we want to find out the total marks of John only), Width is 5 (i.e. the
verse chronological order.
8 9
31-Aug-19 30-Sep-19
131,593 136,857
101,327 105,380
78,956 82,114
311,876 324,351
99,800 103,792
212,076 220,559
28-Feb-19 31-Jan-19
104,000 100,000
80,080 77,000
62,400 60,000
246,480 237,000
78,874 75,840
167,606 161,160
Copyright Commerce Curve www.commercecurve.com
LEF
Formula Explanation:
text: Original text from which we need the characters
[num_chars]: Number of charaters required
Example #1 - LEFT
Use the left formula to keep only a certain number of the left characters:
Example #2 - LEFT
The following table was used to extract the first name of a person from their full name.
The =FIND() function was used to locate position of the space between the first and second name.
The length of the first name is therefore the position of the space minus one character.
The =LEFT() function can now extract the first name based on the position of the space.
t hand side of a piece of text. They are useful if you want to extract part of the contents of a cell.
Example #1 - RIGHT
Use the right formula to keep only a certain number of the right characters:
Right
Original Number Of String Using
Text Characters to Keep
RIGHT formula
Chris Alexander 1 r
Chris Alexander 2 er
Chris Alexander 3 der
Matthew 6 atthew
Breanna 4 anna
Example #2 - RIGHT
heir full name. The following table was used to extract the last name of a person from their ful
he first and second name. The =FIND() function locates the position of the space between the first and sec
one character. The length of the last name is calculated by subtracting the position of the spac
n of the space. the overall length of the full name.
The =RIGHT() function can then extract the person's last name.
Example formula:
=RIGHT(L20,M20)
Example formula:
=RIGHT(M34,LEN(M34)-FIND(" ",M34))
Copyright Commerce Curve www.commercecurve.com
COLUMN FORMULA
Formula explanation :
Reference: The cell which is selected to find out the position of it.
Example:
In this example, we are going to find out the column number of selected cell from data table.
m data table.
Solution:
Color COLUMN
Yellow 5
Red 7
Brown 3
Green 4
Copyright Commerce Curve www.commercecurve.com
ROW FORMULA
Formula explanation:
Reference: The cell which is selected to find out the position of it.
Example:
In this example, we are going to find out the row number of selected cell from data table using the ROW
Solution:
Color ROW
Yellow 30
Red 34
Brown 39
Green 46
Copyright Commerce Curve www.commercecurve.com
COLUMNS FORMULA
Formula explanation :
Array : The cells which are selected to find out the number of columns within the selected area.
Example :
In this example, we are going to find out the number of columns of the selected cells from the following
Color COLUMNS
Yellow 4
Red 3
Brown 5
Green 3
Copyright Commerce Curve www.commercecurve.com
ROWS FORMULA
Formula explanation :
Array: The cells which are selected to find out the number of rows within the selected area.
Example:
In this example, we are going to find out the number of rows from the selected cells from the following d
Solution:
Color ROWS
Yellow 6
Red 11
Brown 3
Green 4
Copyright Commerce Curve www.commercecurve.com
FORMULATE
Formula explanation
Reference: The cell which contains formula for which we want to retreive the text.
Example:
A Financial Analyst has obtained a compensation sheet from the HR department. He wants to print out th
easily explain how the fully loaded salary is calculated for financial modeling purposes in the company's b
Solution:
The Financial Analyst can use the formula text formula and place the formula to the right side of the table
it during the meeting and explain how the fully loaded compensation was calculated.
House Provident
Basic Travelling Medical Advance
Name rent Fund
salary allowance allowance adjustment
allowance deduction
. He wants to print out the document for an upcoming management meeting and be able to
poses in the company's budget.
the right side of the table. Then, when the document is printed, he will be able to reference
COUNTBLANK FORMULA
Formula explanation:
Range: The range from which you want to count the blank cells.
Example:
In this example, we are going to count the blank cells from the number table below.
H COUNTBLANK
12299 2
24366 0
30769 3
32188 0
3
37610 0
17518 2
32619 3
2
16929 4
19172 1
16790 2
36810 2
3
21073 5
39517 2
33466 2
2
31207 2
25666 3
2
31563 2
15550 2
44991 4
12973 2
34581 1
1
41149 3
2
Copyright Commerce Curve www.commercecurve.com
DMIN FORMULA
Formula explanation:
Database: Range of data within which we want to perform the analysis.
Field: The item which we want to find within the database (e.g. price, category, etc.).
Criteria: The given criteria that have to be matched with.
Example:
Financial analyst has a sales report of some fruit which were sold in January, 2019 at a variety of rates.
In his analysis he would like to determine what the minimum price was charged based on certain conditio
Criteria:
Solution:
Fruit DMIN
Apple 4 This is the minimum rate at which apples were sold when more than 3 w
Banana 5 This is the minimum rate at which bananaas were sold when less than 5
Grapes 10 This is the minimum rate at which grapes were sold when more than 10
Raw data:
DMAX FORMULA
Formula explanation:
Database: Range of data within which we want to perform the analysis.
Field: The item which we want to find within the database (e.g. price, category, etc.).
Criteria: The given criteria that have to be matched with.
Example:
Financial analyst has a sales report of some fruit which were sold in January, 2019 at a variety of rates.
In his analysis he would like to determine what the maximum price was charged based on certain conditi
Criteria:
Formula:
Fruit DMAX
Apple 15 This is the maximum rate at which apples were sold when less than 5 w
Banana 18 This is the maximum rate at which bananas were sold when more than
Grapes 17 This is the maximum rate at which grapes were sold when more than 10
Raw data:
FIXED FORMULA
Formula explanation:
Number : The value or cell which you want to fix.
Decimals : The number of decimal you want to fix.
No commas :Refers to whether you want commas in the value or not (i.e. nothing or FALSE = with comm
Example:
In the following example, we are going to fix the values in the value column based on the details of the "R
value or not (i.e. nothing or FALSE = with comma, and TRUE = no comma).
the value column based on the details of the "Required Fix" column.
Required Fix
Two decimals points with comma.
No decimal with comma.
One decimal with comma.
No decimal and no comma.
Two decimals with comma.
Three decimals with comma.
Copyright Commerce Curve www.commercecurve.com
FIND FORMULA
Formula explanation :
Find_text: The text which we are attempting to find.
Within_text : The text which we want to search.
Start_num : The numerical position of the text which we are beginning to start the search. If omitted st
Example #1:
In this example, we are going to attempt to find the text in the "Find_text" column from the "Within_text"
Solution #1:
Example #2:
Note that the FIND formula is case sensitive. For example, lets assume we want to perform a lookup of th
has a capital E for the first letter.
Solution #2:
Result: 7
In this solution we can see that the FIND formula returns the 7th character for e which is the last letter of
FIND FORMULA
=FIND(C28,D28) This means that the "are" word is located at the fifth character of the
cell D28 containing the word "How are you"
=FIND(C31,D31,E31) In this example, we are using character 8 as the starting point of the
analysis. Character 8 is where the word "in" begins and therefore
it does not alter the result. The FIND formula will begin searching
at the 8th character and it returns the result that it found it at the 8th
character.
=FIND(C36,D36,E36) Next, we perform the search of the word "in" but this time we start
the search at the 9th character n the "within_text" column. In this case
the search does not pickup the "in" since it has begun the search
at the letter n. It does locate the second word "in" within the sentence
and returns the result 17 since the second word "in" begins at
character 17 in the sentence.
want to perform a lookup of the letter e in the word example and the word example
r for e which is the last letter of the word because our search was a lower case e.
Copyright Commerce Curve www.commercecurve.com
RAND FORMULA
Formula explanation :
RAND There is no required value to use in this formula. You just need to type =RAND() to use the fo
Example :
In this example, we are going to insert random small value (i.e. between 0 and 1) into a data table below.
Solution:
RANDBETWEEN FORMULA
Formula explanation :
Bottom: The minimum value of our requirement.
Top: The maximum value of our requirement.
Example :
In this example, we are going to insert random values between 20000 to 50000 into a data table below.
=RANDBETWEEN(20000,50000)
Solution:
TRIM FORMULA
Formula explanation:
Text The cell that containing text which you want to modify.
Example:
In this example, we have some cells which contain way to many spaces between the words. We will use th
Solution:
the words. We will use the TEXT formula to remove the unwanted spaces.
Copyright Commerce Curve www.commercecurve.com
RANK FORMULA
Formula Explanation
Number It means the number for which you want find the rank. You can reference a c
Reference It is an array of, or reference to, a list of numbers. The reference must be num
Order Order means the order about ranking either it will be highest to lowest (desc
Example
In this example we will rank the sales amount ($) of the divisions of a car dealership. We will rank them in
Solution
For the rank analysis we set forth the following:
Number is the individual sales amount to be evaluated for rank.
Reference is the range of numbers where we are evaluating the rank.
Order is given in both the ways i.e. Ascending (lowest one will be no.1 and highest one will be at the
and Descending (highest one will be no.1 and lowest one will be at the last number) by using 0.
want find the rank. You can reference a cell here which contains a number.
st of numbers. The reference must be numeric.
ng either it will be highest to lowest (descending), or lowest to highest (ascending).
s of a car dealership. We will rank them in descending order and then in ascending order.
will be no.1 and highest one will be at the last number) by using 1,
ll be at the last number) by using 0.
hich has sales of $1.5M (the largest) and the division 4 is the 12th rank.
ich has the smallest amount of sales at $876k. The division 9 has the highest sales ans is therefore ranked 12.
Copyright Commerce Curve www.commercecurve.com
CHOOSE FORMUL
Formula Explanation
Index number This specifies which value argument is selected. It must be a number between
Value 1, Value 2… Value 1, value 2, etc can be cell references, defined names, formulas, function
sequential order. For instance, if you choose a range to index and perform th
number indexed.
Example
In this example, we will insert a comment into the right side of the below table based on the GPA scores
outstanding (4).
Solution:
Name GPA
Matthew 3.00
Rehan 4.00
Wyatt 2.00
Malakara 4.00
Harrison 3.00
Adam 3.00
Mark 3.00
Hannah 3.00
Scott 4.00
Kelly 1.00
Tanis 4.00
Amanda 3.00
Heather 4.00
Breanna 3.00
Alannah 4.00
Erik 1.00
Erin 2.00
Blaine 1.00
Georgia 4.00
Patrick 2.00
Pearl 3.00
In the above table:
Index_number is each GPA for which we want to make comment.
Value 1 is 'Poor' which refers to CGPA 1.00
Value 2 is 'Average' which refers to CGPA 2.00
Value 3 is 'Good' which refers to CGPA 3.00
Value 4 is 'Outstanding' which refers to CGPA 4.00
CHOOSE FORMULA
t is selected. It must be a number between 1 and 254, or a formula or a reference to a number between 1 and 254.
erences, defined names, formulas, functions, or text arguments from which CHOOSE selects. They must be in
u choose a range to index and perform the lookup to a value range, the first value will be returned for the first
the below table based on the GPA scores of students. The value options are poor (1), average (2), good (3), and
Comment Comment
Good Poor Value 1
Outstanding Average Value 2
Average Good Value 3
Outstanding Outstanding Value 4
Good
Good Note the values must be placed in sequential order.
Good
Good
Outstanding
Poor
Outstanding
Good
Outstanding
Good
Outstanding
Poor
Average
Poor
Outstanding
Average
Good
Copyright Commerce Curve www.commercecurve.com
CORREL FORMULA
Formula explanation
In the syntax the arguments refer to:
Array 1: The first set of data for analysis
Array 2: The second set of data for analysis
Example #1:
A mathematics professor at a University has asked students to provide an honest poll of how many hours
determine the correlation between study hours and the test result percentages using this data.
Solution #1:
The students provide their study hours per week in the table below and the professor indicaes the succes
Using the correlation formula in excel it has been determined that there is a 97% correlation between the
In our formula,
array1 is the set of study hours.
array2 is the set of test result percentages.
Example #2
The manager of an antique shop has rare inventory on hand for items dating back to 1920. The manager
The manager wants to understand the correlation of time (years) to the demand for the antiques using th
Solution #2:
Using the correlation formula in excel, we calculate there to be a 72% correlation between the increase in
This is an indication that the antiques are continuing to grow in demand as time passes by.
In our formula,
array1 is the set of years.
array2 is the set of demand in units.
CORREL FORMULA
provide an honest poll of how many hours per week they each study. The mathematics professor wants to
ult percentages using this data.
elow and the professor indicaes the success percentage below as well.
hat there is a 97% correlation between the number of study hours put in and the test result percentages.
r items dating back to 1920. The manager wants to analyze the demand over time for the antiques.
s) to the demand for the antiques using the data in the below table.
a 72% correlation between the increase in time and the increase in demand for the antiques.
demand as time passes by.
Copyright Commerce Curve www.commercecurve.com
FORECAST FORMUL
Formula explanation
x It is the data point for which you want to predict a value and must be numer
known_ys It is the dependant array or range of numeric data.
known_xs It is the independent array or range of numeric data. The variance of known_
Example #1
We have the monthly sales for cars at a Toronto dealership for part of 2020 in the below table. Based on
for the year 2021.
Solution #1:
We can use the FORECAST formula in excel to create the forecast based on the months
we are analyzing for 2020 and the forecast months for 2021.
In our formula:
x is the month for which we want predict the car sales.
known_ys are the historical months.
known_xs are the historical car sales in the historical months.
Example #2:
The below report shows monthly income and expense for XYZ company for 2020. The company's FP&A a
as the basis of the forecast.
Month Income
Jan-20 $ 3,000
Feb-20 $ 3,150
Mar-20 $ 2,900
Apr-20 $ 2,980
May-20 $ 3,020
Jun-20 $ 3,290
Solution #2:
Using the above table and the FORECAST formula in excel, we can forecast the 2022 monthly income and
Month Income
Jan-22 $ 3,771
Feb-22 $ 3,805
Mar-22 $ 3,836
Apr-22 $ 3,870
May-22 $ 3,902
Jun-22 $ 3,936
In our formula,
x is the month for which we want to predict Income and Expense.
known_ys are the set of income (when forecasting income) and expense (when forecasting expense) of 2
known_xs are the set months of 2020.
FORECAST FORMULA
part of 2020 in the below table. Based on this data, we would like to forecast the sales for the same periods
Expense
$ 2,750
$ 2,800
$ 2,520
$ 2,600
$ 2,700
$ 2,710
can forecast the 2022 monthly income and expense for the same months.
Expenses
$ 2,428
$ 2,416
$ 2,406
$ 2,394
$ 2,382
$ 2,370
Formula explanation
data_array This is an array of data where we want count frequencies. Note that blanks an
bin_array This is an array of data where we want to group the values in data_array.
Example:
We have a list of employees of a company. The HR analyst would like to determine the total number of e
Solution:
Using the FREQUENCY formula, we are going to count the total number of employees which meet the ab
Salary Count
$ 10,000 8
$ 14,999 19
$ 19,999 16
$ 24,999 5
$ 29,999 1
Raw data
ant count frequencies. Note that blanks and text are ignored.
ant to group the values in data_array.
of times an item appears in an array. It is useful to count the number of times a numerical value appears in
ld like to determine the total number of employees which fall into the below categories:
0 and up to $15,000.
0 but less than $20,000.
0 but less than $25,000.
0 but less than $30,000.
Formula explanation
value This is the cell in which we want to analyze for whether it is a number or not.
Example
We have a sales sheet and want to make a column for the annualized sales amount on the right column o
and multiplying it by 365 days. However, some amounts in the amount column contain letters which nee
Solution:
Using the ISNUMBER formula, we can calculate the annualized sales amount only on the values which co
below for the result.
1 Betsy 2004/04/01
2 Hallagan 2004/03/10
3 Ashley 2005/02/25
4 Hallagan 2006/05/22
5 Colleen 2006/12/17
6 Ashley 2006/07/05
7 Betsy 2006/08/07
8 Ashley 2004/11/29
9 Zaret 2006/09/20
10 Emilee 2004/04/12
11 Colleen 2006/04/30
12 Jen 2005/08/31
13 Jen 2004/10/27
14 Zaret 2005/11/27
15 Zaret 2006/06/02
16 Colleen 2004/06/06
17 Emilee 2006/09/20
18 Cici 2005/07/07
19 Cristina 2005/04/10
20 Jen 2006/05/22
21 Cristina 2004/04/12
22 Cici 2004/06/28
23 Cristina 2004/04/12
24 Cristina 2005/12/08
25 Hallagan 2005/11/05
26 Zaret 2006/07/16
27 Ashley 2004/04/12
28 Jen 2005/01/23
29 Emilee 2005/08/31
30 Zaret 2005/12/19
31 Cici 2005/03/19
32 Cici 2006/06/13
33 Betsy 2006/08/18
34 Jen 2004/05/26
35 Zaret 2004/04/12
36 Colleen 2006/05/11
37 Cici 2004/11/18
38 Emilee 2006/12/06
39 Betsy 2005/09/22
40 Zaret 2006/06/02
41 Cici 2005/05/24
42 Colleen 2006/05/22
43 Hallagan 2005/10/25
44 Zaret 2006/02/12
45 Ashley 2006/11/14
46 Jen 2004/06/28
47 Jen 2006/12/28
48 Betsy 2006/02/01
49 Colleen 2005/02/03
50 Betsy 2005/02/03
51 Emilee 2005/12/30
52 Emilee 2005/09/11
53 Emilee 2005/03/30
54 Betsy 2004/03/21
55 Jen 2004/05/04
56 Colleen 2005/06/15
ISNUMBER FORMULA
ntains a number or not. This can be useful if you want to write conditional logic based on a column
cells which have numbers.
alized sales amount on the right column of the spreadsheet by taking the daily sales amount
amount column contain letters which need to be excluded.
sales amount only on the values which contain numbers. Refer to the right side of the table
=IF(ISNUMBER(G29)=TRUE,G29*365,0)
In our example, we use an IF statement with a nested ISNUMBER formula
to check whether the amount is a number and then perform the calculation
Formula explanation
There are two ways in which we can use the COLUMN formula.
1) =COLUMN(REFERENCE CELL)
This formula will return the column number of the reference cell.
2) =COLUMN(INDIRECT(ref_text, [a1]))
This formula will allow you enter a column letter in the ref_text part of the formula to return the column n
Example #1:
Let's say we have a number in cell I23 of 100 and want to make reference to it's column number.
Solution #1:
We could use the above formula option #1 to determine this as follows:
Column: 9 =COLUMN(I23)
Example #2:
Let's say we have a table full of column letters and we want to make a list of their column numbers. We c
INDIRECT formula to determine this.
Solution #2:
In order to find out the required result, we have complete following procedure:
1. Go to the cell where you want to find out the result.
2. Write the formula according to above syntax =COLUMN(INDIRECT(ref_text, [a1]))
3. For the ref_text, make it equal to the column letter and type & "1"
COLUMN(INDIRECT(ref_text, [a1]))
Column Number
A 1
G 7
N 14
AA 27
BA 53
CX 102
DB 106
EY 155
JC 263
LP 328
TC 523
VD 576
BCD #REF!
CCC #REF!
XFD #REF!
T COLUMN LETTER TO NUMBER FORMULA
part of the formula to return the column number of that column letter.
make a list of their column numbers. We can use the COLUMN formula with the nested
wing procedure:
IRECT(ref_text, [a1]))
UMN(INDIRECT(ref_text, [a1]))
Formula:
=COLUMN(INDIRECT(D45&"1"))
1
Copyright Commerce Curve www.commercecurve.com
STRIP NON-NUMERIC CHARACTER
Formula explanation
Syntax: =TEXTJOIN("",TRUE,IFERROR(MID(A1,ROW(INDIRECT("1:100")),1)+0,""))
In the above formula, every item except A1 will be same for every situation. Instead of typing A1 you wou
This formula uses the MID formula which works from the inside out to remove non-numeric characters.
The ROW and INDIRECT functions act to reference an array of the numbers between 1 and 100.
Example:
We have the below raw data in the "Original Data" column and would like to make a column of only the n
the non-numerical values from a cell and only return the numerical values. This is useful
ained in a cell which has non-numeric values or if you need only numeric portions of a text string
A1,ROW(INDIRECT("1:100")),1)+0,""))
ry situation. Instead of typing A1 you would select the cell containing the value you would like to strip.
out to remove non-numeric characters.
he numbers between 1 and 100.
would like to make a column of only the numeric values beside it in the "Revised Data" column.
Copyright Commerce Curve www.commercecurve.com
SUM OF SMALLEST OR LARGES
Formula explanation
Syntax: =SUM(SMALL(array,{1,2,n})) or SUMPRODUCT(SMALL(array,{1,2,n})) --> both
=SUM(LARGE(array,{1,2,n})) or SUMPRODUCT(LARGE(array,{1,2,n})) --> both
Example
We have a set of values in the below table containing daily sales. We would like to find out the sum of th
Solution:
Using the SUM formula nested with the SMALL formula we can calculate the sum of the smallest 5 sales q
s. We would like to find out the sum of the smallest 5 sales for the month.
calculate the sum of the smallest 5 sales quantities for Janary 2020.
=SUM(SMALL(D26:D43,{1,2,3,4,5}))
=SUM(SMALL(B16:B33,{1,2,3,4,5}))
e. 8,9,10,11, and 13.