I use this :
={0,0,0,0;0,0,0,0;0,0,0,0}
and it fill the range (4 columns and 3 rows) like this :
Is there any formula so i can fill it automatically?
For example start at cell A1 and fill 100 rows and 100 column with value 0 ?
Yes:
=SEQUENCE(100,100,0,0)
This reads "Fill 100 rows and 100 columns with a sequence that starts at zero and increments by zero."
=MAKEARRAY(15, 6, LAMBDA(x, y, 0))
0r =MAKEARRAY(15, 6, LAMBDA(x, y, 2.16))
or =MAKEARRAY(15, 6, LAMBDA(x, y, "cat"))
etc.
Commented
Feb 28, 2023 at 15:21