質問

I'm looking for an array formula to list out x number y's, where is x an integer input that is dynamic.

For example, if the number 10 is inputted. I want an array of cells to show y,y,y,y,y,y,y,y,y,y

If 4 is inputted then an array of y,y,y,y

役に立ちましたか?

解決 2

With the desired array size in A1, place this formula in B1 and fill down:

=IF(ROW(B1)-ROW($B$1)<$A$1,"y","")

他のヒント

You could use the rept function

=rept("y,",A1)

Where A1 contains your input number

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top