Constrains an array result to a specified size. Learn more
The ARRAY_CONSTRAIN formula returns a subset of an input range, characterized by a specified number of rows and columns. In other words, it restricts or constrains the size of an input range by a specified number of rows and columns 1. It is generally used in combination with other functions that return an array result when fewer rows or columns are desired 2.
For example, if you have a 5x5 array of data but only want to display the first 3 rows and 2 columns, you could use ARRAYCONSTRAIN like this: =ARRAYCONSTRAIN(input_range, 3, 2).