Вы находитесь на странице: 1из 9

Description

The VLOOKUP function performs a vertical lookup by searching for a value in the first column of a
The VLOOKUP function is a built-in function in Excel that is categorized as a Lookup/Reference Function

Syntax
The syntax for the VLOOKUP function in Microsoft Excel is:
VLOOKUP( value, table, index_number, [approximate_match] )

Parameters or Arguments
value
The value to search for in the first column of the table.
table
Two or more columns of data that is sorted in ascending order.
index_number
The column number in table from which the matching value must be returned. The first column is 1.
approximate_match
Optional. Enter FALSE to find an exact match. Enter TRUE to find an approximate match. If this paramete

Returns
The VLOOKUP function returns any datatype such as a string, numeric, date, etc.
If you specify FALSE for the approximate_match parameter and no exact match is found, then the VLOOK
If you specify TRUE for the approximate_match parameter and no exact match is found, then the next sm
If index_number is less than 1, the VLOOKUP function will return #VALUE!.
If index_number is greater than the number of columns in table, the VLOOKUP function will return #REF!.

Note
See also the HLOOKUP function to perform a horizontal lookup.
Applies To
Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, E
in the first column of a table and returning the value in the same row in the index_number position.
a Lookup/Reference Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the VL

d. The first column is 1.

ximate match. If this parameter is omitted, TRUE is the default.

atch is found, then the VLOOKUP function will return #N/A.


tch is found, then the next smaller value is returned.

UP function will return #REF!.

ac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
ber position.
s a worksheet function, the VLOOKUP function can be entered as part of a formula in a cell of a worksheet.
a cell of a worksheet.
First Last DOB Age Segment Segment 2 Age Label
Sophia Collins 9/23/1978 62 18 New
Evelyn Bennett 2/14/1967 53 21 Young
Geneva Allen 6/6/1990 30 39 Mature
Silvia Walsh 5/30/1983 37 60 Senior
Katrina Rodriquez 12/23/1998 21
Sandy Day 7/24/1973 47
Dallas Roberts 6/12/1952 68 Age 18
Jamie Harrington 8/22/1958 62 Label New
Jermaine Shelton 10/23/1977 43
Freddie Baker 5/12/1968 52
21 39 60
Young Mature Senior
First Last Pcode Name
Smith Fred 5
Robbins Terry M
O'Neill Susan O
Parker Scott 2
Perkins Ralph 7
Talbot Angie 1
PARTY NAME
CODE
1 Green
2 Reform
3 Whig
4 Islamic Political Party of
America
5 Rock & Roll
6 Natural Law
7 Middle Class Pty
8 Humanist
9 Pragmatic
10 Conscious American African
Party
11 Parliament Party
12 United Conscious Builders of the
Dream Party
13 The Egalitarian Party
14 The Humanitarian Party
15 Scientifically Evolving
University Party
16 God, Truth & Love Party
17 Superhappy Party
18 Working Families Party
A Democratic
B Republican
C Decline to State
D American Independent
E Citizen Party
F Communist
G Conservative
H Environmentalist
I Ind. Progressive
J Liberal
K Peace & Freedom
L Prohibition
M New Economy
N Socialist
O Socialist Labor
P Pot Party
Q Libertarian
R Amer. Natl. Socialist
S Poor People’s Party
T Free
U National
V Constitution Party
W Vision
X Puritan
Y Federal
Z Misc.

Вам также может понравиться