I dont think you have shown any idea how spreadsheet could recognize the event: "ticket range exhausted" neither how shall be new first part and new second part starting number retrieved.
So as there is not enough data for "fully automatic" approach, then may be "semiautomatic" approach, will do.
The A2:B2 values are just reminders for the person using the sheet
And you can use for instance such formula in B6
Formula:
=if(A6<>"",LEFT(B5,FIND("-",B5)-1)&SUBSTITUTE(B5,LEFT(B5,FIND("-",B5)-1),"")-1,"")
and copy it down
Once the range is exhausted write new ticket number manually (remember to have the formula copied down before) - for instance in your B9 write 2567-756 and B10 etc will follow this new pattern
Bookmarks