用excel公式,解决:根据已知两列数据,生成1列纵列的序列号。谢谢哈 ...
用excel公式,解决:根据已知两列数据,生成1列纵列的序列号。(详情看截图和附件哈)http://127.0.0.1/data/attachment/forum/202202/08/181624s6jgnfg1h1cuurho.png
附件.zip =LOOKUP(,0/FREQUENCY(ROW(A1),SUBTOTAL(9,OFFSET($E$5,,,ROW($1:$4)))),$D$5:$D$8) =LOOKUP(ROW(A1)-1,SUBTOTAL(9,OFFSET(E$4,,,ROW($1:5))),D$5:D9) =INDEX(D:D,SMALL(IF(COLUMN(A:F)<=E$5:E$8,ROW($5:$8),99),ROW()-4))数组 =LOOKUP(ROW(A1)-1,MMULT(N(ROW($1:$9)>COLUMN(A:D)),$E$5:$E$8),$D$5:$D$8)&"" 不会函数可以试试这个,其实操作也不难
=INDEX($D$5:$D$8,MATCH(1=1,SUBTOTAL(9,OFFSET($E$5,,,ROW(INDIRECT("1:"&COUNT($D$5:$D$8)))))>=ROW(A1),)) =INDEX($D$5:$D$8,MATCH(ROW($A1)-1,SUMIF(OFFSET($E$4,,,ROW($E$1:$E$5)),"<>"),1))
页:
[1]