跨表,查找相同的数据,的其他列的值
=index(sheet2!$c$2:$c$5000,match(sheet1!$b$2,sheet2!$d$2:$d$5000,0))
备注:=index(读哪里的数据(大范围), match(匹配哪个值, 查询哪里的数据(大范围))) 譬如:sheet1的列A是userId,列B是userCode,sheet2的列C是userId,希望在sheet2中关联列C和sheet1的列A,获取匹配行对应的sheet1的列B值。即为:=INDEX(Sheet1!B:B,MATCH(A1,Sheet1!A:A))
查看有没有中文
=IF(C2="","",IF(SUMPRODUCT((CODE(MID(C2,ROW(INDIRECT("1:"&LEN(C2))),1))>=65)*(CODE(MID(C2,ROW(INDIRECT("1:"&LEN(C2))),1))<=122))>=1,0,1))