Match values from two tables in excel
问题 One table has policy numbers and the agent who wrote each policy. An agent's name multiple times. Another table has just the policy numbers and I want to add the agents' names next to the numbers. VLOOKUP doesn't work because the firs table shows the agents' names multiple times. Any ideas how to do this? 回答1: If the numbers are unique and only the Agents are duplicates, you can use Index/Match or Vlookup. With Index / Match: =IFERROR(INDEX(Policy!$B$2:$B$15,MATCH(A2,Policy!$A$2:$A$15,0)),"")