求助,如何使用公式取得层级关系的上一级
如标题,层级有数字代码,能分辨层级关系,问题是想取得上级的编码值,想不出来什么公式或逻辑关系可以取得的,求助有爱心及精力的网友帮助。C6=IFERROR(VLOOKUP(LEFT(A6,FIND("$",SUBSTITUTE(A6,".","$",LEN(A6)-LEN(SUBSTITUTE(A6,".",""))))-1),$A5:C$6,2,),"120CDA1190000Y-Ⅲ") C6 输入公式 下拉=VLOOKUP(IFERROR(IF(LEN(LEFT(A6,FIND("@",SUBSTITUTE(A6,".","@",LEN(A6)-LEN(SUBSTITUTE(A6,".",""))))-1))=1,0,LEFT(A6,FIND("@",SUBSTITUTE(A6,".","@",LEN(A6)-LEN(SUBSTITUTE(A6,".",""))))-1))&"","0"),$A$5:$B$157,2,0) 太感谢,效果非常的好 C6
=INDEX(B:B,IFERROR(MATCH(LEFT(A6,LOOKUP(9^9,FIND(".",A6,ROW($1:$99)))-1),TRIM($A$1:$A$157),),6))
下拉
页:
[1]