Practice Material Day7 VLOOKUP, HLOOKUP (Upload)

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 16

VLOOKUP

Looks for a value un the leftmost column of a table, and then returns a value in
the same row from a column you specify.
look_up_value
table_array
col_index_num

left-hand column of the table array


[range_lookup] TRUE or omitted Closet Match must be ascending order
0 Exact Match
HLOOKUP

Looks for a value in the top row of a table of a table, and then returns a value in
the same column from a row you specify.
look_up_value
table_array
row_index_num

[range_lookup] TRUE or omitted Closet Match

0 Exact Match
HLOOKUP

top row of a table of a table, and then returns a value in


row you specify.

upper-hand row of the table array


must be ascending order
VLOOK

ID Last Name First Name Title Birthday


101 Davis Sara Sales Rep. 7/14/1961
102 Fortana Olivier V.P. of sales 9/26/1982
103 Leal Karina Sales Rep. 5/2/1981 (omit)
104 Patten Michael Sales Rep. 8/30/1963 TRUE
105 Burke Brian Sales Mgr. 6/26/1954 (omit)
106 Sousa Luis Sales Rep. 7/21/1963 0

Vlookup look_up_value table_array col_index_num [range_lookup]


"Fortana" B2:E7 2 0 =
102 A2:C7 2 0 =
2 0 =
"Pa*" B2:E7
4 0 =
"Le?l" B2:E7 2 0 =

VLOOKUP(104,A2:E7,3,FALSE)&" "&VLOOKUP(104,A2:E7,2,FALSE)&" is a "&VLO

VLOOKUP(104,A2:E7,3,FALSE)&"' "&VLOOKUP(104,A2:E7,2,FALSE)&"'s birthday is a "&VLOOK

IF(VLOOKUP(103,A1:E7,2,False)="Sousa", "Located", "Not fo


VLOOKUP_Exact Match

left-hand column of the table array


Closet Match must be ascending order
Exact Match

Expect
Olivier Olivier
Fortana
Michael
8/30/1963
Karina
Expect
04,A2:E7,2,FALSE)&" is a "&VLOOKUP(104,A2:E7,4,FALSE) =

LSE)&"'s birthday is a "&VLOOKUP(104,A2:E7,5,FALSE) = ???

se)="Sousa", "Located", "Not found") =


Practice1_Exact Match

ID Last Name First Name Title Birthday


101 Davis Sara Sales Rep. 7/14/1961
102 Fortana Olivier V.P. of sales 9/26/1982
103 Leal Karina Sales Rep. 5/2/1981
104 Patten Michael Sales Rep. 8/30/1963
105 Burke Brian Sales Mgr. 6/26/1954
106 Sousa Luis Sales Rep. 7/21/1963

Last Name First Name Birthday


Burke Brian 6/26/1956/26/1954
Davis Sara 7/14/1961
Fortana Olivier 9/26/1982
Leal Karina 5/2/1981
Patten Michael 8/30/1963
Sousa Luis 7/21/1963
Practice2_Exact Match

Employee Name Hourly Rate


Atkins, James $ 35.50
Benn, Carol $ 25.00
Benson, Paul $ 32.00
Cooper, David $ 28.50
Daley, Ann $ 41.00
Dawson, Helen $ 32.00

Employee Name Hours Worked Hourly Rate Pay Vlookup


Atkins, James 37.5
Benn, Carol 40
Benson, Paul 39
Cooper, David 25
Daley, Ann 38
Dawson, Helen 20
tch

look_up_value table_array col_index_num [range_lookup]


B12 B2:C8 2 0
B13
B14
B15
B16
B17
Practice3_Exact Match

Employee Name Hourly Rate Employee Name


Atkins, James $35.50 Atkins, James
Benn, Carol $25.00 Benn, Carol
Benson, Paul $32.00 Benson, Paul
Cooper, David $28.50 Cooper, David
Daley, Ann $41.00 Daley, Ann
Dawson, Helen $32.00 Dawson, Helen
Match

Hours Worked Hourly Rate Pay


37.5
40
39
25
38
20

Vlookup look_up_value table_array col_index_num [range_lookup]


G7
G8
G9
Practice!B7:C12 2 0
G10
G11
G12
Practice4_Closet Match

Lower Balance Upper Balance Interest Rate Bank Account


$0.00 $999.99 2% ABC-12345678
$1,000.00 $4,999.99 3% DEF-23456789
$5,000.00 $19,999.99 4% GHI-34567890
$20,000.00 5%
Balance Interest Rate Vlookup look_up_value table_array
$5.69 A2
$55,222.00 A3 'Interest Rates'!$A$2:$C$5
$4,500.00 A4
col_index_num [range_lookup]

3 1
Practice5_HLOOKUP

Test Score

AB34567 TE33433 AB35521 RQ09863 YE53826 YE02848 SJ39472 YW00247


ID Number
7 2 3 0 4 5 3 5
Working Period 12 15 10 7 5 11 6 21
Semester Fall Spring Spring Fall Fall Spring Fall Spring
Score 20 18 6 14 20 20 14 15

Working
ID Number Semester Score
Period
AB34567
7
AB35521
3
HO03842
3
KS99342
3
NW03042
5
RQ09863
0
SH99323
4
SJ39472
3
TE33433
2
UI002374
YE02848
5
YE53826
4
YW00247
5
P

HO03842 SH99323 NW03042 KS99342


UI002374
3 4 5 3
14 7 18 14 24
Fall Fall Fall Fall Spring
5 11 9 7 16

You might also like