回答0013 【Office 2021】Excelの「スピル」に対応した関数群を
従来関数で実現するための関数式の組み合わせの例
=IFERROR(INDEX(A:A,ROUND(1/LARGE((OFFSET($C$1,1,,COUNT($C:$C),1)>60)/ROW(OFFSET($C$1,1,,COUNT($C:$C),1)),ROW()-1),0)),"") |
=IFERROR( INDEX( A:A, ROUND( 1 / LARGE( (OFFSET($C$1,1,,COUNT($C:$C),1)>60) / ROW(OFFSET($C$1,1,,COUNT($C:$C),1)), ROW()-1 ), 0) ), "") |
=INDEX(A:A,MATCH(LARGE(OFFSET($C$1,1,,COUNT($C:$C),1),ROW()-1),OFFSET($C$1,1,,COUNT($C:$C),1),0)+1) |
=INDEX( A:A, MATCH( LARGE( OFFSET($C$1,1,,COUNT($C:$C),1), ROW()-1 ), OFFSET($C$1,1,,COUNT($C:$C),1), 0 ) +1 ) |
=INDEX(A:A,MATCH(SMALL(COUNTIF(OFFSET($B$1,1,,COUNT($C:$C),1),"<="&OFFSET($B$1,1,,COUNT($C:$C),1))*10^5+(1000-OFFSET($C$1,1,,COUNT($C:$C),1)),ROW()-1),COUNTIF(OFFSET($B$1,1,,COUNT($C:$C),1),"<="&OFFSET($B$1,1,,COUNT($C:$C),1))*10^5+(1000-OFFSET($C$1,1,,COUNT($C:$C),1)),0)+1) |
=INDEX( A:A, MATCH( SMALL( COUNTIF( OFFSET($B$1,1,,COUNT($C:$C),1), "<=" &OFFSET($B$1,1,,COUNT($C:$C),1) ) *10^5 +(1000-OFFSET($C$1,1,,COUNT($C:$C),1)), ROW()-1 ), COUNTIF( OFFSET($B$1,1,,COUNT($C:$C),1), "<=" &OFFSET($B$1,1,,COUNT($C:$C),1) ) *10^5 +(1000-OFFSET($C$1,1,,COUNT($C:$C),1)), 0 ) +1 ) |
=IFERROR(INDEX(OFFSET($B$1,1,,COUNTA($B:$B)-1,1),ROUND(1/LARGE((MATCH(OFFSET($B$1,1,,COUNTA($B:$B)-1,1),OFFSET($B$1,1,,COUNTA($B:$B)-1,1),0)=(ROW(OFFSET($B$1,1,,COUNTA($B:$B)-1,1))-1))/ROW(OFFSET($B$1,1,,COUNTA($B:$B)-1,1)),ROW()-1)-1,0)),"") |
=IFERROR( INDEX( OFFSET($B$1,1,,COUNTA($B:$B)-1,1), ROUND( 1 / LARGE( ( MATCH( OFFSET($B$1,1,,COUNTA($B:$B)-1,1), OFFSET($B$1,1,,COUNTA($B:$B)-1,1), 0 ) = ROW(OFFSET($B$1,,,COUNTA($B:$B)-1,1)) ) / ROW(OFFSET($B$1,,,COUNTA($B:$B)-1,1)), ROW()-1 ), 0 ) ), "" ) |
=IF(AND(ROW()=1,COLUMN()=1),1,$A$1+(ROW()-1)*30+(COLUMN()-1)*3) |
=IF( AND(ROW()=1,COLUMN()=12), 1, $L$1+(ROW()-1)*30+(COLUMN()-12)*3 ) |