=SINGLE(array)
=SINGLE(A1:A5)
This formula extracts a single value from the range A1:A5. If the formula is entered in a cell within rows 1 to 5, it returns the value of the corresponding cell in column A. If the formula is entered outside of rows 1 to 5, it returns a #VALUE! error.
=SINGLE(B2)
This formula returns the value of cell B2, as the range contains only one cell. The SINGLE function is used here to extract the value of a single cell, which can be useful when working with dynamic arrays.
The SINGLE function returns the value of a single cell in a range, and is primarily used with dynamic arrays to extract a single value from an array result.