Grouping not sorting correctly on numbers? Does anyone know why?
The grouping of numbers works fine until you get to number 11.
Background: I have attempted to sort by month and knowing there is no logic to sort by month (as dropdown list) I have instead opted to use numbers as a prefix to each month. Unfortunately this causes an issue when it gets to 11. My team is loving this grouping feature but we're let down by this numbering. I know there is probably a temporary hack to get this to be in order but I thought I would understand if this is a known bug first.
Answers
-
Have you tried putting a 0 before the one-digit months? So, it would be
01 - January, 02 - February, etc.
That may do the trick. I can see that it's sorting by the first digit first.
-
Yes, Heather is right
this formula is an example of sorting YY / MM correctly.
This will ensure Months like 10, 11, 12 do not appear ahead of lower months, like 2, 3 , 4 etc
You'll get the idea....
=IFERROR(YEAR([Issue Date]@row) + "/" + IF(MONTH([Issue Date]@row) < 10, "0" + MONTH([Issue Date]@row), MONTH([Issue Date]@row)), "")
Cheers
Paula
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!