=IF($G$1="1月",VLOOKUP(B4,数据库!$A$3:$N$48,5,0),IF($G$1="2月",VLOOKUP(B4,数据库!$A$49:$N$94,5,0),IF($G$1="3月",VLOOKUP(B4,数据库!$A$97:$N$142,5,0),IF($G$1="4月",VLOOKUP(B4,数据库!$A$144:$N$189,5,0),IF($G$1="5月",VLOOKUP(B4,数据库!$A$191:$N$236,5,0),IF($G$1="6月",VLOOKUP(B4,数据库!$A$238:$N$283,5,0),IF($G$1="7月",VLOOKUP(B4,数据库!$A$285:$N$330,5,0),IF($G$1="8月",VLOOKUP(B4,数据库!$A$285:$N$330,5,0),IF($G$1="9月",VLOOKUP(B4,数据库!$A$285:$N$330,5,0),IF($G$1="10月",VLOOKUP(B4,数据库!$A$285:$N$330,5,0),IF($G$1="11月",VLOOKUP(B4,数据库!$A$285:$N$330,5,0),IF($G$1="12月",VLOOKUP(B4,数据库!$A$285:$N$330,5,0))))))))
备注说明:数据库中一月查找范围:A3-N48(相差45行),2月A49-N94以此类推至12月(3-12的查找范围不准确),B4为名称5:为A-N第5列数值
|