ISBETWEEN
true when a number lies within a range · from google sheets · no excel equivalent · sheets: not yet compared
signature
ISBETWEEN(value, low, high, [low_inclusive], [high_inclusive])
returns: boolean
| argument | required |
|---|---|
| value | required |
| low | required |
| high | required |
| low_inclusive | optional · defaults to 1 |
| high_inclusive | optional · defaults to 1 |
examples
formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.
fx
=ISBETWEEN(5, 1, 10) true errors
error values observed from the engine — each with a call that produces it.
| error | produced by |
|---|---|
| #VALUE! | =ISBETWEEN("alpha", 2, 2) |