I figured out my issue above, I had not set up a shared variable. But now I'm having issues with the formula I mentioned above:
ie if {@RCode} in ["P9", "P7", "P3", "P20", "P2", "P18", "P17", "P16", "P14", "B9", "B8", "B7", "B23", "B22", "B20", "B16", "B15", "B14", "B13", "B12", "B11", "B10"...