You are on page 1of 16

VLOOKUP - Item Info Extract

Column: 2 3 4 5 6 7
Order ID OrderDate Month Region Employee Item Units
10003 1/13/2011 Jan Midwest Smith Pencil 67

Order ID OrderDate Month Region Employee Item Units


10001 1/5/2011 Jan Midwest Adams Binder 94
10002 1/6/2011 Jan New England Jones Pencil 95
10003 1/13/2011 Jan Midwest Smith Pencil 67
10004 1/15/2011 Jan Midwest Dwyer Binder 46
10005 1/22/2011 Jan Midwest Andrews Binder 28
10006 1/23/2011 Jan Midwest Stevenson Binder 50
10007 1/30/2011 Jan New England Parent Pen Set 16
10008 2/1/2011 Feb Midwest Smith Binder 87
10009 2/7/2011 Feb New England Jones Pencil 95
10010 2/9/2011 Feb Midwest Adams Pencil 36
10011 2/16/2011 Feb Midwest Dwyer Binder 28
10012 2/18/2011 Feb New England Jones Binder 4
10013 2/24/2011 Feb Midwest Stevenson Binder 50
10014 2/26/2011 Feb Midwest Dwyer Pen 27
10015 3/5/2011 Mar Midwest Smith Pen 64
10016 3/7/2011 Mar West Coast Black Binder 7
10017 3/13/2011 Mar Midwest Adams Pencil 36
10018 3/15/2011 Mar West Coast Black Pencil 56
10019 3/22/2011 Mar New England Jones Pen 15
10020 3/24/2011 Mar Midwest Adams Pen Set 50
10021 3/30/2011 Mar Midwest Dwyer Pen 27
10022 4/1/2011 Apr New England Jones Binder 60
10023 4/8/2011 Apr West Coast Black Pen Set 96
10024 4/10/2011 Apr Midwest Andrews Pencil 66
10025 4/16/2011 Apr West Coast Black Pencil 56
10026 4/18/2011 Apr Midwest Andrews Pencil 75
10027 4/25/2011 Apr Midwest Adams Pencil 67
10028 4/27/2011 Apr New England Howard Pen 96
10029 5/3/2011 May New England Jones Binder 60
10030 5/5/2011 May Midwest Adams Pencil 90
10031 5/12/2011 May Midwest Andrews Pen Set 74
10032 5/14/2011 May Midwest Dwyer Pencil 53
10033 5/20/2011 May Midwest Andrews Pencil 75
10034 5/22/2011 May West Coast Thompson Pencil 32
10035 5/29/2011 May New England Howard Binder 46
10036 5/31/2011 May Midwest Dwyer Binder 80
10037 6/6/2011 Jun Midwest Adams Pencil 90
10038 6/8/2011 Jun New England Jones Binder 60
10039 6/15/2011 Jun Midwest Dwyer Binder 87
10040 6/17/2011 Jun Midwest Stevenson Desk 5
10041 6/23/2011 Jun West Coast Thompson Pencil 32
10042 6/25/2011 Jun Midwest Morgan Pencil 90
10043 7/2/2011 Jul Midwest Dwyer Binder 4
10044 7/4/2011 Jul New England Jones Pen Set 62
10045 7/10/2011 Jul New England Jones Binder 60
10046 7/12/2011 Jul New England Howard Binder 29
10047 7/19/2011 Jul Midwest Stevenson Binder 7
10048 7/21/2011 Jul Midwest Morgan Pen Set 55
10049 7/27/2011 Jul Midwest Morgan Pencil 90
10050 7/29/2011 Jul New England Parent Binder 81
10051 8/5/2011 Aug New England Jones Pen Set 50
10052 8/7/2011 Aug Midwest Stevenson Pen Set 42
10053 8/13/2011 Aug New England Howard Binder 29
10054 8/15/2011 Aug New England Jones Pencil 35
10055 8/22/2011 Aug Midwest Morgan Pencil 66
10056 8/24/2011 Aug West Coast Black Desk 3
10057 8/30/2011 Aug New England Parent Binder 81
10058 9/1/2011 Sep Midwest Smith Desk 2
10059 9/8/2011 Sep Midwest Stevenson Pen 96
10060 9/10/2011 Sep Midwest Dwyer Pencil 7
10061 9/16/2011 Sep New England Jones Pencil 35
10062 9/18/2011 Sep New England Jones Pen Set 16
10063 9/25/2011 Sep West Coast Black Pencil 53
10064 9/27/2011 Sep West Coast Black Pen 76
10065 10/3/2011 Oct Midwest Smith Desk 2
10066 10/5/2011 Oct Midwest Morgan Binder 28
10067 10/12/2011 Oct Midwest Dwyer Binder 80
10068 10/14/2011 Oct West Coast Thompson Binder 57
10069 10/20/2011 Oct New England Jones Pen Set 16
10070 10/22/2011 Oct New England Jones Pen 64
10071 10/29/2011 Oct West Coast Black Pen 76
10072 10/31/2011 Oct Midwest Andrews Pencil 14
10073 11/6/2011 Nov Midwest Morgan Binder 28
10074 11/8/2011 Nov New England Parent Pen 15
10075 11/15/2011 Nov West Coast Thompson Binder 57
10076 11/17/2011 Nov Midwest Adams Binder 11
10077 11/23/2011 Nov New England Jones Pen 64
10078 11/25/2011 Nov Midwest Stevenson Pen Set 96
10079 12/2/2011 Dec Midwest Andrews Pencil 14
10080 12/4/2011 Dec Midwest Adams Binder 94
10081 12/10/2011 Dec New England Parent Pen 15
10082 12/12/2011 Dec Midwest Smith Pencil 67
10083 12/19/2011 Dec Midwest Adams Binder 11
10084 12/21/2011 Dec Midwest Andrews Binder 28
10085 12/27/2011 Dec Midwest Stevenson Pen Set 96
10086 12/29/2011 Dec New England Parent Pen Set 74
8 9
Cost Total
1.29 86.43

Cost Total
19.99 1879.06
1.99 189.05
1.29 86.43
8.99 413.54
4.99 139.72
19.99 999.5
15.99 255.84
15 1305
1.99 189.05
4.99 179.64
8.99 251.72
4.99 19.96
19.99 999.5
19.99 539.73
8.99 575.36
19.99 139.93
4.99 179.64
2.99 167.44
19.99 299.85
4.99 249.5
19.99 539.73
4.99 299.4
4.99 479.04
1.99 131.34
2.99 167.44
1.99 149.25
1.29 86.43
4.99 479.04
4.99 299.4
4.99 449.1
15.99 1183.26
1.29 68.37
1.99 149.25
1.99 63.68
8.99 413.54
8.99 719.2
4.99 449.1
8.99 539.4
15 1305
125 625
1.99 63.68
4.99 449.1
4.99 19.96
4.99 309.38
8.99 539.4
1.99 57.71
19.99 139.93
12.49 686.95
4.99 449.1
19.99 1619.19
4.99 249.5
23.95 1005.9
1.99 57.71
4.99 174.65
1.99 131.34
275 825
19.99 1619.19
125 250
4.99 479.04
1.29 9.03
4.99 174.65
15.99 255.84
1.29 68.37
1.99 151.24
125 250
8.99 251.72
8.99 719.2
19.99 1139.43
15.99 255.84
8.99 575.36
1.99 151.24
1.29 18.06
8.99 251.72
19.99 299.85
19.99 1139.43
4.99 54.89
8.99 575.36
4.99 479.04
1.29 18.06
19.99 1879.06
19.99 299.85
1.29 86.43
4.99 54.89
4.99 139.72
4.99 479.04
15.99 1183.26
Syntax: =VLOOKUP( lookup_value , table_a

lookup_value: The value to search in the first column of the table array. Lookup_value can be
table_array: This is a reference to a range or a range name.
The values in the first column of table_array are the values searched by looku
col_index_num: The column number in table_array from which the matching value must be re
A col_index_num of 1 returns the value in the first column in table_array (sam
A col_index_num of 2 returns the value in the second column in table_array, a
range_lookup: A logical value that specifies whether you want VLOOKUP to find an exact ma
If TRUE or omitted, an exact or approximate match is returned.
If an exact match is not found, the next largest value that is less than lookup_
If FALSE, VLOOKUP will only find an exact match. In this case, the values in th
If there are two or more values in the first column of table_array that match t
If an exact match is not found, the error value #N/A is returned.

Sales Type Line Item Year Year Column


Book Sales Revenue 2011 2
Book Cost of Goods Sold 2011 2
Book Marketing/Advertising 2012 3
Online Net Profit Total 5
value , table_array, col_index_num, range_looku

e table array. Lookup_value can be a value or a reference.

are the values searched by lookup_value. These values can be text, numbers, or logical values.
ch the matching value must be returned.
e first column in table_array (same as the lookup_value).
e second column in table_array, and so on.
ant VLOOKUP to find an exact match or an approximate match:
e match is returned.
est value that is less than lookup_value is returned.
match. In this case, the values in the first column of table_array do not need to be sorted.
olumn of table_array that match the lookup_value, the first value found is used.
ue #N/A is returned.

VLOOKUP
$ 29,970
$ (18,000)
$ (8,994)
#REF!
table_array, col_index_num, range_lookup )

okup_value can be a value or a reference.

searched by lookup_value. These values can be text, numbers, or logical values.


value must be returned.
table_array (same as the lookup_value).
n in table_array, and so on.
find an exact match or an approximate match:

less than lookup_value is returned.


e, the values in the first column of table_array do not need to be sorted.
array that match the lookup_value, the first value found is used.

Notes
Manual VLOOKUP formula - Does not change unless formula is changed.
Lookup Value Changes - Grab Line Item Automatically using direct reference
Column Index Number Changes - Grab Year Column Number Automatically using VLOOKUP()
Lookup Range Changes - Get Sheet/Range Reference using INDIRECT()
Excel Exposure
Book Sales
2011 2012 2013

Units Sold 3,000 4,000 5,000


Avg. Price per Unit $ 9.99 $ 14.99 $ 19.99
Avg. Cost per Unit $ 6.00 $ 9.00 $ 12.00

Sales Revenue $ 29,970 $ 59,960 $ 99,950


Cost of Goods Sold $ (18,000) $ (36,000) $ (60,000)
Gross Profit $ 11,970 $ 23,960 $ 39,950

Marketing/Advertising $ (4,496) $ (8,994) $ (14,993)


Professional Fees $ (2,997) $ (5,996) $ (9,995)
Applied Rent $ (100) $ (100) $ (100)
Interest & Taxes $ (1,751) $ (3,548) $ (5,945)
Total Expenses $ (9,344) $ (18,638) $ (31,033)

Net Profit $ 2,627 $ 5,322 $ 8,918


Total

12,000
$ 15.82
$ 9.50

$ 189,880
$ (114,000)
$ 75,880

$ (28,482)
$ (18,988)
$ (300)
$ (11,244)
$ (59,014)

$ 16,866
Excel Exposure
Online Sales
2011 2012 2013

Units Sold 1,500 2,000 2,500


Avg. Price per Unit $ 5.00 $ 5.00 $ 5.00
Avg. Cost per Unit $ 3.00 $ 3.00 $ 3.00

Sales Revenue $ 7,493 $ 9,995 $ 12,497


Cost of Goods Sold $ (4,500) $ (6,000) $ (7,500)
Gross Profit $ 2,993 $ 3,995 $ 4,997

Marketing/Advertising $ (1,124) $ (1,499) $ (1,875)


Professional Fees $ (749) $ (1,000) $ (1,250)
Applied Rent $ (100) $ (100) $ (100)
Interest & Taxes $ (408) $ (559) $ (709)
Total Expenses $ (2,381) $ (3,157) $ (3,933)

Net Profit $ 612 $ 838 $ 1,064


Total

6,000
$ 5.00
$ 3.00

$ 29,984
$ (18,000)
$ 11,984

$ (4,498)
$ (2,998)
$ (300)
$ (1,675)
$ (9,471)

$ 2,513
Excel Exposure
Other Sales
2011 2012 2013

Units Sold 200 500 600


Avg. Price per Unit $ 5.00 $ 5.00 $ 5.00
Avg. Cost per Unit $ 3.00 $ 3.00 $ 3.00

Sales Revenue $ 999 $ 2,499 $ 2,999


Cost of Goods Sold $ (600) $ (1,500) $ (1,800)
Gross Profit $ 399 $ 999 $ 1,199

Marketing/Advertising $ (150) $ (375) $ (450)


Professional Fees $ (100) $ (250) $ (300)
Applied Rent $ (100) $ (100) $ (100)
Interest & Taxes $ (20) $ (110) $ (140)
Total Expenses $ (369) $ (834) $ (990)

Net Profit $ 30 $ 164 $ 210


Total

1,300
$ 5.00
$ 3.00

$ 6,497
$ (3,900)
$ 2,597

$ (975)
$ (650)
$ (300)
$ (269)
$ (2,193)

$ 404
Sheets Line Items Year Vlookup Column
Book Sales Revenue 2011 2
Online Cost of Goods Sold 2012 3
Other Gross Profit 2013 4
Marketing/Advertising Total 5
Professional Fees
Applied Rent
Interest & Taxes
Total Expenses
Net Profit

You might also like