문제

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