View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
runsrealfast runsrealfast is offline
external usenet poster
 
Posts: 14
Default Vlookup that checks against two values

I have a sheet that contains a column of Product numbers, a comlumn of
customer numbers, and a column for orders. In another sheet I have the
a similar format with the same columns. I need to check I need to move
the values of the order to the second sheet but I must check against
both the product number and the customer number. excel does not allow
you to do the following (gives the #NAME? error).

VLOOKUP(A1 AND B1, ANOTHERSHEETA1:C1,3,false)

What is the best way to do this?

John