Forum Discussion

PatDools's avatar
PatDools
Brass Contributor
Aug 18, 2022
Solved

Sort by chronological date for 'mm/yyyy' format?

Hello, I have a calculated field that extracts month and year from a date field using the TEXT function: TEXT(A2, "mm/yyyy")   Example:  01/2022   The problem I've having is that my dataset spans...
  • HansVogelaar's avatar
    Aug 18, 2022

    PatDools 

    You could use

     

    TEXT(A2, "yyyy/mm")

     

    or

     

    A2-DAY(A2)+1

     

    and set the number format to mm/yyyy

Resources