1、vlookup函數(shù)
=VLOOKUP(F2&G2,IF({1,0},A2:A12&C2:C12,D2:D12),2,0)
后按ctrl+shift+enter三鍵
函數(shù)的語法結(jié)構(gòu)為:
=vlookup(查找值,查找區(qū)域,返回查找區(qū)域的第幾列,精確查找)
2、lookup函數(shù)
=LOOKUP(1,0/((A2:A12=F2)*(C2:C12=G2)),D2:D12)
函數(shù)的語法結(jié)構(gòu)為:
=Lookup(1,0/((條件1)*(條件2)*(條件n)),目標(biāo)區(qū)域)
3、index函數(shù)
=INDEX(D:D,MATCH(F2&G2,A:A&C:C,0))后按ctrl+shift+enter三鍵
函數(shù)的語法結(jié)構(gòu)為:
=index(數(shù)據(jù)區(qū)域,行號(hào),列號(hào))
4、sumifs函數(shù)
=SUMIFS(D2:D12,A2:A12,F2,C2:C12,G2)
函數(shù)的語法結(jié)構(gòu)為:
=sumifs (求和區(qū)域,區(qū)域1,條件1,區(qū)域2,條件2,......)
5、sumproduct函數(shù)
=SUMPRODUCT((A2:A12=F2)*(C2:C12=G2),D2:D12)
函數(shù)的語法結(jié)構(gòu)為:
=SUMPRODUCT((區(qū)域1=條件1)*(區(qū)域2=條件2)*(區(qū)域N=條件N),結(jié)果列)
聯(lián)系客服