求助公式
列出一组数字中的偶数=TRIM(MID(SUBSTITUTE(TEXTJOIN(" ",1,IF(ISEVEN($G$1:$H$8),$G$1:$H$8,""))," ",REPT(" ",99)),ROW(A1)*99-98,99)) 三键结束 数组公式:
=IFERROR(INDEX($G1:$H1,SMALL(IF(MOD($G1:$H1,2)=0,COLUMN($A:$B)),COLUMN(A1))),"")
往右往下拉
=REPT(G1,ABS(MOD(G1,2)-1))&REPT(H1,ABS(MOD(H1,2)-1))
没有新函数,简单连接一下 如果确定是一奇一偶
=IF(MOD(G1,2),H1,G1)
=OFFSET(G1,,MOD(G1,2)) =LOOKUP(1,0/MOD(G1:H1-1,2),G1:H1) =LOOKUP(0,0/ISEVEN(G1:H1),G1:H1)
页:
[1]