I have attached table1 which consist of 3 input columns (Part No, Yield and Defects) and 1 output column (Bin). I have also attached another priority_table stating the hierarchy of the defects with cracks as the most important.
How do I generate the output column Bin, using JMP scripting where if a Part No has a few defects, put the most important defect in the Bin column for all the rows concerning that Part No.? Also if the yield is less than 60% and the defect is not on the priority_table than bin into "less than 60%"?
Below are defects among other words. The Defects column is keyed in by operators.
