Hi folks. Here is my scenario I'm trying to sort with using only formulas (older external program will not read .xlsm or .xlsx). I'll spare you the details of my own hackneyed attempt but let's just say I felt I was getting close with INDEX, MATCH, FIND and VLOOKUP but hit a wall.
Columns A and B: categories in order I need the data sorted by (non-alphabetic)
This list will be the only one customizable by the end user, typically 50+ entries per project and list would change/lengthen/shorten frequently from project to project:
DO = 001
RAY = 002
MI = 003
FA = 004
SO = 005
LA = 006
TI = 007
Column C: Non-sorted data imported from FileNameList
RAY01
RAY05
RAY03
DO01
FA02
TI05
Column D: a helper column of some kind I imagine, for example the first three digits are by finding the text in Column A and inserting corresponding number in column B, after decimal is the "rank" within each category:
002.1
002.3
002.2
001.1
004.1
007.1
Column E, output data sorted according to Column D
DO01
RAY01
RAY03
RAY05
FA02
TI05
Hopefully this makes sense. Maybe I need another helper column? Maybe I'm approaching it totally wrong? The variables being different lengths, skips in the ranking, duplicate rankings, my brute force methods are not cutting it. Any insight would be great!
Thanks in advance.
W. Johnson
Columns A and B: categories in order I need the data sorted by (non-alphabetic)
This list will be the only one customizable by the end user, typically 50+ entries per project and list would change/lengthen/shorten frequently from project to project:
DO = 001
RAY = 002
MI = 003
FA = 004
SO = 005
LA = 006
TI = 007
Column C: Non-sorted data imported from FileNameList
RAY01
RAY05
RAY03
DO01
FA02
TI05
Column D: a helper column of some kind I imagine, for example the first three digits are by finding the text in Column A and inserting corresponding number in column B, after decimal is the "rank" within each category:
002.1
002.3
002.2
001.1
004.1
007.1
Column E, output data sorted according to Column D
DO01
RAY01
RAY03
RAY05
FA02
TI05
Hopefully this makes sense. Maybe I need another helper column? Maybe I'm approaching it totally wrong? The variables being different lengths, skips in the ranking, duplicate rankings, my brute force methods are not cutting it. Any insight would be great!
Thanks in advance.
W. Johnson