1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

'Grouping' when some entries have suffix

I am trying to sort student ID's into classes based on dates as a naming convention. The convention is 'last two of year', 'day', 'month', 'serial number', 'evening class?'

So for instance I would have these students in a class:

26010101 (Student 1 in class starting 1/1/2026)

26010102 (Student 2 in class starting 1/1/2026)

26010101N (Student 1 in NIGHT class starting 1/1/2026)

26010102N (Student 2 in NIGHT class starting 1/1/2026)

(Okay, it isn't the best naming convention, but I started this in 2009, so it's too late to change now.)

I need to sort them into classes, so I need them to read: 26010101, 26010102, 26010103, 26010101N, 26010102N, etc. No matter how I try to extract and sort, I keep getting 26010101, 26010101N, 26010102, 26010102N.

I'm sure there is a way to do it, I'm just not finding it. TIA

submitted by /u/AccurateDrive2464
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article

Tagged with

#Excel alternatives for data analysis
#rows.com
#natural language processing for spreadsheets
#generative AI for data analysis
#Excel compatibility
#cloud-based spreadsheet applications
#Excel alternatives
#student ID
#classes
#grouping
#sorting
#naming convention
#serial number
#student
#dates
#last two of year
#class starting
#suffix
#extraction
#evening class