View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dot dot is offline
external usenet poster
 
Posts: 29
Default match 1 column bringing in a value from another column

I tried using vlookup to lookup information in 1 column then go to another
worksheet and bring in the information for another column. Below is the
formula I'm using but I either get #N/A or the wrong information. What I
have is a list of outstanding payments I'm trying to match the customer
number from one sheet and on the custkey sheet I have the customers account
number in column A and the person assigned to clear the payment in column 2.
What am I doing wrong? Should I be using a different function key?

=VLOOKUP(D2,custkey!$A$2:$B$1267,2)

Dot