You are reading a single comment by @rhb and its replies. Click here to read the full conversation.
  • You're missing what a date value really is: a count of days elapsed since 31 Dec 1899. And using MONTH was causing your problem.

    Right now TODAY() = 45352 (as you'll see if you format as number)

    MONTH(TODAY())-1 is equivalent to (current month) -1
    MONTH(TODAY()-1) is equivalent to yesterday's month

    They'll only give the same result on the first of a month Feb-Dec.

  • They'll only give the same result on the first of a month Feb-Dec.

    Today being 1st March, that makes sense. Ta.

About

Avatar for rhb @rhb started