View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default VLOOKUP Function to return values in multipal Columns

Maybe:

=VLOOKUP(C5,Sheet1!B$1:g$16,2,FALSE)
=VLOOKUP(C5,Sheet1!B$1:g$16,3,FALSE)
=VLOOKUP(C5,Sheet1!B$1:g$16,4,FALSE)
=VLOOKUP(C5,Sheet1!B$1:g$16,5,FALSE)
=VLOOKUP(C5,Sheet1!B$1:g$16,5,FALSE)



KP wrote:

I'm using the VLOOKUP function to look up value in another sheet and return
the corresponding value, My problem is It works for the first column but the
how do I get the next 4 columns

Sheet 1 has the date that needs to be looked up and once the Employee name
is found then return the corresponding values in Column D,E,F
Sheet 1
C D E F

Employees Volume Hours VPH

ABC 100 10 3.3

Result Sheet

Formula being used

=VLOOKUP(C5,Sheet1!B$1:C$16,2,FALSE) to Match the name and get the value in
column D in Sheet 1

=VLOOKUP(D5,Sheet1!C$1:D$16,2,FALSE) to get the value of Column E in Sheet 1
for the above match.

Hope I explained this correctly.
--
Thanks

KP


--

Dave Peterson