Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

sorting a date table chronologically

I created a date table to do time intelligence calculations on my models. My excel models all work off a monthly valuation date, the last working day of the month. When I insert month/year from my da...
  • alena2k's avatar
    alena2k
    8 years ago

    Is that what you want to see as result? If yes, simply add to your Date Dim couple column:Month & Year = FORMAT([Date], "MMM" & " " & "YYYY") and Sort = FORMAT([Date], "YYYYMM") ; define "Sort by Column" accordingly it will give you correct sequence.  

  • Anonymous's avatar
    Anonymous
    8 years ago

    You are a genius! Thanks so much, that worked exactly the way I wanted it.