Bit of a difficult to explain one here, I have a table with product SKUs of different generations (or iterations) and I need to identify the most recent iteration that exists for each.
Timeline: Product X gets entered into the table, after a few months product X gets a revision and X(B) appears and is entered, sometimes iterations or revisions get skipped in this table. This is always done in an alphabetic ascending way - (B) is the first iteration, (C) follows, etc.
I need to identify what the immediate past iteration is for every one of these.
Example data set in column A and desired result in column B - can this be achieved or is it an impossible task?
Thank you in advance.
SKU; previous iteration (if applicable);
ABCD; ;
ABCD(B); ABCD;
ABCD(E); ABCD(B);
ABDX(B); ABDX;
ABDX(F); ABDX(B);
ABDX; ;
BCDF(P); BCDF(C);
BCDF(C); ;
BCDX; ;
BCDX(B);BCDX;
BCDX(G);BCDX(B);