Sumproduct Pty Limited: Primary Developer: Liam Bastick General Cover Notes
Sumproduct Pty Limited: Primary Developer: Liam Bastick General Cover Notes
1 Table of Contents
Cover
Style Guide
Model Parameters
Replacing the LOOKUP Family
New Features for XLOOKUP
XMATCH
Error Checks
Navigator
Error Checks: þ
Empty Empty
WIP WIP
3 Numerical Styles
1 General
Key Inputs
General
Model Name
Client Name SumProduct Pty Limited
Technical Assumptions
Days in Year 365
Months in Month 1
Months in Quarter 3
Months in Half Yr 6
Months in Year 12
Quarters in Year 4
Rounding Accuracy 5
Thousand 1000
Navigator
Error Checks: þ
1 HLOOKUP Replacement
Example
Data
Solution
Student Xiu
ID No. 1331
2 VLOOKUP Replacement
Example
Data
Student ID
Graham 1333
Alice 1331
Mitch 1392
Wendy 1867
Xiu 3589
Brian 2364
Toby 3717
Solution
Student Xiu
XLOOKUP #NAME? {=_xlfn.xlookup(H52,F41:F47,G41:G47)}
3 LOOKUP Replacement
Example
Assumptions
LOOKUP Solution
=LOOKUP(G$74,$G$67:$K$68)
XLOOKUP Solution
{=_xlfn.xlookup(G$82,$G$67:$K$67,$G$68:$K$68,-1)}
=IF(G$90<$G$67,$G$68,LOOKUP(G$90,$G$67:$K$68))
Example
Assumptions
Numbers 1 2 3 4 5
Letters
A
B
C
D
E
Letter Chosen B
Corresponding Number
LOOKUP 2 =LOOKUP(H112,F105:F109,G102:K102)
2027 2028
#NAME? #NAME?
2027 2028
7% 7%
Navigator
Error Checks: þ
1 Approximate Matches
Example
Data
Letter Value
A 7
B 4
C 2
D 4
E -3
Solution
Search Value 7
Match Mode
0 -1 1 2
1 #NAME? #NAME? #NAME? #NAME? {=_xlfn.xlookup($G$21,$I$12:$I$16,$H
Search Mode
2 Selecting a Vector
Example
Data
Exam Marks
Solution
Student Mitch
Subject Physics
3 Vector Lookups
Example
Data
Q1 Q2 Q3 Q4
Graham 1,498 1,578 2,453 1,149
Alice 1,616 1,374 1,255 1,589
Mitch 1,567 1,251 1,797 1,368
Wendy 2,439 1,382 2,107 2,399
Xiu 1,063 1,427 1,436 1,942
Brian 1,250 1,786 2,309 1,195
Toby 1,211 2,491 1,611 2,059
Solution
Quarter Q2
4 Creating Mini-Ranges
Example
Data
Solution
Example
Data
Solution
Customer Alice
Date Payment
Last Payment #NAME? #NAME?
{=_xlfn.xlookup($G$130,$G$113:$G$125,H$113:H$125,,-1)}
6 Exact Matches
Example
Data
Label Amount
SumProduct 1 #NAME?
Sum Product 2 #NAME?
SumProduct 4 #NAME?
Some Product 8 #NAME?
sumproduct 16 #NAME?
sumProduct 32
SumproducT 64
SumProduct 128
Sum Product 256
Different 512
Solution
7 Wildcards
Example
Data
Item Amount
John 1
Jon 2
Jonathan 4
Jonathon 8
Johnny 16
Jonny 32
Solution
Selection J?n*n*
Brian Toby
56% 50%
53% 49%
42% 53%
45% 73%
74% 70%
54% 50%
55% 67%
ookup(G51,H39:N39,H40:N46))}
G46,0),MATCH(G51,H39:N39,0))
Dec 19
95:S95):_xlfn.xlookup(G101,H94:S94,H95:S95))
G159),I145:I154)}
G159),I145:I154,,-1)}
Navigator
Error Checks: þ
Example
Data
Values
#DIV/0!
14
-7
6.2
9
-7
#REF!
7
1
5.2
9
4
1
Results
lookup_value -6.7
match_mode -1
search_mode -1
XMATCH 6 =_xlfn.xmatch(G30,F13:F25,G31,G32)
Navigator
Error Checks: þ
1 Error Checks
Summary of Errors
Assumptions
Unused
Summary of Errors þ