View Single Post
  #3   Report Post  
Jay07 Jay07 is offline
Member
 
Location: Birmingham
Posts: 35
Default

Quote:
Originally Posted by sourcing View Post
I have 2 different worksheets, I need to compare Column D of worksheet 1 to the range of column A of worksheet 2. If the value in Column D worksheet 1 will match the value in the range of column A worksheet 2 I need to get the value in Column O of worksheet 2.

e.g.
Compare value of worksheet 1 column D row 2 to worksheet 2 column A rows 2 - 1000. If worksheet 1 D2 appears anywhere in worksheet 2 A1 to A1000 I want to return the text/value in worksheet 2 column O.

If worksheet 1 D2 = worksheet 2 A347 I want to return the text/value in worksheet 2 O347. The repeat this from D2 to D500
If you move Column O to Column B in worksheet 2 then you could use a VLOOKUP to do this...

=VLOOKUP('Worksheet1'!D2,'Worksheet2'!$A$1:$B$1000 ,2,FALSE)