I have a fault lodging system where each fault has a ticket number. this is based on 2 factors Severity category(Service affected or Non Service Affected) and Priority level (Critical,Major,Minor, Planned , Unplanned).
The ticket is manually entered in this format "xxx ##/**".
XXX are 3 letter codes
## are numbers that start from 1 and increment by 1 to x value for every TT Type
** indicates the month .
there are 3 types of tickets
NOC - network operations Critical tickets eg NOC 01/05
NMT - network maintenance Ticket eg NMT 05/04
NSA - non service affecting ticket eg NSA 08/02
The different tickets can have the same numeric code eg NOC 01/05 , NMT 01/05 , NSA 01/05.
If the Service category is service affected then TT code should be NOC ##/**
if the service category is Non service affected and Priority level is Planned Maintenance then it is a NMT ticket
If Service category is Non service affected and Priority level is minor or unplanned then its a NSA ticket
the issue is when we sort it from A to Z or Z to A the its sorted according to the letter that the 1st number eg
NMT 11/05
nmt 12/05
nmt 19/05
nmt 100/05 - should be nmt 20/05 but since 1 comes before 2, it sorts all 100 and 1000 before All TT number that start with NMT 2##/**
nmt 199/05
nmt 20/05
How can i sort it alphabetically then Numerically in descending order
I also have to automate this and i understand the If statements i will need to use and also the Dlookup to check the previous TT code and number. however the how do u auto calculate the TT prefix and number code??
If inverting the code eg 01/05 NMT will solve the issue than i could use that as long as i am a know how to do the calculation.