Hi,
I am trying to find a formula(s) that help inform whether an alphanumeric code in a specific cell matches criteria for it to a be ‘Pass’ or ‘No Pass’ with other cells of the same column.
The 1st column would hold the alphanumeric code and the second column would hold the formula which would tell whether the code is a ‘Pass’ or ‘No Pass’.
An example of the codes used:
A1000
B1000
A2000
X2000
B300
Y300
A4000
Z4000
X4000
A800
B9000
X500
Z500
Explanation of how codes interact:
A and B codes can be standalone codes only (e.g. A800 or B9000) = Pass
X, Y and Z codes need to have a matching A or B code (e.g. A2000 and X2000 or B300 and Y300) = Pass
A and B codes can never match (e.g A1000 and B1000) = No Pass
X, Y and Z codes can never match (e.g X500 and Z500) = No Pass
Only one pair of A and B codes can ever match with X, Y and Z codes (A2000 and X2000 or B300 or Y300) = Pass
There cannot be more than one pair of either X, Y or Z codes that match with either an A or B code (e.g. X4000 and Y4000 and A4000) = No pass
The minimum number of digits for numbers used in a code would be 3 while the maximum would be 4.
I hope this makes sense and hope someone can help me out.
Thanks.
Bookmarks