Can Excel's INDEX function return array?

后端 未结 4 1480
死守一世寂寞
死守一世寂寞 2020-12-03 04:05

If the data in the range A1:A4 is as follows:

Apple
Banana
Orange
Strawberry

Then INDEX can be used to individual

4条回答
  •  醉酒成梦
    2020-12-03 04:31

    You can get this type of behavior without an array formula. In say D1

    =IFERROR(INDEX($A$1:$A$4,CHOOSE(ROWS($1:1),2,3)),"")
    

    and copy down. Note the 2,3 is buried inside the CHOOSE() function.

    You can replace the 2,3 with any set of indices.

提交回复
热议问题