View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jim
 
Posts: n/a
Default Lookup mulitple values and return one

I have two cells that have values that correspond to information in a sperate
table. I want to be able to lookup data in the table based on the two cells
that contain information. Where do I start?

For instance, here is a simplified example.
Cell A1 = Jim
Cell A2 = Lunch

Cell M1 = Jim
Cell M2 = Mary
Cell M3 = Mike
Cell M4 = Breakfast
Cell M5 = Lunch
Cell M6 = Dinner

Cell N4 = 8:00
Cell N5 = 12:00
Cell N6 = 5:00

I want to be able to lookup the value for Jim and Lunch in the table that is
in column M:N and return the value that matches Jim and Lunch which is 12:00.
If it were Mike and Breakfast it would be 8:00.

Again this is a simplified example.

--
Jim