INTERSECT.RANGES

The INTERSECT.RANGES function returns a single value or an array of values contained at the intersection of the specified collections.

INTERSECT.RANGES(range, range…)

range: A collection of cells. range is a collection consisting of a single range of cells, which may contain any value.

range…: Optionally include one or more additional collections.

Notes

Examples

=INTERSECT.RANGES(INDIRECT(“B:C”),C) returns an array containing the values in column C because column C is the intersection, or overlapping area, of the first argument, the range returned by the INDIRECT function (columns B and C), and the second argument, column C. These values can be read using the INDEX function.

=INTERSECT.RANGES(B1:C6, C3, B2:C4) returns 7, if cell C3 contains 7, as C3 is the only cell referenced by all three arguments specified.

See also
INDEX
INDIRECT