VLookup and HLookup in Microsoft Excel
VLookup and HLookup in Microsoft Excel
HLOOKUP in
Microsoft Excel
VLookup
• Searches for a value in
the first column of a Collingsworth 1
table array and returns a Comanche 1
value in the same row Dallas 16
from another column in
the table array. Denton 6
El Paso 4
Ellis 2
Fannin 1
Fort Bend 1
Galveston 4
HLookup
• Searches for a value in the top row of a table
or an array of values, and then returns a value
in the same column from a row you specify in
the table or array.
Inciden
Inciden
ce
ce Rate
Rate
by
by
County
County
Example
wo worksheets:
“Case Count” has a list of case counts by coun
“County Population” has a list of all counties
with their populations.
County
•=VLOOKUP(A2,'Case Count'!
$A$1:$B$58,2,FALSE)
•This formula will return an error for any
county that has no cases.
•What we really want is 0