方法:首先在另一工作表(如sheet2)建立编号、名称、单价对应表;如图:然后在本表名称栏输入公式=if(countif(sheet2!$a:$a,$a2),vlookup($a2,sheet2!$a:$c,column(b1),),"") 右拉填充一列,再一起下拉填充。如图: