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

argumentrequired
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.

errorproduced by
#VALUE! =ISBETWEEN("alpha", 2, 2)

related

  • AND returns TRUE if all arguments are true
  • EQ true when two values are equal
  • FALSE returns the logical value FALSE
  • GT true when the first number is greater
  • GTE true when the first number is greater or equal
  • IF returns one value if condition is true, another if false