Thanks in advance for your solutions to my problem.
I have a long list of codes which looks like this :
[TABLE="class: grid, width: 100, align: left"]
<tbody>[TR]
[TD]E001[/TD]
[/TR]
[TR]
[TD]E002[/TD]
[/TR]
[TR]
[TD]E003[/TD]
[/TR]
[TR]
[TD]Q001[/TD]
[/TR]
[TR]
[TD]RW01[/TD]
[/TR]
[TR]
[TD]RW02[/TD]
[/TR]
[TR]
[TD]E004[/TD]
[/TR]
[TR]
[TD]RW03[/TD]
[/TR]
[TR]
[TD]Q002[/TD]
[/TR]
[TR]
[TD]RW04[/TD]
[/TR]
</tbody>[/TABLE]
Where each code is the same length (4 digits).
Where each code is unique.
Where each code class starts by one letter (see E, Q codes) or 2 letters (see RW code) and finishes by numbers.
Where each code only includes letters (A to Z) and numbers (0 to 9).
Where the number at the end of each code class will be in numerical order in the list (small to big) compared to the previous one, as in list above.
List of code is in the same column.
List of codes can be 50,000 codes long max (A:1 to A:50000).
No gaps in the list.
Considering the above I need a formula (no VB, no PT) to find the biggest code class, above would be : RW04, Q002, E004.
Thanks
I have a long list of codes which looks like this :
[TABLE="class: grid, width: 100, align: left"]
<tbody>[TR]
[TD]E001[/TD]
[/TR]
[TR]
[TD]E002[/TD]
[/TR]
[TR]
[TD]E003[/TD]
[/TR]
[TR]
[TD]Q001[/TD]
[/TR]
[TR]
[TD]RW01[/TD]
[/TR]
[TR]
[TD]RW02[/TD]
[/TR]
[TR]
[TD]E004[/TD]
[/TR]
[TR]
[TD]RW03[/TD]
[/TR]
[TR]
[TD]Q002[/TD]
[/TR]
[TR]
[TD]RW04[/TD]
[/TR]
</tbody>[/TABLE]
Where each code is the same length (4 digits).
Where each code is unique.
Where each code class starts by one letter (see E, Q codes) or 2 letters (see RW code) and finishes by numbers.
Where each code only includes letters (A to Z) and numbers (0 to 9).
Where the number at the end of each code class will be in numerical order in the list (small to big) compared to the previous one, as in list above.
List of code is in the same column.
List of codes can be 50,000 codes long max (A:1 to A:50000).
No gaps in the list.
Considering the above I need a formula (no VB, no PT) to find the biggest code class, above would be : RW04, Q002, E004.
Thanks