Ch12 Excel365 WorksheetFormulas
Ch12 Excel365 WorksheetFormulas
Single Input-Output Formulas are formulas that operate on single inputs and deliver a single answer. These are the “Old S
formulas that have been around in Excel for the past 40 years and requires: 1) that you consider the different types of ce
references before you enter the formula, 2) that you enter the formula into one cell, and if the formula must be copied, 3
must manually copy the formula to other cells. This type of formula has single items entered into a function argument, lik
=FORMULATEXT(B1), or has single items on either side of an operator, like =A1*B1.
Array Formulas are formulas that have one or more array calculation internally in the formula, where the array calculatio
multiple items entered into a function argument, like =FORMULATEXT(B1:B4), or has multiple items on one or more sides
operator, like =A1*B1:B5, or A1:A5*B1, or A1:A5*B1:B5. This is the general term used to describe both types of array form
Scalar Array Formulas are array formulas that have one or more internal array calculations and deliver a single, scalar valu
Spilled Dynamic Array Formulas are array formulas that make one or more array calculations and deliver a spilled array o
answers to the worksheet.
Aggregate Formulas operate on an array of items and deliver a single answer.
Other Formulas:
Lookup formulas take a lookup value, find a match, and retrieve one or more values related to that match.
1 Equal Sign
2 Cell References (cells, ranges, worksheet and workbook reference)
3 Table Formula Nomenclature
4 Worksheet Functions
5 Reference Operators (colon, space, comma)
6 Math, Comparative and Join Operators
7 Spilled Range Operator
8 Implicit Intersection Operator
9 Data Type Operator or Dot Operator
10 Text within quotation marks
11 Function argument elements
12 Hard Coded values: Numbers (if they won’t change) Array constants
Ex 1 Goal: Calculate the average customer rating, rounded to the tenth.
The rounded value will be used in other formulas.
Type of Formula: Number formula. Aggregate formula.
Formula Elements: Equal sign, range of cells (cell references and colon reference operator),
worksheet functions, hard coded number.
Product Begin Units End Units Cost Each ($) COGS ($) COGS ($) Formula in cell F8:
Aspen 114 45 10
Quad 146 117 20
Carlota 108 102 15
Bellen 61 47 10
Sunset 54 51 12
Sheet Name:
#VALUE!
Ex 5 Goal: Calculate Cost of Goods Sold (COGS) = (Begin Units - End Units)*Cost Each
Type of Formula: Number formula. Single input-output formulas.
Formula Elements: Equal sign, relative cell references,
math operators (parentheses, subtraction, multiplication)
Product Begin Units End Units Cost Each ($) COGS ($) COGS ($) Formula in cell F8:
Aspen 114 45 10 690 =(C8-D8)*E8
Quad 146 117 20 580
Carlota 108 102 15 90
Bellen 61 47 10 140
Sunset 54 51 12 36
Sheet Name:
#VALUE!
Ex 6 Goal: Calculate Cost of Goods Sold (COGS) = (Begin Units - End Units)*Cost Each
Type of Formula: Number formula. Single input-output formula.
Formula Elements: Equal sign, table formula nomenclature relative cell reference with implicit
intersection operator, math operators (parentheses, subtraction, multiplication)
Product Begin Units End Units Cost Each ($) COGS ($) COGS ($) Formula in cell F8:
Aspen 114 45 10
Quad 146 117 20
Carlota 108 102 15
Bellen 61 47 10
Sunset 54 51 12
Sheet Name:
#VALUE!
Ex 6 Goal: Calculate Cost of Goods Sold (COGS) = (Begin Units - End Units)*Cost Each
Type of Formula: Number formula. Single input-output formula.
Formula Elements: Equal sign, table formula nomenclature relative cell reference with implicit
intersection operator, math operators (parentheses, subtraction, multiplication)
Product Begin Units End Units Cost Each ($) COGS ($) COGS ($) Formula in cell F8:
Aspen 114 45 10 690 =(UnitsTableEx10Answer[[#This Row],[Begin U
Quad 146 117 20 580
Carlota 108 102 15 90
Bellen 61 47 10 140
Sunset 54 51 12 36
swer[[#This Row],[Begin Units]]-UnitsTableEx10Answer[[#This Row],[End Units]])*UnitsTableEx10Answer[[#This Row],[Cost Each ($)]]
Sheet Name:
#VALUE!
y worksheet function.
dynamic array formula.
rentheses to facilitate comma operator,
ells, spilled range operator (#).
.3;79.8;39.9;70.7;81.6;21.3},{1;2;3;4;5})
d then spill the 5 values:
Sheet Name:
#VALUE!
Ex Goal: Extract top 5 Score from the combined Mid-Term and Final test columns.
#7 Formula Type #1: Number formula. Dynamic spilled array formula.
Formula #1 Elements: Equal sign, cell reference, SEQUENCE array worksheet function.
Formula Type #2: Number Formula. Aggregate formula. Dynamic spilled array formula.
Formula #2 Elements: Equal sign, LARGE worksheet function, parentheses to facilitate comma operator,
comma reference operator, colon reference operator, range of cells, spilled range operator (#).
y worksheet function.
c spilled array formula.
rentheses to facilitate comma operator,
ells, spilled range operator (#).
.3;79.8;39.9;70.7;81.6;21.3},{1;2;3;4;5})
d then spill the 5 values:
Sheet Name:
#VALUE!
Ex Goal: Add top three times. Then rank from biggest to smallest. "Top three" will not change.
#8 Formula Type #1: Number formula. Aggregate Formula. Scalar array formula.
Formula #1 Elements: Equal sign, SUM function, LARGE Function, relative range of cells, array constant.
Formula Type #2: Number formula. Dynamic spilled array formula.
Formula #2 Elements: Equal sign, RANK.EQ worksheet function, range of cells.
Formula #1 in cell H12:
Times in seconds:
Thrower Time 1 Time 2 Time 3 Time 4 Time 5 Add Top 3 Rank
Bower 0.00 86.87 92.40 80.89 85.09
Kavanaugh 72.09 108.27 73.70 93.34 0.00
Washington 55.26 85.96 89.82 34.85 31.66
Rose 88.21 62.77 99.25 6.82 43.69
Kinder 19.50 20.13 60.34 37.19 36.49
Gix 78.30 47.64 104.85 68.31 13.35
Steps for calculation of =SUM(LARGE(C12:G12,{1,2,3})) Steps for calculation of =RANK.EQ(H12:H17,H12:H17)
1. Array constant instructs LARGE to get the 3 biggest. 1. First argument in RANK.EQ contains numbers to rank.
This is a function argument array calculation. This is a function argument array calculation.
=SUM(LARGE(C12:G12,{1,2,3})) =RANK.EQ({264.36;275.31;231.04;113.38;134.02;251.46}
2. LARGE spills top 3 numbers into SUM function. ,H12:H17)
=SUM({92.4,86.87,85.09}) 2. Second argument in RANK.EQ has numbers to rank against
where: =RANK.EQ({264.36;275.31;231.04;113.38;134.02;251.46}
1st biggest = 92.4 {264.36;275.31;231.04;113.38;134.02;251.46})
2nd biggest = 86.87 3. RANK.EQ spills default rank of biggest to smallest.
3rd biggest = 85.09 2; 1; 4; 6; 5; 3
3. SUM aggregates to get sum.
264.36
ells, array constant.
=RANK.EQ(H12:H17,H12:H17)
NK.EQ contains numbers to rank.
gument array calculation.
275.31;231.04;113.38;134.02;251.46}
E(C12:G12,{1,2,3}))}
Formula #2 in cell I12:
{=RANK.EQ(H12:H17,H12:H17)}
=RANK.EQ(H12:H17,H12:H17)
NK.EQ contains numbers to rank.
gument array calculation.
275.31;231.04;113.38;134.02;251.46}
=SUM(XLOOKUP(G7,B6:E6,B7:E17))
r "Feb" in column array B6:E6.
2nd relative position,
umn in the range B6:E6.
b",{"Jan","Feb","Mar","Apr"},B7:E17))
e 2nd column in the table array B7:E17,
mns and 11 rows.
he the second column and all 11 rows.
158.82;7226.97;10693.79;15938.61;
1835.95;2908.59;28853.64;13961.18})
values to get:
Ex Goal: Lookup a a Month Column, then Add.
#10 Formula Type: Number Formula (that contains a lookup element). Scalar Array Formulas.
Formula Elements: Equal Sign, SUM & XLOOKUP Worksheet Functions, Cell Reference, Range of Cells.
Jan Feb Mar Apr Lookup Month Feb Total
21,704.52 10,672.77 11,987.75 11,654.43 Feb 160,301.25
1,604.38 21,158.82 14,929.82 18,194.66
3,536.33 7,226.97 13,059.04 25,213.06 Formula in cell H7:
27,354.21 10,693.79 24,935.78 5,844.56 =SUM(_xlfn.xlookup(G7,B6:E6,B7:E17))
22,394.95 15,938.61 19,165.14 5,523.23
2,820.34 22,778.17 12,240.00 10,999.83 Steps for calculation of =SUM(XLOOKUP(G7,B6:E6,B7:E17))
11,432.23 4,272.76 19,785.72 4,032.27 1. XLOOKUP searches for "Feb" in column array B6:E6.
16,217.27 21,835.95 24,855.78 9,270.93 Note: "Feb" is in the 2nd relative position,
8,617.16 2,908.59 29,276.89 28,564.07 which is the 2nd column in the range B6:E6.
2,095.04 28,853.64 27,587.91 7,965.32 =SUM(XLOOKUP("Feb",{"Jan","Feb","Mar","Apr"},B7:E17))
10,548.20 13,961.18 21,075.38 1,395.63 2. XLOOKUP looks for the 2nd column in the table array B7:E17,
which has has 4 columns and 11 rows.
XLOOKUP picks out the the second column and all 11 rows.
=SUM({10672.77;21158.82;7226.97;10693.79;15938.61;
22778.17;4272.76;21835.95;2908.59;28853.64;13961.18})
4. Sum adds the 11 row values to get:
160301.25
rray Formulas.
l Reference, Range of Cells.
=SUM(XLOOKUP(G7,B6:E6,B7:E17))
r "Feb" in column array B6:E6.
2nd relative position,
umn in the range B6:E6.
b",{"Jan","Feb","Mar","Apr"},B7:E17))
e 2nd column in the table array B7:E17,
mns and 11 rows.
he the second column and all 11 rows.
158.82;7226.97;10693.79;15938.61;
1835.95;2908.59;28853.64;13961.18})
values to get:
Ex Goal: List classes for each student.
#11 Formula Type: Lookup formula that delivers text values. Dynamic spilled array formula that will be copied.
Formula Elements: Equal sign, FILTER worksheet array function, absolute range of cells,
comparative operator, relative cell reference.
Student Class Grade List Classes For students:
Chantel Cann Busn 135 3.5
Chantel Cann Busn 101 3.1 #NAME? #NAME?
Chantel Cann Busn 216 3.4
Ty Worthy ENGL 101 2.9
Ty Worthy Busn 135 3.5
Ty Worthy Busn 210 2.9
Formula entered into F10 & copied through F10:G10.
tudent column.
135";"Busn 210"},
; Busn 216
Error if you try both names:
#NAME?
RxC RxC
6x2 3x2
#NAME?
#NAME? #NAME?
#NAME?
#NAME? #NAME?
0 0
0 0
0 0
0 0
0 0
0 0
0
0
0
0
0
Ex Goal: List classes for each student.
#11 Formula Type: Lookup formula that delivers text values. Dynamic spilled array formula that will be copied.
Formula Elements: Equal sign, FILTER worksheet array function, absolute range of cells,
comparative operator, relative cell reference.
Student Class Grade List Classes For students:
Chantel Cann Busn 101 3.1
Chantel Cann Busn 135 3.5 #NAME? #NAME?
Ty Worthy Busn 135 3.5 #NAME? #NAME?
Ty Worthy Busn 210 2.9 #NAME? #NAME?
Chantel Cann Busn 216 3.4 #NAME? #NAME?
Ty Worthy ENGL 101 2.9
Formula entered into F10 & copied through F10:G10.
{=_xlfn._xlws.filter($C$8:$C$13,$B$8:$B$13=F9)}
Steps for calculation of =FILTER($C$8:$C$13,$B$8:$B$13=F9) in cell F10:
1. Second argumnet in FILTER funcion runs a logical test on the Student column and asks: Is student Chantel Cann?
=FILTER($C$8:$C$13,
{"Chantel Cann";"Chantel Cann";"Chantel Cann";"Ty Worthy";"Ty Worthy";"Ty Worthy"}="Chantel Cann")
2. The Student column evaulates to TRUE for each row that where the student is "Chantel Cann".
=FILTER($C$8:$C$13,{TRUE;TRUE;TRUE;FALSE;FALSE;FALSE})
3. FILTER sees the pattern of TRUE values and uses it to filter the Student column.
=FILTER({"Busn 135";"Busn 101";"Busn 216";"ENGL 101";"Busn 135";"Busn 210"},
{TRUE;TRUE;TRUE;FALSE;FALSE;FALSE})
4. FILTER spilles the results down the rows: Busn 101; Busn 135; Busn 216
spilled array formula that will be copied.
bsolute range of cells,
tudent column.
135";"Busn 210"},
; Busn 216
Error if you try both names:
#NAME?
RxC RxC
6x2 3x2
#NAME?
#NAME? #NAME?
#NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
0
0
0
0
0
Ex Goal: Create formula report for total sales and total costs.
#12 Formula Type: Number formula. Dynamic spilled array formula that will be copied.
Formula Elements: Equal sign, SUMIFS worksheet function, relative range of cells,
absolute range of cells, absolute cell references with spilled range operator (#)
Date Product Sales ($) Cost ($) Product Total Sales ($) Total Costs ($)
8/12/2020 Quad 4,024.80 2,092.32 #NAME?
8/12/2020 Aspen 1,143.90 686.34 #NAME?
8/12/2020 Sunshine 1,161.50 569.64 #NAME?
8/12/2020 Yanaki 1,640.00 770.80 #NAME?
8/12/2020 Carlota 2,616.25 1,099.00 #NAME?
8/13/2020 Quad 3,144.75 1,415.40
8/13/2020 Aspen 1,046.25 606.75
8/13/2020 Sunshine 1,671.60 986.16 Formula entered into H8 & copied to I8.
8/13/2020 Yanaki 1,632.00 979.20
8/13/2020 Carlota 1,171.10 702.66
8/17/2020 Quad 3,159.16 1,642.76
8/17/2020 Aspen 3,461.56 1,730.78
8/17/2020 Sunshine 2,710.27 1,463.55
8/17/2020 Yanaki 4,798.18 2,543.04
8/17/2020 Carlota 3,891.44 2,179.21
Steps for calculation of =SUMIFS(D8:D22,$C$8:$C$22,$G$8#) in cell H8:
1. Second argument of SUMIFS evaluates the list of criteria for adding.
This is a function argument array calculation, where SUMIFS adds to get total for each product.
=SUMIFS(D8:D22,$C$8:$C$22,{"Aspen";"Carlota";"Quad";"Sunshine";"Yanaki"})
2. SUMIFS uses the criteria to get a total for each product, then spills the values down the rows.
5651.71; 7678.79; 10328.71; 5543.37; 8070.18
Ex Goal: Create formula report for total sales and total costs.
#12 Formula Type: Number formula. Dynamic spilled array formula that will be copied.
Formula Elements: Equal sign, SUMIFS worksheet function, relative range of cells,
absolute range of cells, absolute cell references with spilled range operator (#)
Date Product Sales ($) Cost ($) Product Total Sales ($) Total Costs ($)
8/12/2020 Quad 4,024.80 2,092.32 #NAME? #NAME? #NAME?
8/12/2020 Aspen 1,143.90 686.34 #NAME? #NAME? #NAME?
8/12/2020 Sunshine 1,161.50 569.64 #NAME? #NAME? #NAME?
8/12/2020 Yanaki 1,640.00 770.80 #NAME? #NAME? #NAME?
8/12/2020 Carlota 2,616.25 1,099.00 #NAME? #NAME? #NAME?
8/13/2020 Quad 3,144.75 1,415.40
8/13/2020 Aspen 1,046.25 606.75
8/13/2020 Sunshine 1,671.60 986.16 Formula entered into H8 & copied to I8.
8/13/2020 Yanaki 1,632.00 979.20 {=SUMIFS(D8:D22,$C$8:$C$22,_xlfn.anchorarray($G$8))}
8/13/2020 Carlota 1,171.10 702.66
8/17/2020 Quad 3,159.16 1,642.76
8/17/2020 Aspen 3,461.56 1,730.78
8/17/2020 Sunshine 2,710.27 1,463.55
8/17/2020 Yanaki 4,798.18 2,543.04
8/17/2020 Carlota 3,891.44 2,179.21
Steps for calculation of =SUMIFS(D8:D22,$C$8:$C$22,$G$8#) in cell H8:
1. Second argument of SUMIFS evaluates the list of criteria for adding.
This is a function argument array calculation, where SUMIFS adds to get total for each product.
=SUMIFS(D8:D22,$C$8:$C$22,{"Aspen";"Carlota";"Quad";"Sunshine";"Yanaki"})
2. SUMIFS uses the criteria to get a total for each product, then spills the values down the rows.
5651.71; 7678.79; 10328.71; 5543.37; 8070.18
rarray($G$8))}
Ex Goal: Determine whether to extend credit to a customer based on last year's sales and a credit rating.
#13 There are two rules that the company uses.
Formula Type: Logical formula. Single input-output formula.
Formula Elements: Equal sign, AND worksheet function, comparative operators (>=, >), mixed cell reference
with column locked, absolute cell reference, relative cell reference, mixed cell reference with row locked.
Hurdles >> Sales Rating1 Rating2
50,000 2.5 4.5
Customer Credit Analysis For Accounts Receivable
eceivable
=AND(TRUE,D13>D$9)
eceivable
=AND(TRUE,D13>D$9)
Rep
#NAME?
#NAME?
#NAME?
#NAME?
Length (min)
Table Element
Full Table
All Records
Field Names
Columns (the column is locked when it is copied down across rows and moves relatively as it is copied to
the side across the columns)
Relative Cell Reference (implicit intersection operator only works when reference is parallel to column)
Absolute Column References (to lock a reference, you use the colon operator between two field names,
and the place that inside of square brackets)
Total Row (access totals in last row)
Example Syntax
=CallTable[#All] Table[#All]
=CallTable Table
=CallTable[#Headers] Table[#Headers]
=CallTable[Rep] Table[FieldName]
=CallTable[@Rep] Table[@FieldName]
=CallTable[[Rep]:[Rep]]Table[[FieldName]:[FieldName]]
=CallTable[#Totals] Table[#Totals]
#NAME?
Ex Goal: Filter the call table to show records for selected call representative in cell G9.
#16 Formula Type: Lookup formula that delivers mixed data (date-times, text, numbers). Dynamic spilled
#17 array formula.
Formula Elements: Equal sign, FILTER worksheet array function, table formula nomenclature for table,
table formula nomenclature for column, Defined Name.
Date-Time Call Topic Rep Length (min) CallRepCondition
8/14/21 10:12 Service Sioux 13 Floyd
8/14/21 10:48 Plan Review Chantel 30
8/14/21 11:12 Bill Sioux 31 #N/A
8/14/21 12:06 Bill Floyd 4 {=_xlfn._xlws.filter(CallTable[],CallTable[Rep]=CallRepCondition
8/14/21 12:48 Other Floyd 25
8/14/21 13:06 Other Chantel 24 #NAME? #NAME? ###
8/14/21 14:42 Other Dino 15 #NAME? #NAME? ###
8/14/21 16:18 Other Chantel 5 #NAME? #NAME? ###
8/15/21 09:24 Bill Dino 28 #NAME? #NAME? ###
8/15/21 10:12 Service Chantel 22 #NAME? #NAME? ###
8/15/21 10:24 Plan Review Floyd 4 #NAME? #NAME? ###
8/15/21 11:54 Other Sioux 25
8/15/21 13:24 Plan Review Sioux 8
8/15/21 14:12 Service Dino 29
8/15/21 14:54 Service Floyd 27
8/15/21 15:54 Service Chantel 19
8/15/21 16:12 Plan Review Floyd 17
ynamic spilled
Rep
#NAME?
#NAME?
#NAME?
[],CallTable[Rep]=CallRepCondition)} #NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
Table Element Example
Full Table =CallTable[#All]
All Records =CallTable
Field Names =CallTable[#Headers]
Table[FieldName]
Table[@FieldName]
Table[[FieldName]:[FieldName]]
Table[#Totals]
#NAME?
Ex Goal: Convert stock names to stock data type, use dot operator to lookup ticker and current price.
#18 Formula #1 and #2 Type: Lookup formula using the dot operator on a stock data type.
Single input-output formula.
Formula #1 and #2 Elements: Equal sign, table formula nomenclature relative cell reference with
implicit intersection operator, dot operator, formula element from drop-down list.
Formula #3 Type: Number Formula. Single input-output formula.
Formula #3 Elements: Equal sign, table formula nomenclature relative cell reference with
implicit intersection operator, math multiplication operator.
Start:
Caterpillar Inc.
The Coca-Cola Company
Microsoft Corporation
Alphabet Inc.
City
Oakland
San Francisco
Berkeley
San Jose
End Current
Ticker Price Value
#NAME?
Ex Goal: Convert stock names to stock data type, use dot operator to lookup ticker and current price.
#18 Formula #1 and #2 Type: Lookup formula using the dot operator on a stock data type.
Single input-output formula.
Formula #1 and #2 Elements: Equal sign, table formula nomenclature relative cell reference with
implicit intersection operator, dot operator, formula element from drop-down list.
Formula #3 Type: Number Formula. Single input-output formula.
Formula #3 Elements: Equal sign, table formula nomenclature relative cell reference with
implicit intersection operator, math multiplication operator.
Start:
Caterpillar Inc.
The Coca-Cola Company
Microsoft Corporation
Alphabet Inc.
City
Oakland
San Francisco
Berkeley
San Jose
End Current
Ticker Price Value
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
#NAME? #NAME? #NAME?
=XLOOKUP(
B11,
'C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]LookupTable'!$B$3:$B$6,
'C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]LookupTable'!$D$3:$D$6,
"Not Found")
UP function
ThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]LookupTable'!$B$3:$B$6,
ThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]LookupTable'!$D$3:$D$6,
Formula in cell D11:
#NAME?
Ex Goal: Lookup product price using XLOOKUP function
#20 with lookup table in a different workbook file.
Formula Type: Lookup formula that delivers a number. Single input-output formula.
Formula Elements: Equal sign, XLOOKUP function, cell reference,
workbook reference range of cells, text in quotes.
Invoicing Calculation:
Product Units Price ($)
Quad 144 =XLOOKUP(B11,'C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch12\[Ch12-E
Formula in cell D11:
=XLOOKUP(
B11,
'C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]LookupTable'!$B$3:$B$6,
'C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]LookupTable'!$D$3:$D$6,
"Not Found")
UP function
OOKUP(B11,'C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]LookupTable'!$B$3:$B$6,'C:\Us
ThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]LookupTable'!$B$3:$B$6,
ThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]LookupTable'!$D$3:$D$6,
e.xlsx]LookupTable'!$B$3:$B$6,'C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]LookupTable
h12-Excel365-LookupTable.xlsx]LookupTable'!$D$3:$D$6,"Not Found")
Formula in cell D11:
#NAME?
Ex Goal: Add Quad units from different workbook using SUMPRODUCT function rather than SUMIFS.
# Formula #2 Type: Scalar Array Formulas. Number formula. Single input-output formula.
21 Formula #2 Elements: Equal sign, SUMPRODUCT function, cell reference, workbook references,
comparative operator equal sign, math operators: parentheses and negation.
Product Sum with SUMIFS Sum with SUMPRODUCT
Quad
Formula #1 in cell C8:
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$11,
-Excel365-LookupTable.xlsx]SUMIFSDataTable'!$B$3:$B$11=B8))
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$11,
"Carlota";"Aspen"}=B8))
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$11,
arlota";"Aspen"}="Quad"))
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$11,
PRODUCT(
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$11,
#NAME?
Ex Goal: Add Quad units from different workbook using SUMPRODUCT function rather than SUMIFS.
# Formula #2 Type: Scalar Array Formulas. Number formula. Single input-output formula.
21 Formula #2 Elements: Equal sign, SUMPRODUCT function, cell reference, workbook references,
comparative operator equal sign, math operators: parentheses and negation.
Product Sum with SUMIFS Sum with SUMPRODUCT
Quad =SUMIFS('C:\Users\mgir=SUMPRODUCT('C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch
Formula #1 in cell C8:
=SUMIFS(
'C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$
'C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]SUMIFSDataTable'!$B$3:$B$
B8)
Formula #2 in cell D8:
=SUMPRODUCT(
'C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$
--('C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]SUMIFSDataTable'!$B$3:$B
Steps for calculation of SUMPRODUCT formula in cell D8:
'C:\Users\mgirvin\Desktop\TheOnlyAppThatMatters\Ch12\[Ch12-Excel365-LookupTable.xlsx]SUMIFSDataTable'!$C
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$11,
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$B$3:$B$11,
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$11,
-Excel365-LookupTable.xlsx]SUMIFSDataTable'!$B$3:$B$11=B8))
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$11,
-Excel365-LookupTable.xlsx]SUMIFSDataTable'!$B$3:$B$11=B8))
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$11,
"Carlota";"Aspen"}=B8))
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$11,
arlota";"Aspen"}="Quad"))
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$11,
PRODUCT(
xcel365-LookupTable.xlsx]SUMIFSDataTable'!$C$3:$C$11,
#NAME?
Ex Goal: Lookup intersecting value from two ranges.
#22 Formula Type: Lookup formula that delivers a number.
Formula Elements: Equal sign, range of cells, space operator.
Call Rep/Month Jan Feb Mar
Floyd 158 349 204
Gigi 382 180 416
Chantel 420 484 135
Reverse Lookup:
Reverse Lookup:
Sioux
Quad
Add units for the sales rep Sioux and the product Quad for Jan to Apr to get: 12 + 55 + 44 + 66 = 177
Ex Goal: Add Sales Rep/Product Units for Jan. to Apr.
#24 Formula Type: Aggregate Formula. Number Formula.
Formula Elements: Equal sign, SUM function,
3-D cell reference across worksheets,
worksheet names with colon operator.
SalesRep/Product Quad Carlota Sunset
Sioux
Abdi
Chantel
Shanea
Ex Goal: Add units by sales rep & product for Jan. to Apr.
#24 Formula Type: Aggregate formula. Number formula.
Formula Elements: Equal sign, SUM function,
3-D cell reference across worksheets,
worksheet names with colon operator.
SalesRep/Product Quad Carlota Sunset
Sioux 177 209 319
Abdi 396 156 324
Chantel 309 373 346
Shanea 182 240 309
Formula in cell C9, manually copied to range C9:E12:
=SUM($Jan.C5:$Apr.C5)
Store Units
1
0 or omitted = descending (default)
1 = ascending
Ex Goal: List student class below each student name.
#25 Formula Type: Lookup formula. Text formula. Dynamic spilled array formula.
Formula Elements: Equal sign, FILTER array function,
table formula nomenclature with absolute column reference.
Student Class Shinea Chantel Dylan
Shinea Busn 216
Chantel Busn 210
Dylan Math 111
Shinea Accgt 121
Chantel Math 148
Dylan Econ 201
Shinea Busn 135
Dylan Engl 98
Goals:
Date Product Units Sales Price Cost Line Sales ($) Line Costs ($)
8/13/2020 Quad 144 27.95 14.53 4,024.80 2,092.32
8/13/2020 Aspen 82 13.95 8.37 1,143.90 686.34
8/13/2020 Sunshine 101 11.5 5.64 1,161.50 569.64
8/13/2020 Yanaki 164 10 4.7 1,640.00 770.80
8/13/2020 Carlota 175 14.95 6.28 2,616.25 1,099.00
8/12/2020 Quad 105 29.95 13.48 3,144.75 1,415.40
8/12/2020 Aspen 75 13.95 8.09 1,046.25 606.75
8/12/2020 Sunshine 168 9.95 5.87 1,671.60 986.16
8/12/2020 Yanaki 136 12 7.2 1,632.00 979.20
8/12/2020 Carlota 98 11.95 7.17 1,171.10 702.66
Formula in cell G7:
{=D7:D16*E7:F16}
Goals:
Calculate total sales and total costs with spilled array formula that spills from cell G7.
Goal:
Center Calls Day 1 Calls Day 2 Calls Day 3 Calls Day 4 Calls Day 5
Center #1 962 166 254 698 760
Center #2 849 142 442 407 575
Center #3 306 458 776 509 524
Center #4 1004 155 192 401 1147
Center #5 383 535 643 710 925
Center #6 926 382 657 360 905
Center #7 886 445 130 466 442
Formula in C4:
Goal:
Center Calls Day 1 Calls Day 2 Calls Day 3 Calls Day 4 Calls Day 5
Center #1 962 166 254 698 760
Center #2 849 142 442 407 575
Center #3 306 458 776 509 524
Center #4 1004 155 192 401 1147
Center #5 383 535 643 710 925
Center #6 926 382 657 360 905
Center #7 886 445 130 466 442
Formula in C4:
=SUM(C7:C13,G7:G13)
Goal:
Add Day 1 and Day 5 calls.
Center Calls Day 1 Calls Day 2 Calls Day 3 Calls Day 4 Calls Day 5
Center #1 962 166 254 698 760
Center #2 849 142 442 407 575
Center #3 306 458 776 509 524
Center #4 1004 155 192 401 1147
Center #5 383 535 643 710 925
Center #6 926 382 657 360 905
Center #7 886 445 130 466 442
Formula in E4:
Goal:
Display top 3 call amounts from Day 1 and Day 5: 1,147 1004 962
Center Calls Day 1 Calls Day 2 Calls Day 3 Calls Day 4 Calls Day 5
Center #1 962 166 254 698 760
Center #2 849 142 442 407 575
Center #3 306 458 776 509 524
Center #4 1004 155 192 401 1147
Center #5 383 535 643 710 925
Center #6 926 382 657 360 905
Center #7 886 445 130 466 442
Goal:
Create formula that will spill to display top 3 call amounts from Day 1 and Day 5:
Center Calls Day 1 Calls Day 2 Calls Day 3 Calls Day 4 Calls Day 5
Center #1 962 166 254 698 760
Center #2 849 142 442 407 575
Center #3 306 458 776 509 524
Center #4 1004 155 192 401 1147
Center #5 383 535 643 710 925
Center #6 926 382 657 360 905
Center #7 886 445 130 466 442
Formula in E4:
Goal:
Center Calls Day 1 Calls Day 2 Calls Day 3 Calls Day 4 Calls Day 5
Center #1 962 166 254 698 760
Center #2 849 142 442 407 575
Center #3 306 458 776 509 524
Center #4 1004 155 192 401 1147
Center #5 383 535 643 710 925
Center #6 926 382 657 360 905
Center #7 886 445 130 466 442
Goal:
Create formula that will spill to display top 3 call amounts from Day 1 and Day 5:
Goal:
=AND(C13>$C$9,D13>=$D$9,E13=$E$9)
Goal:
Create logical formula in cell G13 that you can copy through range G13:G16.
Run AND Logical Test
Goal:
Goal:
Create formula to spill the sales values for each product.
Create a spilled formula in cell F10. Then copy the formula through to F10:H10
Then add conditional formatting to color the cells with spilled formulas
Goal:
Goal:
Add Data Validation List to cell G10 that will only allow the sales rep
names from the range B10:D10.
Create formula in cell G11 that will add the sales for
the sales rep name in cell G10.
FS(C11:C40,B11:B40,G10)
2. Describe the difference between what you did in Practice Problem 8 and in Practice Problem 9.
4. List all the different types of references that you can use in an Excel formula.
Number Fo(End Time-Start Time)*24 Number Formulas, example: (End Time-Start Time)*24
Text Formu"Item #"&C2 Text Formulas, example: "Item #"&C2
Logical For AND(B2>=SalesHurdle,C2="No") Logical Formulas, example: AND(B2>=SalesHurdle,C2="No")
Single Inp (End Time-Start Time)*24 Single Input-Output Formulas, example: (End Time-Start Time)*24
Scalar ArraSUM(LARGE((C7:C13,G7:G13),{1,2Scalar Array Formulas, example: SUM(LARGE((C7:C13,G7:G13),{1,2,3}))
Spilled Dy FILTER($D$9:$D$20,$B$9:$B$20=Spilled Dynamic Array Formulas, example: FILTER($D$9:$D$20,$B$9:$B$20=F
Aggregate SUM(A2:A10) Aggregate Formulas, example: SUM(A2:A10)
Lookup for[@Stock].[Ticker symbol] Lookup formulas, example: [@Stock].[Ticker symbol]
#NAME?
rt Time)*24
G7:G13),{1,2,3}))
9:$D$20,$B$9:$B$20=F8)
1. List the different types of worksheet formulas and give an example of each.
#8 was a "Lookup a column" based on a condition formula. Then we used SUM to add column. #9 was a "adding with one
formula is much more common that the SUM and XLOOKUP formula.
3. When can a formula spill?
A formula can spill when one of these happens: 1) you make a function argument array operation in a function that delive
an operator, like A1*B2:B10, B2:B10*A1 or A2:A10*B2:B10, 3) You use an array function like SORT or UNIQUE to deliver v
4. List all the different types of references that you can use in an Excel formula.
Cell Reference, Relative Reference, Absolute Reference, Mixed with Column Locked Reference, Mixed with Row Locked Re
Table Names and Table Formula Nomenclature, Spilled Range Operator (#).
Number Fo(End Time-Start Time)*24 Number Formulas, example: (End Time-Start Time)*24
Text Formu"Item #"&C2 Text Formulas, example: "Item #"&C2
Logical For AND(B2>=SalesHurdle,C2="No") Logical Formulas, example: AND(B2>=SalesHurdle,C2="No")
Single Inp (End Time-Start Time)*24 Single Input-Output Formulas, example: (End Time-Start Time)*24
Scalar ArraSUM(LARGE((C7:C13,G7:G13),{1,2Scalar Array Formulas, example: SUM(LARGE((C7:C13,G7:G13),{1,2,3}))
Spilled Dy FILTER($D$9:$D$20,$B$9:$B$20=Spilled Dynamic Array Formulas, example: FILTER($D$9:$D$20,$B$9:$B$20=F
Aggregate SUM(A2:A10) Aggregate Formulas, example: SUM(A2:A10)
Lookup for[@Stock].[Ticker symbol] Lookup formulas, example: [@Stock].[Ticker symbol]
#NAME?
was a "adding with one condition" formula. We used SUMIFS on a proper data set. The SUMIFS
in a function that delivers result to cell, 2) You have more than one item on one or more sides of
or UNIQUE to deliver values as the last step in the evaluation process.
xed with Row Locked Reference, Worksheet Reference, Workbook Reference, Defined Names,
rt Time)*24
G7:G13),{1,2,3}))
9:$D$20,$B$9:$B$20=F8)