Search code examples
google-sheetsarray-formulas

IsDate ArrayFormula


Have just noticed isDate does not work in arrayformula.

Case

Want to filter all values if dates:

enter image description here

Used the formula:

=FILTER(data,ISDATE(data))

Expected result:

8/28/2018

Got:

#N/A

Question

  1. Why? Other checks work in filter (isNumber, isText, isErr).
  2. Workarounds?

Solution

  • Now you can convert any formula to :

    =BYROW(A2:A12,LAMBDA(r,ISDATE(r)))