0% found this document useful (0 votes)
27 views

Lookup Formulas

The document provides 10 examples of using lookup formulas in Excel for accounting tasks. Example 1 demonstrates using VLOOKUP with exact match to lookup prices and create an invoice. Example 2 shows using partial text lookups with VLOOKUP and other functions to handle data mismatches. Example 3 uses VLOOKUP with approximate matching to lookup employee ratings and commissions based on their sales amounts.

Uploaded by

nawplaypo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Lookup Formulas

The document provides 10 examples of using lookup formulas in Excel for accounting tasks. Example 1 demonstrates using VLOOKUP with exact match to lookup prices and create an invoice. Example 2 shows using partial text lookups with VLOOKUP and other functions to handle data mismatches. Example 3 uses VLOOKUP with approximate matching to lookup employee ratings and commissions based on their sales amounts.

Uploaded by

nawplaypo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 53

Excel for Accounting (2-7-2023)

Lookup Formula Topics:


Example 1: Data Validation List. VLOOKUP, Exact Match. IF & ISBLANK functions. Goal: Create Invoice.
Example 2: How to use VLOOKUP Exact Match, LEFT, MID and SEARCH to do a "Partial Text Lookup. Learn about Data Mismatc
Example 3: VLOOKUP with Approximate Match Lookup. Cell Reference for Column Index Number. Goal: Get Rating and Comm
Example 4: VLOOKUP with Approximate Match and MATCH functions with Exact Match. MATCH for Column Index Number. Go
Example 5: Use MATCH to Compare Two Lists. Goal: Is an item in List 1 also in List 2?
Example 6: INDEX and MATCH functions to do a "Lookup Left". Goal: Given a flight range, lookup boomerang name in first colu
Example 7: INDEX and MATCH to find Vendor for Low Bid. INDEX array argument is a row. Goal: lookup vendor name for lowe
Example 8: How to use VLOOKUP & CHOOSE to do a lookup to multiple tables. Goal: Lookup Commission rate from Multiple Lo
Example 9: Multiple VLOOKUP functions. Goal: Calculate taxes from complex tax table.
Example 10: SUMPRODUCT & LOOKUP functions with Approximate Match. Goal: "Lookup Adding" to get total revenue
https://www.youtube.com/watch?v=Aww2WV7WJ7I&list=PLrRPvpgDm

up. Learn about Data Mismatch. Goal: Lookup Product Price.


r. Goal: Get Rating and Commission.
for Column Index Number. Goal: Retrieve Rating & Commission.

p boomerang name in first column.


lookup vendor name for lowest bid.
mmission rate from Multiple Lookup Tables.

g" to get total revenue


2WV7WJ7I&list=PLrRPvpgDmw0ndqetqYG0ocKrr-3FvouJ-&index=9&t=6s
Example 1: Data Validation List. VLOOKUP, Exact Match. IF & ISBLANK functions. Goal: Create Invoice.

Boomerang Part Number Flight Range (meters)


Bellen 1000-165-B100 25
Carlota 1001-540-C101 20
Majestic Beaut 1002-394-M102 35
Quad 1003-307-Q103 20
Sunshine 1004-848-S104 30
Sunset 1005-155-S105 40
Tri-Fly 1006-552-T106 1
Outdoor Tri-Fly 1007-634-O107 5

Invoice Example:
Product Units Price
Majestic Beaut 5
Sunshine 2
Quad 10
Sunset 12

Subtotal
ns. Goal: Create Invoice.

Price
$26.95
$28.95
$31.95
$35.95
$18.95
$20.95
$4.95
$8.95

Total Price Price


31.95 31.95
18.95 18.95
35.95 35.95
20.95 20.95

0
Example 1: Data Validation List. VLOOKUP, Exact Match. IF & ISBLANK functions. Goal: Create Invoice.

Boomerang Part Number Flight Range (meters)


Bellen 1000-165-B100 25
Carlota 1001-540-C101 20
Majestic Beaut 1002-394-M102 35
Quad 1003-307-Q103 20
Sunshine 1004-848-S104 30
Sunset 1005-155-S105 40
Tri-Fly 1006-552-T106 1
Outdoor Tri-Fly 1007-634-O107 5

Invoice Example:
Product Units Price
Majestic Beaut 5 31.95
Sunshine 2 18.95
Quad 10 35.95
Sunset 12 20.95

Subtotal
ns. Goal: Create Invoice.

Price
$26.95
$28.95
$31.95
$35.95
$18.95
$20.95
$4.95
$8.95

Total Price Price


159.75 31.95 31.95
37.9 18.95 18.95
359.5 35.95 35.95
251.4 20.95 20.95

808.55
Example 2: How to use VLOOKUP Exact Match, LEFT, MID and SEARCH to do a "Partial Text Lookup. Learn about Data Mismatc

ID Price Price "Data Mismatch" ID


Bellen-234-B25R Bellen Bellen
Carlota-345-C20R Carlota
Quad-765-Q20L Quad

ID
234
345
765
earn about Data Mismatch. Goal: Lookup Product Price.

Price
$26.00
$23.00
$36.00

Price
$26.00
$23.00
$36.00
Example 2: How to use VLOOKUP Exact Match, LEFT, MID and SEARCH to do a "Partial Text Lookup. Learn about Data Mismatc

ID Price Price "Data Mismatch" ID


Bellen-234-B25R $26.00 $26.00 Bellen
Carlota-345-C20R $23.00 $23.00 Carlota
Quad-765-Q20L $36.00 $36.00 Quad

ID
FALSE 234
345
765
earn about Data Mismatch. Goal: Lookup Product Price.

Price
$26.00
$23.00
$36.00

Price
$26.00
$23.00
$36.00
Example 3: VLOOKUP with Approximate Match Lookup. Cell Reference for Column Index Number. Goal: Get Rating and Comm

Sales Amount Rating Commission Paid


$0.00 Sub Par $0.00
$1,000.00 Par $20.00
$2,500.00 Above Par $100.00
$7,000.00 Very Good $250.00
$10,000.00 Excellent $700.00

2
Employee Sales Rating
Sioux $7,598.00
Kim $68.00
Gigi $15,980.00
Franny $2,499.99
lumn Index Number. Goal: Get Rating and Commission.

3
Commission Paid
Example 3: VLOOKUP with Approximate Match Lookup. Cell Reference for Column Index Number. Goal: Get Rating and Comm

Sales Amount Rating Commission Paid


$0.00 Sub Par $0.00
$1,000.00 Par $20.00
$2,500.00 Above Par $100.00
$7,000.00 Very Good $250.00
$10,000.00 Excellent $700.00

2
Employee Sales Rating
Sioux $7,598.00 Very Good
Kim $68.00 Sub Par
Gigi $15,980.00 Excellent
Franny $2,499.99 Par
lumn Index Number. Goal: Get Rating and Commission.

3
Commission Paid
250
0
700
20
Example 4: VLOOKUP with Approximate Match and MATCH functions with Exact Match. MATCH for Column Index Number. G
MATCH function is a lookup function.
MATCH function returns the relative position of an item in a list.
This method is dynamic: 1) columns can be in any order and 2) If you change input formula updates.

Sales Amount Rating Commission Paid


$0.00 Sub Par $0.00
$1,000.00 Par $20.00
$2,500.00 Above Par $100.00
$7,000.00 Very Good $250.00
$10,000.00 Excellent $700.00

Employee Sales Rating


Sioux $7,598.00
Kim $68.00
Gigi $15,980.00
Franny $2,499.99
act Match. MATCH for Column Index Number. Goal: Retrieve Rating & Commission.

nput formula updates.

Commission Paid
Example 4: VLOOKUP with Approximate Match and MATCH functions with Exact Match. MATCH for Column Index Number. G
MATCH function is a lookup function.
MATCH function returns the relative position of an item in a list.
This method is dynamic: 1) columns can be in any order and 2) If you change input formula updates.

Sales Amount Rating Commission Paid


$0.00 Sub Par $0.00
$1,000.00 Par $20.00
$2,500.00 Above Par $100.00
$7,000.00 Very Good $250.00
$10,000.00 Excellent $700.00

3
Employee Sales Commission Paid
Sioux $7,598.00 250
Kim $68.00 0
Gigi $15,980.00 700
Franny $2,499.99 20
act Match. MATCH for Column Index Number. Goal: Retrieve Rating & Commission.

nput formula updates.

2
Rating
Very Good
Sub Par
Excellent
Par
Example 5: Use MATCH to Compare Two Lists. Goal: Is an item in List 1 also in List 2?
Notes:
MATCH: reports relative position of item in a list
F4 key adds $ signs to lock range (make absolute).
ISNUMBER: reports TRUE when it sees a number

Has prospective customer made it into our master list due to our sales phone calls?
List 2 = Customers we have made sales calls to.
Master Customer List Prospective Customers
List 1 List 2
Fran's Produce Julie's Produce
Produce Fast And Fresh Health Choice Fruit
Veggies And Fruit Delight Fresh Delights
Fruit & Veggie Delights Healthy Garden Produce
Clean & Neat Produce CA Produce
Julie's Produce Best For U
Fruits And Nuts R Us Gigi's Produce
Table Ready Produce Fruit & Veggie Inc.
Freshy Produce Veggies And Fruit Delight
Veggie Are THE Way Delight & Health
Greens Delight Produce Fast And Fresh
Garden Fresh Garden Health
Garden Ready
Best Garden Produce ** Is Item In List use: ISNUMBER & MATCH
Fresh Produce Inc.
Fresh Delights
Down To Earth
Fruit & Veggie Health
Garden Fresh Produce
ers we have made sales calls to.

Is item in List 2 in List 1?

use: ISNUMBER & MATCH


Example 5: Use MATCH to Compare Two Lists. Goal: Is an item in List 1 also in List 2?
Notes:
MATCH: reports relative position of item in a list
F4 key adds $ signs to lock range (make absolute).
ISNUMBER: reports TRUE when it sees a number

Has prospective customer made it into our master list due to our sales phone calls?
List 2 = Customers we have made sales calls to.
Master Customer List Prospective Customers
List 1 List 2
Fran's Produce Julie's Produce
Produce Fast And Fresh Health Choice Fruit
Veggies And Fruit Delight Fresh Delights
Fruit & Veggie Delights Healthy Garden Produce
Clean & Neat Produce CA Produce
Julie's Produce Best For U
Fruits And Nuts R Us Gigi's Produce
Table Ready Produce Fruit & Veggie Inc.
Freshy Produce Veggies And Fruit Delight
Veggie Are THE Way Delight & Health
Greens Delight Produce Fast And Fresh
Garden Fresh Garden Health
Garden Ready
Best Garden Produce ** Is Item In List use: ISNUMBER & MATCH
Fresh Produce Inc.
Fresh Delights
Down To Earth
Fruit & Veggie Health
Garden Fresh Produce
ers we have made sales calls to.

Is item in List 2 in List 1? Is item NOT in List 2 in List 1?


1 FALSE
FALSE TRUE
TRUE FALSE
FALSE TRUE
FALSE TRUE
FALSE TRUE
FALSE TRUE
FALSE TRUE
TRUE FALSE
FALSE TRUE
TRUE FALSE
FALSE TRUE

use: ISNUMBER & MATCH


Example 6: INDEX and MATCH functions to do a "Lookup Left". Goal: Given a flight range, lookup boomerang name in first colu
INDEX function: Can do many looks that VLOOKUP cannot
array argument = values that you want to retrieve. array can be a table, a column, or a row.
row_num argument = tells INDEX what row to look at to retrieve a value. If the array in a one-way array, row_num tells INDEX
column_num argument tells INDEX what column to look at to retrieve a value. If you put 0 or omitted, it will get "all the colum

Use INDEX as a substitute for VLOOKUP when the value you want to return is to the
left of the lookup column.
Product Price Description
V Range $12.95 Flying Range is 10
Quad $39.95 Flying Range is 20
Weighted Sunset $40.00 Flying Range is 50
Weighted MB $45.00 Flying Range is 60
S Rang $65.00 Flying Range is 70
Long D $69.00 Flying Range is 80
Long D Squared $100.00 Flying Range is 85
Dan's Special $110.00 Flying Range is 110
Manu Magic $165.00 Flying Range is 160

1-Way Lookup Vertical: Lookup Column to Left


Description Product
Flying Range is 20
merang name in first column.

ay, row_num tells INDEX what relative position to look at to retrieve a value. If you put 0 or omitted, it will get "all the rows" (whole colum
it will get "all the columns" (whole row).

2
the rows" (whole column).
Example 6: INDEX and MATCH functions to do a "Lookup Left". Goal: Given a flight range, lookup boomerang name in first colu
INDEX function: Can do many looks that VLOOKUP cannot
array argument = values that you want to retrieve. array can be a table, a column, or a row.
row_num argument = tells INDEX what row to look at to retrieve a value. If the array in a one-way array, row_num tells INDEX
column_num argument tells INDEX what column to look at to retrieve a value. If you put 0 or omitted, it will get "all the colum

Use INDEX as a substitute for VLOOKUP when the value you want to return is to the
left of the lookup column.
Product Price Description
V Range $12.95 Flying Range is 10
Quad $39.95 Flying Range is 20
Weighted Sunset $40.00 Flying Range is 50
Weighted MB $45.00 Flying Range is 60
S Rang $65.00 Flying Range is 70
Long D $69.00 Flying Range is 80
Long D Squared $100.00 Flying Range is 85
Dan's Special $110.00 Flying Range is 110
Manu Magic $165.00 Flying Range is 160

1-Way Lookup Vertical: Lookup Column to Left


Description Product
Flying Range is 60 Weighted MB
merang name in first column.

ay, row_num tells INDEX what relative position to look at to retrieve a value. If you put 0 or omitted, it will get "all the rows" (whole colum
it will get "all the columns" (whole row).

4
the rows" (whole column).
Example 7: INDEX and MATCH to find Vendor for Low Bid. INDEX array argument is a row. Goal: lookup vendor name for lowe

Venders and bids:

Crank'ys Bay Air Compressor R Us Mech-Aid Han's Shop


$38.99 $48.60 $43.53 $40.08 $47.92
$57.68 $31.80 $52.78 $31.42 $55.19
$53.32 $32.64 $37.69 $48.29 $41.59
$35.20 $40.55 $32.65 $36.81 $41.14
$56.72 $47.16 $36.42 $49.56 $39.25
$47.91 $35.08 $51.13 $49.84 $42.12
$34.81 $35.11 $48.63 $33.32 $37.83
$42.25 $35.76 $58.60 $46.28 $40.53
$40.14 $42.31 $37.62 $59.97 $42.57
$36.48 $40.79 $53.24 $51.01 $51.24
$38.57 $40.06 $54.71 $39.70 $54.73
$52.66 $43.61 $59.98 $34.61 $52.65
a row. Goal: lookup vendor name for lowest bid.

Low Bid Vendor for Low Bid


$38.99
$31.42
$32.64
$32.65
$36.42
$35.08
$33.32
$35.76
$37.62
$36.48
$38.57
$34.61
Example 7: INDEX and MATCH to find Vendor for Low Bid. INDEX array argument is a row. Goal: lookup vendor name for lowe

Venders and bids:

Crank'ys Bay Air Compressor R Us Mech-Aid Han's Shop


$38.99 $48.60 $43.53 $40.08 $47.92
$57.68 $31.80 $52.78 $31.42 $55.19
$53.32 $32.64 $37.69 $48.29 $41.59
$35.20 $40.55 $32.65 $36.81 $41.14
$56.72 $47.16 $36.42 $49.56 $39.25
$47.91 $35.08 $51.13 $49.84 $42.12
$34.81 $35.11 $48.63 $33.32 $37.83
$42.25 $35.76 $58.60 $46.28 $40.53
$40.14 $42.31 $37.62 $59.97 $42.57
$36.48 $40.79 $53.24 $51.01 $51.24
$38.57 $40.06 $54.71 $39.70 $54.73
$52.66 $43.61 $59.98 $34.61 $52.65
a row. Goal: lookup vendor name for lowest bid.

Low Bid Vendor for Low Bid


$38.99 Crank'ys
$31.42 Mech-Aid
$32.64 Bay Air
$32.65 Compressor R Us
$36.42 Compressor R Us
$35.08 Bay Air
$33.32 Mech-Aid
$35.76 Bay Air
$37.62 Compressor R Us
$36.48 Crank'ys
$38.57 Crank'ys
$34.61 Mech-Aid
Example 8: How to use VLOOKUP & CHOOSE to do a lookup to multiple tables. Goal: Lookup Commission rate from Multiple L

CHOOSE functions allows you to lookup things like different lookup tables.
=CHOOSE(index_num, value1,value2, …)
index_num is a number like 1, 2, 3, 4
value1 = lookup table 1
value2 = lookup table 2
value3 = lookup table 3
If index_num is 2, then the lookup table 2 will be returned by CHOOSE to the VLOOKUP function

VLOOKUP & CHOOSE with 3 lookup tables

Product Units Sold Table Commission Rate


ABC 431
EDR 65
EDS 563
ABC 493
EDS 188

ABC 1 Commission Rate


EDR 2
EDS 3
ion rate from Multiple Lookup Tables.

ABC
Units Sold Commission Rate
0 1.00%
100 2.00%
200 4.00%
500 6.00%

EDR
Units Sold Commission Rate
0 1.00%
200 2.00%
300 4.00%
400 6.00%

EDS
Units Sold Commission Rate
0 2.00%
300 3.00%
500 4.00%
750 5.00%
Example 8: How to use VLOOKUP & CHOOSE to do a lookup to multiple tables. Goal: Lookup Commission rate from Multiple L

CHOOSE functions allows you to lookup things like different lookup tables.
=CHOOSE(index_num, value1,value2, …)
index_num is a number like 1, 2, 3, 4
value1 = lookup table 1
value2 = lookup table 2
value3 = lookup table 3
If index_num is 2, then the lookup table 2 will be returned by CHOOSE to the VLOOKUP function

VLOOKUP & CHOOSE with 3 lookup tables

Product Units Sold Table Commission Rate


ABC 431 1 4.00%
EDR 65 2 1.00%
EDS 563 3 4.00%
ABC 493 1 4.00%
EDS 188 3 2.00%

ABC 1 Commission Rate


EDR 2 4.00%
EDS 3 1.00%
4.00%
4.00%
2.00%
ion rate from Multiple Lookup Tables.

ABC
Units Sold Commission Rate
0 1.00%
100 2.00%
200 4.00%
500 6.00%

EDR
Units Sold Commission Rate
0 1.00%
200 2.00%
300 4.00%
400 6.00%

EDS
Units Sold Commission Rate
0 2.00%
300 3.00%
500 4.00%
750 5.00%
Example 9: Multiple VLOOKUP functions. Goal: Calculate taxes from complex tax table.
Tax Example:
Married

Lookup Value Over -- But not over -- Rate


$0 $0 $1,313 0%
$1,313.01 $1,313 $2,038 10%
$2,038.01 $2,038 $6,304 15%
$6,304.01 $6,304 $9,844 25%
$9,844.01 $9,844 $18,050 28%
$18,050.01 $18,050 $31,725 33%
$31,725.01 $31,725 35%

Taxable Earnings $15,896.00

Tax from Previous brackets


Tax Rate
Amount already taxed
Amount to tax in this
bracket
Total Tax

Total Tax
Tax from Previous
brackets Rule
$0.00 Zero Tax
$0.00 10% of excess over $1,313
$72.50 $72.50 + 15% of excess over $2,038
$712.40 $712.40 + 25% of excess over $6,304
$1,597.40 $1,597.40 + 28% of excess over $9,844
$3,895.08 $3,895.08 + 33% of excess over $18,050
$8,407.83 $8,407.83 + 35% of excess over $31,725
Example 9: Multiple VLOOKUP functions. Goal: Calculate taxes from complex tax table.
Tax Example:
Married

Lookup Value Over -- But not over -- Rate


$0 $0 $1,313 0%
$1,313.01 $1,313 $2,038 10%
$2,038.01 $2,038 $6,304 15%
$6,304.01 $6,304 $9,844 25%
$9,844.01 $9,844 $18,050 28%
$18,050.01 $18,050 $31,725 33%
$31,725.01 $31,725 35%

Taxable Earnings $15,896.00 14,583.00

Tax from Previous brackets $1,597.40


Tax Rate 28.00%
Amount already taxed $9,844.00
Amount to tax in this
bracket $6,052.00
Total Tax $3,291.96

Total Tax $3,291.96


Tax from Previous
brackets Rule
$0.00 Zero Tax
$0.00 10% of excess over $1,313
$72.50 £72.50 + 15% of excess over £2,038
$712.40 £712.40 + 25% of excess over £6,304
$1,597.40 £1,597.40 + 28% of excess over £9,844
$3,895.08 £3,895.08 + 33% of excess over £18,050
$8,407.83 £8,407.83 + 35% of excess over £31,725
Example 10: SUMPRODUCT & LOOKUP functions with Approximate Match. Goal: "Lookup Adding" to get total revenue
LOOKUP: 1) Only does Approximate Match, 2) If Rows taller or equal to columns in lookup table it does Vertical Lookup, 3) It a
SUMPRODUCT: takes arrays of same dimensions, 1) Multiplies them, then 2) Adds.
Reason we use LOOKUP: LOOKUP lookup_value argument can do a function argument array operation, but VLOOKUP lookup_

A company that sells rolls of fence needs to calculate total revenue from a list of customer transactions and a pricin
Given the transactional data table with the number of rolls of fence sold for each transaction and the pricing table,
calculate total revenue and count the number of transactions that fell into each pricing category.

Data set with number of rolls of fence sold for each transaction:

Number of Total Revenue


Date Rolls Price Revenue Helper Column
9/16/2015 540
9/15/2015 360
9/16/2015 12
9/15/2015 468
9/17/2015 48
9/18/2015 84
9/17/2015 540
9/18/2015 492
9/18/2015 204
9/15/2015 408
9/17/2015 780
9/16/2015 444
9/15/2015 432
9/16/2015 456
9/16/2015 768
9/17/2015 528
9/15/2015 624
9/17/2015 372
9/18/2015 588
9/15/2015 504
9/16/2015 504
9/18/2015 660
9/16/2015 468
9/18/2015 492
9/18/2015 204
9/15/2015 168
9/17/2015 84
9/17/2015 588
9/15/2015 240
9/18/2015 696
9/15/2015 360
9/15/2015 264
9/15/2015 612
9/16/2015 792
9/18/2015 12
9/18/2015 324
9/15/2015 324
9/15/2015 588
9/17/2015 492
9/15/2015 804
9/15/2015 540
9/17/2015 468
9/15/2015 624
9/16/2015 396
9/15/2015 36
9/18/2015 384
9/15/2015 132
9/18/2015 312
9/16/2015 492
9/17/2015 516
9/16/2015 744
9/15/2015 240
9/17/2015 252
9/15/2015 768
9/15/2015 468
9/15/2015 720
9/17/2015 804
9/17/2015 192
9/15/2015 732
9/17/2015 216
9/15/2015 648
9/16/2015 432
9/15/2015 384
9/15/2015 144
9/18/2015 684
9/15/2015 216
9/15/2015 480
9/15/2015 384
9/15/2015 84
9/15/2015 756
9/18/2015 744
9/18/2015 300
9/15/2015 576
9/18/2015 408
9/17/2015 420
9/16/2015 240
9/17/2015 96
9/16/2015 348
9/18/2015 420
9/18/2015 132
9/15/2015 516
9/17/2015 576
9/18/2015 288
9/15/2015 492
9/15/2015 636
9/16/2015 348
9/15/2015 168
9/15/2015 264
9/18/2015 600
9/15/2015 216
9/18/2015 648
9/17/2015 288
9/16/2015 684
9/15/2015 168
9/16/2015 756
9/17/2015 648
9/15/2015 696
9/17/2015 456
9/16/2015 696
9/17/2015 252
9/16/2015 732
9/18/2015 132
9/17/2015 744
9/18/2015 732
9/17/2015 312
9/18/2015 288
9/17/2015 108
9/18/2015 540
9/15/2015 648
9/16/2015 156
9/18/2015 12
9/16/2015 216
9/15/2015 660
9/18/2015 168
9/17/2015 624
9/15/2015 72
9/16/2015 444
9/17/2015 204
9/17/2015 576
9/18/2015 84
9/18/2015 108
9/16/2015 228
9/15/2015 408
9/16/2015 516
9/16/2015 804
9/18/2015 696
9/16/2015 264
9/15/2015 396
9/15/2015 780
9/17/2015 12
9/16/2015 432
9/15/2015 216
9/18/2015 768
9/15/2015 204
9/16/2015 540
9/17/2015 300
9/15/2015 804
9/16/2015 132
9/17/2015 804
9/17/2015 168
9/15/2015 96
9/17/2015 588
9/15/2015 384
9/17/2015 456
9/17/2015 24
9/18/2015 684
9/17/2015 384
9/15/2015 192
9/16/2015 300
9/18/2015 684
9/16/2015 288
9/18/2015 432
9/16/2015 648
9/16/2015 324
9/16/2015 24
9/15/2015 552
9/17/2015 168
9/17/2015 744
9/17/2015 228
9/16/2015 636
9/16/2015 312
9/16/2015 36
9/17/2015 492
9/17/2015 660
9/15/2015 756
9/18/2015 288
9/18/2015 408
9/16/2015 384
9/18/2015 612
9/15/2015 600
9/17/2015 432
9/16/2015 300
" to get total revenue
does Vertical Lookup, 3) It always lookup item in last column.

ation, but VLOOKUP lookup_value can NOT.

r transactions and a pricing table.


on and the pricing table,

Pricing Table:

Total Revenue Price per Roll


Single Cell Formula Units From Units To (100 feet)
0 143 $198.00
144 288 $187.00
289 577 $168.00
578 and up $152.00
Example 10: SUMPRODUCT & LOOKUP functions with Approximate Match. Goal: "Lookup Adding" to get total revenue
LOOKUP: 1) Only does Approximate Match, 2) If Rows taller or equal to columns in lookup table it does Vertical Lookup, 3) It a
SUMPRODUCT: takes arrays of same dimensions, 1) Multiplies them, then 2) Adds.
Reason we use LOOKUP: LOOKUP lookup_value argument can do a function argument array operation, but VLOOKUP lookup_

A company that sells rolls of fence needs to calculate total revenue from a list of customer transactions and a pricin
Given the transactional data table with the number of rolls of fence sold for each transaction and the pricing table,
calculate total revenue and count the number of transactions that fell into each pricing category.

Data set with number of rolls of fence sold for each transaction:

Number of Total Revenue


Date Rolls Price Revenue Helper Column
9/16/2015 540 $168.00 $90,720.00 $11,852,436.00
9/15/2015 360 $168.00 $60,480.00
9/16/2015 12 $198.00 $2,376.00
9/15/2015 468 $168.00 $78,624.00
9/17/2015 48 $198.00 $9,504.00
9/18/2015 84 $198.00 $16,632.00
9/17/2015 540 $168.00 $90,720.00
9/18/2015 492 $168.00 $82,656.00
9/18/2015 204 $187.00 $38,148.00
9/15/2015 408 $168.00 $68,544.00
9/17/2015 780 $152.00 $118,560.00
9/16/2015 444 $168.00 $74,592.00
9/15/2015 432 $168.00 $72,576.00
9/16/2015 456 $168.00 $76,608.00
9/16/2015 768 $152.00 $116,736.00
9/17/2015 528 $168.00 $88,704.00
9/15/2015 624 $152.00 $94,848.00
9/17/2015 372 $168.00 $62,496.00
9/18/2015 588 $152.00 $89,376.00
9/15/2015 504 $168.00 $84,672.00
9/16/2015 504 $168.00 $84,672.00
9/18/2015 660 $152.00 $100,320.00
9/16/2015 468 $168.00 $78,624.00
9/18/2015 492 $168.00 $82,656.00
9/18/2015 204 $187.00 $38,148.00
9/15/2015 168 $187.00 $31,416.00
9/17/2015 84 $198.00 $16,632.00
9/17/2015 588 $152.00 $89,376.00
9/15/2015 240 $187.00 $44,880.00
9/18/2015 696 $152.00 $105,792.00
9/15/2015 360 $168.00 $60,480.00
9/15/2015 264 $187.00 $49,368.00
9/15/2015 612 $152.00 $93,024.00
9/16/2015 792 $152.00 $120,384.00
9/18/2015 12 $198.00 $2,376.00
9/18/2015 324 $168.00 $54,432.00
9/15/2015 324 $168.00 $54,432.00
9/15/2015 588 $152.00 $89,376.00
9/17/2015 492 $168.00 $82,656.00
9/15/2015 804 $152.00 $122,208.00
9/15/2015 540 $168.00 $90,720.00
9/17/2015 468 $168.00 $78,624.00
9/15/2015 624 $152.00 $94,848.00
9/16/2015 396 $168.00 $66,528.00
9/15/2015 36 $198.00 $7,128.00
9/18/2015 384 $168.00 $64,512.00
9/15/2015 132 $198.00 $26,136.00
9/18/2015 312 $168.00 $52,416.00
9/16/2015 492 $168.00 $82,656.00
9/17/2015 516 $168.00 $86,688.00
9/16/2015 744 $152.00 $113,088.00
9/15/2015 240 $187.00 $44,880.00
9/17/2015 252 $187.00 $47,124.00
9/15/2015 768 $152.00 $116,736.00
9/15/2015 468 $168.00 $78,624.00
9/15/2015 720 $152.00 $109,440.00
9/17/2015 804 $152.00 $122,208.00
9/17/2015 192 $187.00 $35,904.00
9/15/2015 732 $152.00 $111,264.00
9/17/2015 216 $187.00 $40,392.00
9/15/2015 648 $152.00 $98,496.00
9/16/2015 432 $168.00 $72,576.00
9/15/2015 384 $168.00 $64,512.00
9/15/2015 144 $187.00 $26,928.00
9/18/2015 684 $152.00 $103,968.00
9/15/2015 216 $187.00 $40,392.00
9/15/2015 480 $168.00 $80,640.00
9/15/2015 384 $168.00 $64,512.00
9/15/2015 84 $198.00 $16,632.00
9/15/2015 756 $152.00 $114,912.00
9/18/2015 744 $152.00 $113,088.00
9/18/2015 300 $168.00 $50,400.00
9/15/2015 576 $168.00 $96,768.00
9/18/2015 408 $168.00 $68,544.00
9/17/2015 420 $168.00 $70,560.00
9/16/2015 240 $187.00 $44,880.00
9/17/2015 96 $198.00 $19,008.00
9/16/2015 348 $168.00 $58,464.00
9/18/2015 420 $168.00 $70,560.00
9/18/2015 132 $198.00 $26,136.00
9/15/2015 516 $168.00 $86,688.00
9/17/2015 576 $168.00 $96,768.00
9/18/2015 288 $187.00 $53,856.00
9/15/2015 492 $168.00 $82,656.00
9/15/2015 636 $152.00 $96,672.00
9/16/2015 348 $168.00 $58,464.00
9/15/2015 168 $187.00 $31,416.00
9/15/2015 264 $187.00 $49,368.00
9/18/2015 600 $152.00 $91,200.00
9/15/2015 216 $187.00 $40,392.00
9/18/2015 648 $152.00 $98,496.00
9/17/2015 288 $187.00 $53,856.00
9/16/2015 684 $152.00 $103,968.00
9/15/2015 168 $187.00 $31,416.00
9/16/2015 756 $152.00 $114,912.00
9/17/2015 648 $152.00 $98,496.00
9/15/2015 696 $152.00 $105,792.00
9/17/2015 456 $168.00 $76,608.00
9/16/2015 696 $152.00 $105,792.00
9/17/2015 252 $187.00 $47,124.00
9/16/2015 732 $152.00 $111,264.00
9/18/2015 132 $198.00 $26,136.00
9/17/2015 744 $152.00 $113,088.00
9/18/2015 732 $152.00 $111,264.00
9/17/2015 312 $168.00 $52,416.00
9/18/2015 288 $187.00 $53,856.00
9/17/2015 108 $198.00 $21,384.00
9/18/2015 540 $168.00 $90,720.00
9/15/2015 648 $152.00 $98,496.00
9/16/2015 156 $187.00 $29,172.00
9/18/2015 12 $198.00 $2,376.00
9/16/2015 216 $187.00 $40,392.00
9/15/2015 660 $152.00 $100,320.00
9/18/2015 168 $187.00 $31,416.00
9/17/2015 624 $152.00 $94,848.00
9/15/2015 72 $198.00 $14,256.00
9/16/2015 444 $168.00 $74,592.00
9/17/2015 204 $187.00 $38,148.00
9/17/2015 576 $168.00 $96,768.00
9/18/2015 84 $198.00 $16,632.00
9/18/2015 108 $198.00 $21,384.00
9/16/2015 228 $187.00 $42,636.00
9/15/2015 408 $168.00 $68,544.00
9/16/2015 516 $168.00 $86,688.00
9/16/2015 804 $152.00 $122,208.00
9/18/2015 696 $152.00 $105,792.00
9/16/2015 264 $187.00 $49,368.00
9/15/2015 396 $168.00 $66,528.00
9/15/2015 780 $152.00 $118,560.00
9/17/2015 12 $198.00 $2,376.00
9/16/2015 432 $168.00 $72,576.00
9/15/2015 216 $187.00 $40,392.00
9/18/2015 768 $152.00 $116,736.00
9/15/2015 204 $187.00 $38,148.00
9/16/2015 540 $168.00 $90,720.00
9/17/2015 300 $168.00 $50,400.00
9/15/2015 804 $152.00 $122,208.00
9/16/2015 132 $198.00 $26,136.00
9/17/2015 804 $152.00 $122,208.00
9/17/2015 168 $187.00 $31,416.00
9/15/2015 96 $198.00 $19,008.00
9/17/2015 588 $152.00 $89,376.00
9/15/2015 384 $168.00 $64,512.00
9/17/2015 456 $168.00 $76,608.00
9/17/2015 24 $198.00 $4,752.00
9/18/2015 684 $152.00 $103,968.00
9/17/2015 384 $168.00 $64,512.00
9/15/2015 192 $187.00 $35,904.00
9/16/2015 300 $168.00 $50,400.00
9/18/2015 684 $152.00 $103,968.00
9/16/2015 288 $187.00 $53,856.00
9/18/2015 432 $168.00 $72,576.00
9/16/2015 648 $152.00 $98,496.00
9/16/2015 324 $168.00 $54,432.00
9/16/2015 24 $198.00 $4,752.00
9/15/2015 552 $168.00 $92,736.00
9/17/2015 168 $187.00 $31,416.00
9/17/2015 744 $152.00 $113,088.00
9/17/2015 228 $187.00 $42,636.00
9/16/2015 636 $152.00 $96,672.00
9/16/2015 312 $168.00 $52,416.00
9/16/2015 36 $198.00 $7,128.00
9/17/2015 492 $168.00 $82,656.00
9/17/2015 660 $152.00 $100,320.00
9/15/2015 756 $152.00 $114,912.00
9/18/2015 288 $187.00 $53,856.00
9/18/2015 408 $168.00 $68,544.00
9/16/2015 384 $168.00 $64,512.00
9/18/2015 612 $152.00 $93,024.00
9/15/2015 600 $152.00 $91,200.00
9/17/2015 432 $168.00 $72,576.00
9/16/2015 300 $168.00 $50,400.00
g" to get total revenue
it does Vertical Lookup, 3) It always lookup item in last column.

eration, but VLOOKUP lookup_value can NOT.

er transactions and a pricing table.


ction and the pricing table,

Pricing Table:

Total Revenue Price per Roll


Single Cell Formula Units From Units To (100 feet)
$11,852,436.00 0 143 $198.00
144 288 $187.00
289 577 $168.00
578 and up $152.00

You might also like