有两个表
表1
team member income
blue 650
Kate 500
Niki 150
green 1100
Kate 560
Alison 600
表2
team member income
blue 'vlookup what formula should I put here ?
Mike 'vlookup what formula should I put here ?
Kate 'vlookup what formula should I put here ?
Pete 'vlookup what formula should I put here ?
Niki 'vlookup what formula should I put here ?
red
Stew
Mark ............
Alex
green
Kate
Alison
我需要从table1获得vlookup
收入并放入table2。问题是团队可能会有相同名称的人。记录由团队和人员姓名唯一标识。我怎么能这样做?
答案 0 :(得分:1)
为方便起见,您可以创建"帮助"列(如果需要,您可以从视图中隐藏):
公式:
C3:=IF(A3<>"",A3,C2)
D3:=IF(B3<>"",B3,A3)
E3:=C3&D3
类似于列J,K和L. M3中的公式:=VLOOKUP($L3,$E$3:$F$14,2,FALSE)
- 常规VLOOKUP
。
答案 1 :(得分:1)
根据显示的布局,您可以尝试从G2
填写此公式:
=SUMPRODUCT((LOOKUP(ROW(A$2:A$7),ROW(A$2:A$7)/(A$2:A$7<>""),A$2:A$7)=LOOKUP("α",E$2:E2))*(B$2:B$7=F2)*C$2:C$7)