You are reading a single comment by @aggi and its replies. Click here to read the full conversation.
  • It's not a bug. To put it another way,

    MONTH(2) is exactly equivalent to MONTH(DATEVALUE("2 Jan 1900")) = 1
    MONTH(45352) is exactly equivalent to MONTH(DATEVALUE("1 Mar 2024")) = 3

    January keeps popping up (as per @Chalfie 's link) because small numbers ( 0 < x < 32) passed to MONTH(x) all represent dates in Jan 1900.

  • thought the cut off formula was

    =MONTH(TODAY()-1)

    This is how I was using it (in part of a longer Concat with Year) and once applying Chalfie's fix it worked.

About

Avatar for aggi @aggi started