Formulas and Functions Help
- Welcome
-
- ACCRINT
- ACCRINTM
- BONDDURATION
- BONDMDURATION
- COUPDAYBS
- COUPDAYS
- COUPDAYSNC
- COUPNUM
- CUMIPMT
- CUMPRINC
- CURRENCY
- CURRENCYCODE
- CURRENCYCONVERT
- CURRENCYH
- DB
- DDB
- DISC
- EFFECT
- FV
- INTRATE
- IPMT
- IRR
- ISPMT
- MIRR
- NOMINAL
- NPER
- NPV
- PMT
- PPMT
- PRICE
- PRICEDISC
- PRICEMAT
- PV
- RATE
- RECEIVED
- SLN
- STOCK
- STOCKH
- SYD
- VDB
- XIRR
- XNPV
- YIELD
- YIELDDISC
- YIELDMAT
-
- AVEDEV
- AVERAGE
- AVERAGEA
- AVERAGEIF
- AVERAGEIFS
- BETADIST
- BETAINV
- BINOMDIST
- CHIDIST
- CHIINV
- CHITEST
- CONFIDENCE
- CORREL
- COUNT
- COUNTA
- COUNTBLANK
- COUNTIF
- COUNTIFS
- COVAR
- CRITBINOM
- DEVSQ
- EXPONDIST
- FDIST
- FINV
- FORECAST
- FREQUENCY
- GAMMADIST
- GAMMAINV
- GAMMALN
- GEOMEAN
- HARMEAN
- INTERCEPT
- LARGE
- LINEST
- LOGINV
- LOGNORMDIST
- MAX
- MAXA
- MAXIFS
- MEDIAN
- MIN
- MINA
- MINIFS
- MODE
- NEGBINOMDIST
- NORMDIST
- NORMINV
- NORMSDIST
- NORMSINV
- PERCENTILE
- PERCENTRANK
- PERMUT
- POISSON
- PROB
- QUARTILE
- RANK
- SLOPE
- SMALL
- STANDARDIZE
- STDEV
- STDEVA
- STDEVP
- STDEVPA
- TDIST
- TINV
- TTEST
- VAR
- VARA
- VARP
- VARPA
- WEIBULL
- ZTEST
- Copyright
![](https://help.apple.com/assets/6467B9B3CF36103D3A318861/6467B9B8CF36103D3A318879/en_US/784be3dfed809d4b6bb7cc427d8c5f01.png)
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
The collections can be of any size and only one collection is required. If only one collection is specified, the collection returned will be the same as the specified collection.
Collections on different tables do not intersect, even if the range of cells on each table is the same. For example:
=INTERSECT.RANGES(Table 1::B, Table 2::B) returns an error.
If any of the input ranges is invalid, the function returns a reference error.
If the intersection is empty the function returns a reference error. For example:
=INTERSECT.RANGES(B,C), returns an error because B and C do not intersect.
This function is provided primarily for compatibility with other spreadsheet apps. It is also useful when working with referenced ranges where the exact location of individual cells may not be known.
In other spreadsheet apps, including Numbers ’08 for Mac and Numbers ’09 for Mac, a space is used as the intersect operator.
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. |